1 2014-04-01 Alan Modra <amodra@gmail.com>
4 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11 set errno as appropriate.
12 * math/w_scalbf.c (__scalbf): Likewise.
13 * math/w_scalbl.c (__scalbl): Likewise.
14 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20 * math/w_atan2.c: Include <errno.h>.
21 (__atan2): Set errno for result underflowing to zero.
22 * math/w_atan2f.c: Include <errno.h>.
23 (__atan2f): Set errno for result underflowing to zero.
24 * math/w_atan2l.c: Include <errno.h>.
25 (__atan2l): Set errno for result underflowing to zero.
26 * math/auto-libm-test-in: Don't allow missing errno for some atan2
28 * math/auto-libm-test-out: Regenerated.
30 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33 Encode instruction correctly in little endian.
34 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43 2014-03-31 Joseph Myers <joseph@codesourcery.com>
46 * sysdeps/unix/sysv/linux/kernel-features.h
47 [__sparc__ && !__arch64__ && !__sparc_v9__]
48 (__ASSUME_SET_ROBUST_LIST): Do not define.
49 [__sparc__ && !__arch64__ && !__sparc_v9__]
50 (__ASSUME_FUTEX_LOCK_PI): Likewise.
51 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53 * sysdeps/unix/sysv/linux/arm/kernel-features.h
54 (__ASSUME_FUTEX_LOCK_PI): Undefine.
55 (__ASSUME_REQUEUE_PI): Likewise.
56 (__ASSUME_SET_ROBUST_LIST): Likewise.
57 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
58 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
60 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
61 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
63 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
65 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
67 * sysdeps/unix/sysv/linux/mips/kernel-features.h
68 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
70 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
71 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
75 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
76 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
77 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
79 2014-03-31 Will Newton <will.newton@linaro.org>
81 * benchtests/Makefile (bench): Add ffs and ffsll to list
83 * benchtests/ffs-inputs: New file.
84 * benchtests/ffsll-inputs: Likewise.
86 2014-03-29 Joseph Myers <joseph@codesourcery.com>
89 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
90 too large before casting to int.
91 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
92 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
93 * math/libm-test.inc (scalb_test_data): Add more tests.
95 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
97 * benchtests/Makefile (DETAILED_OPT): New make option.
98 (bench-func): Run benchmark program with -d if DETAILED_OPT is
100 * benchtests/bench-skeleton.c: Include stdbool.h.
101 (main): Store and print timings per input.
102 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
103 member to each argument value.
104 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
105 (_print_arg_data): Initialize per-input timing to 0.
107 * benchtests/Makefile (timing-type): New binary.
108 (bench-clean): Also remove bench-timing-type.
109 (bench): New target for timing-type.
110 (bench-func): Print output in JSON format.
111 * benchtests/bench-skeleton.c (main): Print output in JSON
113 * benchtests/bench-timing-type.c: New file.
114 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
115 (TIMING_PRINT_STATS): Remove.
116 * benchtests/scripts/bench.py (_print_arg_data): Store variant
119 * benchtests/bench-modf.c: Remove.
120 * benchtests/modf-inputs: New inputs file.
122 2014-03-28 Joseph Myers <joseph@codesourcery.com>
125 * math/s_clog10.c (M_PI_LOG10E): New macro.
126 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
127 imaginary parts are 0.
128 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
129 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
130 imaginary parts are 0.
131 * math/s_clog10l.c (M_PI_LOG10El): New macro.
132 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
133 imaginary parts are 0.
134 * math/libm-test.inc (clog10_test_data): Update expected results
135 for when real and imaginary parts are 0.
137 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
139 * elf/dl-load.c: Finish conversion of __builtin_expect into
142 2014-03-27 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
146 1+x for argument with exponent below -67.
147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
149 * math/auto-libm-test-in: Add more tests of exp.
150 * math/auto-libm-test-out: Regenerated.
152 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
155 * inet/getnetgrent_r.c (get_nonempty_val): New function.
156 (nscd_getnetgrent): Use it.
159 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
162 2014-03-27 Andi Kleen <ak@linux.intel.com>
164 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
165 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
166 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
167 Remove out of line section. Use cfi intrinsics.
168 (LLL_STUB_UNWIND_INFO*): Remove.
169 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
170 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
171 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
172 Remove out of line section. Use cfi intrinsics.
173 (LLL_STUB_UNWIND_INFO*): Remove.
175 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
178 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
181 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
183 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
185 2014-03-26 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
190 * math/test-fenv-preserve.c: New file.
191 * math/Makefile (tests): Add test-fenv-preserve.
193 2014-03-26 Will Newton <will.newton@linaro.org>
195 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
197 2014-03-25 Roland McGrath <roland@hack.frob.com>
199 * scripts/versionlist.awk: Partition the version sets and emit all
200 GLIBC_* (sorted) before all others (sorted).
202 2014-03-25 Joseph Myers <joseph@codesourcery.com>
204 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
207 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
212 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
217 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
221 2014-03-25 Andreas Schwab <schwab@suse.de>
223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
224 label to be used after in6ailist is initialized.
226 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
228 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
229 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
231 2014-03-25 Joseph Myers <joseph@codesourcery.com>
235 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
237 (fp_formats): Update initializers.
238 (init_fp_formats): Initialize new field.
239 (output_for_one_input_case): Allow underflow for results up to
241 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
242 * math/auto-libm-test-in: Don't mark some underflows from asin and
244 * math/auto-libm-test-out: Regenerated.
245 * sysdeps/i386/fpu/libm-test-ulps: Update.
246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248 2014-03-25 Andreas Schwab <schwab@suse.de>
250 * libio/Makefile (tst-ftell-partial-wide-ENV)
251 (tst-ftell-active-handler-ENV): Define.
253 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
255 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
257 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
259 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
261 2014-03-24 Joseph Myers <joseph@codesourcery.com>
263 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
264 * sysdeps/x86_64/fpu/multiarch/e_exp.c
265 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
267 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
270 * elf/dl-load.c (open_verify): Add mode parameter.
271 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
272 (open_path): Change from boolean 'secure' to complete flag 'mode'
273 (_dl_map_object): Adjust.
274 * elf/Makefile (tests): Add tst-dlopen-aout.
275 * elf/tst-dlopen-aout.c: New test.
277 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
280 * sysdeps/unix/sysv/linux/s390/bits/stat.h
281 (struct stat): Rename member pad0 to __glibc_reserved0.
283 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
286 * sysdeps/s390/s390-32/bits/wordsize.h
287 (__WORDSIZE32_SIZE_ULONG): New define.
288 * sysdeps/s390/s390-64/bits/wordsize.h
289 (__WORDSIZE32_SIZE_ULONG): Likewise.
290 * sysdeps/generic/stdint.h (SIZE_MAX):
291 Define as UL if __WORDSIZE32_SIZE_ULONG.
293 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
296 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
297 (__glibc_reserved0): New variable.
298 (sa_flags): Change type to int.
300 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
302 * posix/Makefile (before-compile): Use += before-compile instead
305 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
307 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
308 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
310 2014-03-20 Andreas Schwab <schwab@suse.de>
313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
314 non-matching result from nscd.
316 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
318 * scripts/bench.py: Moved to ...
319 * benchtests/scripts/bench.py: ... here.
320 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
322 2014-03-24 Andreas Schwab <schwab@suse.de>
325 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
326 alloca_account and account alloca use for struct in6ailist.
328 2014-03-24 Joseph Myers <joseph@codesourcery.com>
331 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
332 rounding mode to recompute results that overflow to infinity or
334 * math/auto-libm-test-in: Don't mark tests as expected to fail for
336 * math/auto-libm-test-out: Regenerated.
337 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
338 (ccosh_test): Likewise.
339 (csin_test_data): Use plus_oflow.
340 (csin_test): Use ALL_RM_TEST.
341 (csinh_test_data): Use plus_oflow.
342 (csinh_test): Use ALL_RM_TEST.
343 * sysdeps/i386/fpu/libm-test-ulps: Update.
344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346 2014-03-21 Joseph Myers <joseph@codesourcery.com>
348 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
349 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
350 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
353 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
355 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
356 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
357 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
360 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
361 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
363 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
367 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
369 * scripts/bench.pl: Remove file.
370 * scripts/bench.py: New benchmark script.
371 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
372 * benchtests/README: Mention python dependency.
373 * scripts/pylintrc: New file.
374 * scripts/pylint: New file.
376 * bits/mathdef.h: Use #ifdef instead of #if.
377 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
378 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
379 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
380 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
381 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
382 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
384 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
387 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
389 and strpbrk-ppc64 objects.
390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
391 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
392 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
393 multiarch strpbrk for POWER7.
394 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
395 multiarch strpbrk for PPC64.
396 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
398 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
401 2014-03-20 Joseph Myers <joseph@codesourcery.com>
403 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
404 (atan_test): Likewise.
405 (atanh_test_data): Use NO_TEST_INLINE for two tests.
406 (atanh_test): Use ALL_RM_TEST.
407 (atan2_test_data): Likewise.
408 (cabs_test): Likewise.
409 (cacosh_test): Likewise.
410 (carg_test): Likewise.
411 (casin_test): Likewise.
412 (casinh_test): Likewise.
413 (cbrt_test): Likewise.
414 (csqrt_test): Likewise.
415 (erf_test): Likewise.
416 (erfc_test): Likewise.
417 (pow10_test): Likewise.
418 (exp2_test): Likewise.
419 (hypot_test): Likewise.
422 (lgamma_test): Likewise.
423 (gamma_test): Likewise.
424 (sincos_test): Likewise.
425 (tanh_test): Likewise.
428 * sysdeps/i386/fpu/libm-test-ulps: Update.
429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
435 and strcspn-ppc64 objects.
436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
437 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
438 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
439 multiarch strcspn for POWER7.
440 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
441 multiarch strcspn for PPC64.
442 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
444 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
447 2014-03-20 Joseph Myers <joseph@codesourcery.com>
449 * math/gen-libm-test.pl (generate_testfile): Expect only function
450 name as argument to AUTO_TESTS_* and pass results for all rounding
452 (parse_auto_input): Separate inputs of automatic tests from
453 outputs before storing in %auto_tests.
454 * math/libm-test.inc (acos_test_data): Update call to
456 (acos_test): Use ALL_RM_TEST.
457 (acos_tonearest_test_data): Remove.
458 (acos_test_tonearest): Likewise.
459 (acos_towardzero_test_data): Likewise.
460 (acos_test_towardzero): Likewise.
461 (acos_downward_test_data): Likewise.
462 (acos_test_downward): Likewise.
463 (acos_upward_test_data): Likewise.
464 (acos_test_upward): Likewise.
465 (acosh_test_data): Update call to AUTO_TESTS_f_f.
466 (asin_test_data): Likewise.
467 (asin_test): Use ALL_RM_TEST.
468 (asin_tonearest_test_data): Remove.
469 (asin_test_tonearest): Likewise.
470 (asin_towardzero_test_data): Likewise.
471 (asin_test_towardzero): Likewise.
472 (asin_downward_test_data): Likewise.
473 (asin_test_downward): Likewise.
474 (asin_upward_test_data): Likewise.
475 (asin_test_upward): Likewise.
476 (asinh_test_data): Update call to AUTO_TESTS_f_f.
477 (atan_test_data): Likewise.
478 (atanh_test_data): Likewise.
479 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
480 (cabs_test_data): Update call to AUTO_TESTS_c_f.
481 (carg_test_data): Likewise.
482 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
483 (ccos_test_data): Update call to AUTO_TESTS_c_c.
484 (ccosh_test_data): Likewise.
485 (cexp_test_data): Likewise.
486 (clog_test_data): Likewise.
487 (clog10_test_data): Likewise.
488 (cos_test_data): Update call to AUTO_TESTS_f_f.
489 (cos_test): Use ALL_RM_TEST.
490 (cos_tonearest_test_data): Remove.
491 (cos_test_tonearest): Likewise.
492 (cos_towardzero_test_data): Likewise.
493 (cos_test_towardzero): Likewise.
494 (cos_downward_test_data): Likewise.
495 (cos_test_downward): Likewise.
496 (cos_upward_test_data): Likewise.
497 (cos_test_upward): Likewise.
498 (cosh_test_data): Update call to AUTO_TESTS_f_f.
499 (cosh_test): Use ALL_RM_TEST.
500 (cosh_tonearest_test_data): Remove.
501 (cosh_test_tonearest): Likewise.
502 (cosh_towardzero_test_data): Likewise.
503 (cosh_test_towardzero): Likewise.
504 (cosh_downward_test_data): Likewise.
505 (cosh_test_downward): Likewise.
506 (cosh_upward_test_data): Likewise.
507 (cosh_test_upward): Likewise.
508 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
509 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
510 (ctan_test_data): Likewise.
511 (ctan_test): Use ALL_RM_TEST.
512 (ctan_tonearest_test_data): Remove.
513 (ctan_test_tonearest): Likewise.
514 (ctan_towardzero_test_data): Likewise.
515 (ctan_test_towardzero): Likewise.
516 (ctan_downward_test_data): Likewise.
517 (ctan_test_downward): Likewise.
518 (ctan_upward_test_data): Likewise.
519 (ctan_test_upward): Likewise.
520 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
521 (ctanh_test): Use ALL_RM_TEST.
522 (ctanh_tonearest_test_data): Remove.
523 (ctanh_test_tonearest): Likewise.
524 (ctanh_towardzero_test_data): Likewise.
525 (ctanh_test_towardzero): Likewise.
526 (ctanh_downward_test_data): Likewise.
527 (ctanh_test_downward): Likewise.
528 (ctanh_upward_test_data): Likewise.
529 (ctanh_test_upward): Likewise.
530 (erf_test_data): Update call to AUTO_TESTS_f_f.
531 (erfc_test_data): Likewise.
532 (exp_test_data): Likewise.
533 (exp_test): Use ALL_RM_TEST.
534 (exp_tonearest_test_data): Remove.
535 (exp_test_tonearest): Likewise.
536 (exp_towardzero_test_data): Likewise.
537 (exp_test_towardzero): Likewise.
538 (exp_downward_test_data): Likewise.
539 (exp_test_downward): Likewise.
540 (exp_upward_test_data): Likewise.
541 (exp_test_upward): Likewise.
542 (exp10_test_data): Update call to AUTO_TESTS_f_f.
543 (exp10_test): Use ALL_RM_TEST.
544 (exp10_tonearest_test_data): Remove.
545 (exp10_test_tonearest): Likewise.
546 (exp10_towardzero_test_data): Likewise.
547 (exp10_test_towardzero): Likewise.
548 (exp10_downward_test_data): Likewise.
549 (exp10_test_downward): Likewise.
550 (exp10_upward_test_data): Likewise.
551 (exp10_test_upward): Likewise.
552 (exp2_test_data): Update call to AUTO_TESTS_f_f.
553 (expm1_test_data): Likewise.
554 (expm1_test): Use ALL_RM_TEST.
555 (expm1_tonearest_test_data): Remove.
556 (expm1_test_tonearest): Likewise.
557 (expm1_towardzero_test_data): Likewise.
558 (expm1_test_towardzero): Likewise.
559 (expm1_downward_test_data): Likewise.
560 (expm1_test_downward): Likewise.
561 (expm1_upward_test_data): Likewise.
562 (expm1_test_upward): Likewise.
563 (fma_test_data): Update call to AUTO_TESTS_fff_f.
564 (fma_test): Use ALL_RM_TEST.
565 (fma_towardzero_test_data): Remove.
566 (fma_test_towardzero): Likewise.
567 (fma_downward_test_data): Likewise.
568 (fma_test_downward): Likewise.
569 (fma_upward_test_data): Likewise.
570 (fma_test_upward): Likewise.
571 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
572 (j0_test_data): Update call to AUTO_TESTS_f_f.
573 (j1_test_data): Likewise.
574 (jn_test_data): Update call to AUTO_TESTS_if_f.
575 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
576 (log_test_data): Update call to AUTO_TESTS_f_f.
577 (log10_test_data): Likewise.
578 (log1p_test_data): Likewise.
579 (log2_test_data): Likewise.
580 (pow_test_data): Update call to AUTO_TESTS_ff_f.
581 (pow_tonearest_test_data): Likewise.
582 (sin_test_data): Update call to AUTO_TESTS_f_f.
583 (sin_test): Use ALL_RM_TEST.
584 (sin_tonearest_test_data): Remove.
585 (sin_test_tonearest): Likewise.
586 (sin_towardzero_test_data): Likewise.
587 (sin_test_towardzero): Likewise.
588 (sin_downward_test_data): Likewise.
589 (sin_test_downward): Likewise.
590 (sin_upward_test_data): Likewise.
591 (sin_test_upward): Likewise.
592 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
593 (sinh_test_data): Update call to AUTO_TESTS_f_f.
594 (sinh_test): Use ALL_RM_TEST.
595 (sinh_tonearest_test_data): Remove.
596 (sinh_test_tonearest): Likewise.
597 (sinh_towardzero_test_data): Likewise.
598 (sinh_test_towardzero): Likewise.
599 (sinh_downward_test_data): Likewise.
600 (sinh_test_downward): Likewise.
601 (sinh_upward_test_data): Likewise.
602 (sinh_test_upward): Likewise.
603 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
604 (sqrt_test): Use ALL_RM_TEST.
605 (sqrt_tonearest_test_data): Remove.
606 (sqrt_test_tonearest): Likewise.
607 (sqrt_towardzero_test_data): Likewise.
608 (sqrt_test_towardzero): Likewise.
609 (sqrt_downward_test_data): Likewise.
610 (sqrt_test_downward): Likewise.
611 (sqrt_upward_test_data): Likewise.
612 (sqrt_test_upward): Likewise.
613 (tan_test_data): Update call to AUTO_TESTS_f_f.
614 (tan_test): Use ALL_RM_TEST.
615 (tan_tonearest_test_data): Remove.
616 (tan_test_tonearest): Likewise.
617 (tan_towardzero_test_data): Likewise.
618 (tan_test_towardzero): Likewise.
619 (tan_downward_test_data): Likewise.
620 (tan_test_downward): Likewise.
621 (tan_upward_test_data): Likewise.
622 (tan_test_upward): Likewise.
623 (tanh_test_data): Update call to AUTO_TESTS_f_f.
624 (tgamma_test_data): Likewise.
625 (y0_test_data): Likewise.
626 (y1_test_data): Likewise.
627 (yn_test_data): Update call to AUTO_TESTS_if_f.
628 (main): Do not call removed functions.
630 2014-03-19 Joseph Myers <joseph@codesourcery.com>
632 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
633 (ldexp_test_data): Remove.
634 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
636 (scalb_test): Use ALL_RM_TEST.
638 2014-03-19 Andreas Schwab <schwab@suse.de>
640 * nscd/nscd.service: Also invalidate netgroup cache on reload.
642 2014-03-19 Joseph Myers <joseph@codesourcery.com>
645 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
646 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
647 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
649 (__ASSUME_PREADV): Undefine.
650 (__ASSUME_PWRITEV): Likewise.
652 2014-03-18 Roland McGrath <roland@hack.frob.com>
654 * bits/mman-linux.h: Add comment about non-Linux use.
655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
656 bits/mman-linux.h resting place.
658 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
659 * bits/mman-linux.h: ... here.
661 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663 * conform/conformtest.pl: Add standard definition when calling C
664 preprocessor on data files.
665 (checknamespace): Remove unused variable.
667 2014-03-18 Joseph Myers <joseph@codesourcery.com>
669 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
670 minus_oflow, plus_uflow and minus_uflow in expected results.
671 * math/libm-test.inc (scalbn_test_data): Add more tests of
672 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
674 (scalbn_test): Use ALL_RM_TEST.
675 (scalbln_test_data): Add more tests of negative arguments. Use
676 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
677 (scalbln_test): Use ALL_RM_TEST.
679 2014-03-18 Roland McGrath <roland@hack.frob.com>
681 * scripts/abilist.awk: Ignore symbols marked with .hidden.
683 2014-03-18 Will Newton <will.newton@linaro.org>
685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
688 2014-03-18 Joseph Myers <joseph@codesourcery.com>
690 * Makerules [!subdir] (check-abi): Exit with error status if a
693 2014-03-17 Joseph Myers <joseph@codesourcery.com>
695 * math/libm-test.inc (nearbyint_test_data): Include all tests used
696 for rint. Include results for all rounding modes.
697 (nearbyint_test): Use ALL_RM_TEST.
698 (rint_test_data): Include all tests used for nearbyint.
700 2014-03-17 Will Newton <will.newton@linaro.org>
702 * nptl/sysdeps/pthread/pthread.h: Revert previous
705 * sysdeps/generic/ldsodefs.h: Revert previous
708 * libio/genops.c: Revert previous change.
709 * libio/libioP.h: Likewise.
710 * stdio-common/vfprintf.c: Likewise.
712 * sysdeps/generic/math_private.h: Revert previous
715 * sysdeps/generic/math_private.h: Check whether
716 HAVE_RM_CTX is defined with #ifdef rather
719 * argp/argp-fmtstream.h: Check whether
720 __STRICT_ANSI__ is defined with #ifdef rather
722 * argp/argp.h: Likewise.
724 * libio/genops.c: Check whether
725 _IO_JUMPS_OFFSET is defined with #ifdef rather
727 * libio/libioP.h: Likewise.
728 * stdio-common/vfprintf.c: Likewise.
730 * sysdeps/generic/ldsodefs.h: Check whether
731 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
734 * nptl/sysdeps/pthread/pthread.h: Check
735 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
738 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
740 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
742 * libio/tst-ftell-active-handler.c (do_append_test): Add a
746 * libio/fileops.c (_IO_file_open): Seek to end of file but
747 don't cache the offset.
748 (get_file_offset): Remove function.
749 (do_ftell): Use cached offset when available.
750 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
751 don't cache the offset.
752 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
754 (do_one_test): Call it.
755 (do_ftell_test): Fix up expected old offset for a+ mode.
756 * libio/wfileops.c (do_ftell_wide): Used cached offset when
759 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
760 up test status with function return status.
761 (do_write_test): Likewise.
762 (do_append_test): Likewise.
764 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
765 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
768 2014-03-17 Joseph Myers <joseph@codesourcery.com>
770 * math/gen-libm-test.pl (parse_args): Handle results specified for
771 each rounding mode separately.
772 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
773 tests and results from lrint_tonearest_test_data,
774 lrint_towardzero_test_data, lrint_downward_test_data and
775 lrint_upward_test_data.
776 (lrint_test): Use ALL_RM_TEST.
777 (lrint_tonearest_test_data): Remove.
778 (lrint_test_tonearest): Likewise.
779 (lrint_towardzero_test_data): Likewise.
780 (lrint_test_towardzero): Likewise.
781 (lrint_downward_test_data): Likewise.
782 (lrint_test_downward): Likewise.
783 (lrint_upward_test_data): Likewise.
784 (lrint_test_upward): Likewise.
785 (llrint_test_data): Merge in per-rounding-mode tests and results
786 from llrint_tonearest_test_data, llrint_towardzero_test_data,
787 llrint_downward_test_data and llrint_upward_test_data.
788 (llrint_test): Use ALL_RM_TEST.
789 (llrint_tonearest_test_data): Remove.
790 (llrint_test_tonearest): Likewise.
791 (llrint_towardzero_test_data): Likewise.
792 (llrint_test_towardzero): Likewise.
793 (llrint_downward_test_data): Likewise.
794 (llrint_test_downward): Likewise.
795 (llrint_upward_test_data): Likewise.
796 (llrint_test_upward): Likewise.
797 (rint_test_data): Merge in per-rounding-mode tests and results
798 from rint_tonearest_test_data, rint_towardzero_test_data,
799 rint_downward_test_data and rint_upward_test_data. Add
800 per-rounding-mode results for tests not in those arrays.
801 (rint_test): Use ALL_RM_TEST.
802 (rint_tonearest_test_data): Remove.
803 (rint_test_tonearest): Likewise.
804 (rint_towardzero_test_data): Likewise.
805 (rint_test_towardzero): Likewise.
806 (rint_downward_test_data): Likewise.
807 (rint_test_downward): Likewise.
808 (rint_upward_test_data): Likewise.
809 (rint_test_upward): Likewise.
810 (main): Don't call removed functions.
812 2014-03-14 Roland McGrath <roland@hack.frob.com>
814 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
815 "Compiled on ..." crapola. It is anti-useful.
817 2014-03-14 Joseph Myers <joseph@codesourcery.com>
819 * scripts/evaluate-test.sh: Handle fourth argument to determine
820 whether test run should stop on failure.
821 * Makeconfig (stop-on-test-failure): New variable.
822 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
823 $(stop-on-test-failure).
824 * Makefile (tests): Give a summary of results from testing and
825 exit with failure status if they include an ERROR or FAIL.
827 * manual/install.texi (Configuring and compiling): Mention
828 stop-on-test-failure=y.
829 * INSTALL: Regenerated.
831 2014-03-14 Roland McGrath <roland@hack.frob.com>
833 * scripts/versionlist.awk: New file.
834 * Makerules [$(build-shared) = yes]
835 (postclean-generated): Add Versions.def, not Versions.def.v and
837 ($(common-objpfx)Versions.def.v.i): Target removed.
838 ($(common-objpfx)Versions.def): New target.
839 ($(common-objpfx)Versions.all): Depend on that rather that
840 $(common-objpfx)Versions.def.v.
841 * Versions.def: File removed.
843 * Makeconfig (+gccwarn): Add -Wundef.
844 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
845 a dl-sysdep.h breaking its contract.
846 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
847 * include/stackinfo.h: New file.
848 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
849 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
850 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
851 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
852 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
853 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
854 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
855 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
856 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
857 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
858 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
859 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
860 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
861 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
862 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
864 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
869 * math/libm-test.inc (round_test_data): Add more tests.
871 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
876 * math/libm-test.inc (nearbyint_test_data): Add more tests.
878 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
883 * math/libm-test.inc (ceil_test_data): Add more tests.
885 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * math/libm-test.inc (trunc_test_data): Add more tests related to
890 2014-03-14 Roland McGrath <roland@hack.frob.com>
892 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
893 with #if rather than #ifdef.
894 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
896 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
898 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
899 first. Disable AVX-512 GCC support if assembler doesn't support
901 * sysdeps/x86_64/configure: Regenerated.
903 2014-03-13 Carlos O'Donell <carlos@redhat.com>
905 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
906 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
907 (__old_pthread_attr_setstack): Likewise.
908 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
909 [!_STACK_GROWS_DOWN]: Likewise.
911 2014-03-13 Mike Frysinger <vapier@gentoo.org>
913 * config.make.in (have-bash2): Delete.
914 * configure.ac (libc_cv_have_bash2): Delete.
915 * configure: Regenerate.
916 * elf/Makefile (common-ldd-rewrite): Rename to ...
917 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
918 (sh-ldd-rewrite): Delete.
919 (bash-ldd-rewrite): Delete.
920 (have-bash2): Delete checks.
921 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
923 2014-03-13 Mike Frysinger <vapier@gentoo.org>
925 * config.make.in (have-ksh): Delete.
927 * configure.ac (libc_cv_have_ksh): Delete.
928 * configure: Regenerate.
930 2014-03-13 Mike Frysinger <vapier@gentoo.org>
932 * elf/Makefile: Delete $(have-ksh) check.
933 ($(objpfx)sotruss): Change KSH to BASH.
934 * elf/sotruss.ksh: Rename to ...
935 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
936 function style to match POSIX. Drop ksh vim mode setting.
938 2014-03-13 Mike Frysinger <vapier@gentoo.org>
940 * manual/time.texi (Specifying the Time Zone with TZ): Change
943 2014-03-13 Mike Frysinger <vapier@gentoo.org>
945 * debug/tst-longjmp_chk2.c: Update header comment.
946 (stackoverflow_handler): Add comment. Call assert on pass value.
948 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
950 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
951 (HAVE_AVX512_ASM_SUPPORT): Likewise.
952 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
953 (La_x86_64_vector): Add zmm.
954 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
955 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
956 ($(objpfx)tst-audit10): New target.
957 ($(objpfx)tst-audit10.out): Likewise.
958 (tst-audit10-ENV): New.
959 (AVX512-CFLAGS): Likewise.
960 (CFLAGS-tst-audit10.c): Likewise.
961 (CFLAGS-tst-auditmod10a.c): Likewise.
962 (CFLAGS-tst-auditmod10b.c): Likewise.
963 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
964 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
965 * sysdeps/x86_64/configure: Regenerated.
966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
967 AVX-512 zmm register support.
968 (_dl_x86_64_save_sse): Likewise.
969 (_dl_x86_64_restore_sse): Likewise.
970 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
971 size vector registers.
972 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
973 (ZMM_SIZE): Likewise.
974 * sysdeps/x86_64/tst-audit10.c: New file.
975 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
976 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
978 2014-03-13 Roland McGrath <roland@hack.frob.com>
980 * configure.ac (HAVE_EHDR_START): New check.
981 * configure: Regenerated.
982 * config.h.in (HAVE_EHDR_START): New #undef.
983 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
984 assuming the lowest-addressed segment maps the start of the file.
986 2014-03-13 Joseph Myers <joseph@codesourcery.com>
988 * INSTALL: Regenerated.
990 2014-03-13 Will Newton <will.newton@linaro.org>
992 * manual/setjmp.texi (System V contexts): Improve
993 clarity and grammar of documentation.
995 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
998 * elf/Makefile (tests): Add tst-pie2.
999 (tests-pie): Add tst-pie2.
1000 * elf/tst-pie2.c: New file.
1001 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1003 * elf/rtld.c (map_doit): Load executable as lt_executable.
1004 (dl_main): Likewise.
1006 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1009 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1010 (__ASSUME_PSELECT): Undefine.
1012 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1016 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1019 selector for static builds.
1021 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1024 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1027 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1030 selector for static builds.
1032 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1034 * sysdeps/mips/math_private.h [__mips_hard_float]
1035 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1036 libc_feresetround_mips_ctx.
1037 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1038 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1039 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1042 * math/s_nextafter.c (__nextafter): Do not return value from
1043 overflowing computation.
1044 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1045 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1048 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1050 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1051 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1053 2014-03-11 Roland McGrath <roland@hack.frob.com>
1055 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1056 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1057 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1058 the new mov targetting sp.
1060 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1064 Define it for static builds as well.
1065 (NO_BZERO_IMPL): Likewise.
1067 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1069 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1070 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1071 multiarch strspn for PPC64.
1072 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1073 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1075 (__libc_ifunc_impl_list): Likewise.
1076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1077 multiarch optimizations
1078 * string/strspn.c (strspn): Using macro to redefine symbol name.
1080 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1081 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1084 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1085 multiarch strncat for PPC64.
1086 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1087 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1089 (__libc_ifunc_impl_list): Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1091 multiarch optimizations
1093 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1096 * nscd/nscd.service: Make service type forking.
1098 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1101 sign in non default rounding modes.
1102 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1104 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1106 * math/libm-test.inc (ALL_RM_TEST): New macro.
1107 (ceil_test): Use ALL_RM_TEST.
1108 (cimag_test): Likewise.
1109 (conj_test): Likewise.
1110 (copysign_test): Likewise.
1111 (cproj_test): Likewise.
1112 (creal_test): Likewise.
1113 (fabs_test): Likewise.
1114 (floor_test): Likewise.
1115 (fmax_test): Likewise.
1116 (fmin_test): Likewise.
1117 (fmod_test): Likewise.
1118 (fpclassify_test): Likewise.
1119 (frexp_test): Likewise.
1120 (ilogb_test): Likewise.
1121 (isfinite_test): Likewise.
1122 (finite_test): Likewise.
1123 (isgreater_test): Likewise.
1124 (isgreaterequal_test): Likewise.
1125 (isinf_test): Likewise.
1126 (isless_test): Likewise.
1127 (islessequal_test): Likewise.
1128 (islessgreater_test): Likewise.
1129 (isnan_test): Likewise.
1130 (isnormal_test): Likewise.
1131 (issignaling_test): Likewise.
1132 (isunordered_test): Likewise.
1133 (logb_test): Likewise.
1134 (logb_downward_test_data): Remove.
1135 (logb_test_downward): Likewise.
1136 (lround_test): Use ALL_RM_TEST.
1137 (llround_test): Likewise.
1138 (modf_test): Likewise.
1139 (nexttoward_test): Likewise.
1140 (remainder_test): Likewise.
1141 (drem_test): Likewise.
1142 (remainder_tonearest_test_data): Likewise.
1143 (remainder_test_tonearest): Likewise.
1144 (drem_test_tonearest): Likewise.
1145 (remainder_towardzero_test_data): Likewise.
1146 (remainder_test_towardzero): Likewise.
1147 (drem_test_towardzero): Likewise.
1148 (remainder_downward_test_data): Likewise.
1149 (remainder_test_downward): Likewise.
1150 (drem_test_downward): Likewise.
1151 (remainder_upward_test_data): Likewise.
1152 (remainder_test_upward): Likewise.
1153 (drem_test_upward): Likewise.
1154 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1155 (round_test): Use ALL_RM_TEST.
1156 (signbit_test): Likewise.
1157 (trunc_test): Likewise.
1158 (significand_test): Likewise.
1159 (main): Don't call removed functions.
1161 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1164 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1166 (ILL_ILLOPN): Likewise.
1167 (ILL_ILLADR): Likewise.
1168 (ILL_ILLTRP): Likewise.
1169 (ILL_PRVOPC): Likewise.
1170 (ILL_PRVREG): Likewise.
1171 (ILL_COPROC): Likewise.
1172 (ILL_BADSTK): Likewise.
1173 (FPE_INTDIV): Likewise.
1174 (FPE_INTOVF): Likewise.
1175 (FPE_FLTDIV): Likewise.
1176 (FPE_FLTOVF): Likewise.
1177 (FPE_FLTUND): Likewise.
1178 (FPE_FLTRES): Likewise.
1179 (FPE_FLTINV): Likewise.
1180 (FPE_FLTSUB): Likewise.
1181 (SEGV_MAPERR): Likewise.
1182 (SEGV_ACCERR): Likewise.
1183 (BUS_ADRALN): Likewise.
1184 (BUS_ADRERR): Likewise.
1185 (BUS_OBJERR): Likewise.
1186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1187 (TRAP_TRACE): Likewise.
1188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1190 (CLD_KILLED): Likewise.
1191 (CLD_DUMPED): Likewise.
1192 (CLD_TRAPPED): Likewise.
1193 (CLD_STOPPED): Likewise.
1194 (CLD_CONTINUED): Likewise.
1195 (POLL_IN): Likewise.
1196 (POLL_OUT): Likewise.
1197 (POLL_MSG): Likewise.
1198 (POLL_ERR): Likewise.
1199 (POLL_PRI): Likewise.
1200 (POLL_HUP): Likewise.
1201 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1203 (ILL_ILLOPN): Likewise.
1204 (ILL_ILLADR): Likewise.
1205 (ILL_ILLTRP): Likewise.
1206 (ILL_PRVOPC): Likewise.
1207 (ILL_PRVREG): Likewise.
1208 (ILL_COPROC): Likewise.
1209 (ILL_BADSTK): Likewise.
1210 (FPE_INTDIV): Likewise.
1211 (FPE_INTOVF): Likewise.
1212 (FPE_FLTDIV): Likewise.
1213 (FPE_FLTOVF): Likewise.
1214 (FPE_FLTUND): Likewise.
1215 (FPE_FLTRES): Likewise.
1216 (FPE_FLTINV): Likewise.
1217 (FPE_FLTSUB): Likewise.
1218 (SEGV_MAPERR): Likewise.
1219 (SEGV_ACCERR): Likewise.
1220 (BUS_ADRALN): Likewise.
1221 (BUS_ADRERR): Likewise.
1222 (BUS_OBJERR): Likewise.
1223 (BUS_MCEERR_AR): Likewise.
1224 (BUS_MCEERR_AO): Likewise.
1225 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1226 (TRAP_TRACE): Likewise.
1227 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1229 (CLD_KILLED): Likewise.
1230 (CLD_DUMPED): Likewise.
1231 (CLD_TRAPPED): Likewise.
1232 (CLD_STOPPED): Likewise.
1233 (CLD_CONTINUED): Likewise.
1234 (POLL_IN): Likewise.
1235 (POLL_OUT): Likewise.
1236 (POLL_MSG): Likewise.
1237 (POLL_ERR): Likewise.
1238 (POLL_PRI): Likewise.
1239 (POLL_HUP): Likewise.
1240 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1241 (ILL_ILLOPN): Likewise.
1242 (ILL_ILLADR): Likewise.
1243 (ILL_ILLTRP): Likewise.
1244 (ILL_PRVOPC): Likewise.
1245 (ILL_PRVREG): Likewise.
1246 (ILL_COPROC): Likewise.
1247 (ILL_BADSTK): Likewise.
1248 (FPE_INTDIV): Likewise.
1249 (FPE_INTOVF): Likewise.
1250 (FPE_FLTDIV): Likewise.
1251 (FPE_FLTOVF): Likewise.
1252 (FPE_FLTUND): Likewise.
1253 (FPE_FLTRES): Likewise.
1254 (FPE_FLTINV): Likewise.
1255 (FPE_FLTSUB): Likewise.
1256 (SEGV_MAPERR): Likewise.
1257 (SEGV_ACCERR): Likewise.
1258 (BUS_ADRALN): Likewise.
1259 (BUS_ADRERR): Likewise.
1260 (BUS_OBJERR): Likewise.
1261 (BUS_MCEERR_AR): Likewise.
1262 (BUS_MCEERR_AO): Likewise.
1263 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1264 (TRAP_TRACE): Likewise.
1265 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1267 (CLD_KILLED): Likewise.
1268 (CLD_DUMPED): Likewise.
1269 (CLD_TRAPPED): Likewise.
1270 (CLD_STOPPED): Likewise.
1271 (CLD_CONTINUED): Likewise.
1272 (POLL_IN): Likewise.
1273 (POLL_OUT): Likewise.
1274 (POLL_MSG): Likewise.
1275 (POLL_ERR): Likewise.
1276 (POLL_PRI): Likewise.
1277 (POLL_HUP): Likewise.
1278 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1280 (ILL_ILLOPN): Likewise.
1281 (ILL_ILLADR): Likewise.
1282 (ILL_ILLTRP): Likewise.
1283 (ILL_PRVOPC): Likewise.
1284 (ILL_PRVREG): Likewise.
1285 (ILL_COPROC): Likewise.
1286 (ILL_BADSTK): Likewise.
1287 (ILL_BADIADDR): Likewise.
1288 (ILL_BREAK): Likewise.
1289 (FPE_INTDIV): Likewise.
1290 (FPE_INTOVF): Likewise.
1291 (FPE_FLTDIV): Likewise.
1292 (FPE_FLTOVF): Likewise.
1293 (FPE_FLTUND): Likewise.
1294 (FPE_FLTRES): Likewise.
1295 (FPE_FLTINV): Likewise.
1296 (FPE_FLTSUB): Likewise.
1297 (FPE_DECOVF): Likewise.
1298 (FPE_DECDIV): Likewise.
1299 (FPE_DECERR): Likewise.
1300 (FPE_INVASC): Likewise.
1301 (FPE_INVDEC): Likewise.
1302 (SEGV_MAPERR): Likewise.
1303 (SEGV_ACCERR): Likewise.
1304 (SEGV_PSTKOVF): Likewise.
1305 (BUS_ADRALN): Likewise.
1306 (BUS_ADRERR): Likewise.
1307 (BUS_OBJERR): Likewise.
1308 (BUS_MCEERR_AR): Likewise.
1309 (BUS_MCEERR_AO): Likewise.
1310 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1311 (TRAP_TRACE): Likewise.
1312 (TRAP_BRANCH): Likewise.
1313 (TRAP_HWBKPT): Likewise.
1314 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1316 (CLD_KILLED): Likewise.
1317 (CLD_DUMPED): Likewise.
1318 (CLD_TRAPPED): Likewise.
1319 (CLD_STOPPED): Likewise.
1320 (CLD_CONTINUED): Likewise.
1321 (POLL_IN): Likewise.
1322 (POLL_OUT): Likewise.
1323 (POLL_MSG): Likewise.
1324 (POLL_ERR): Likewise.
1325 (POLL_PRI): Likewise.
1326 (POLL_HUP): Likewise.
1327 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1328 (ILL_ILLOPN): Likewise.
1329 (ILL_ILLADR): Likewise.
1330 (ILL_ILLTRP): Likewise.
1331 (ILL_PRVOPC): Likewise.
1332 (ILL_PRVREG): Likewise.
1333 (ILL_COPROC): Likewise.
1334 (ILL_BADSTK): Likewise.
1335 (FPE_INTDIV): Likewise.
1336 (FPE_INTOVF): Likewise.
1337 (FPE_FLTDIV): Likewise.
1338 (FPE_FLTOVF): Likewise.
1339 (FPE_FLTUND): Likewise.
1340 (FPE_FLTRES): Likewise.
1341 (FPE_FLTINV): Likewise.
1342 (FPE_FLTSUB): Likewise.
1343 (SEGV_MAPERR): Likewise.
1344 (SEGV_ACCERR): Likewise.
1345 (BUS_ADRALN): Likewise.
1346 (BUS_ADRERR): Likewise.
1347 (BUS_OBJERR): Likewise.
1348 (BUS_MCEERR_AR): Likewise.
1349 (BUS_MCEERR_AO): Likewise.
1350 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1351 (TRAP_TRACE): Likewise.
1352 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1354 (CLD_KILLED): Likewise.
1355 (CLD_DUMPED): Likewise.
1356 (CLD_TRAPPED): Likewise.
1357 (CLD_STOPPED): Likewise.
1358 (CLD_CONTINUED): Likewise.
1359 (POLL_IN): Likewise.
1360 (POLL_OUT): Likewise.
1361 (POLL_MSG): Likewise.
1362 (POLL_ERR): Likewise.
1363 (POLL_PRI): Likewise.
1364 (POLL_HUP): Likewise.
1365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1366 (ILL_ILLOPN): Likewise.
1367 (ILL_ILLADR): Likewise.
1368 (ILL_ILLTRP): Likewise.
1369 (ILL_PRVOPC): Likewise.
1370 (ILL_PRVREG): Likewise.
1371 (ILL_COPROC): Likewise.
1372 (ILL_BADSTK): Likewise.
1373 (FPE_INTDIV): Likewise.
1374 (FPE_INTOVF): Likewise.
1375 (FPE_FLTDIV): Likewise.
1376 (FPE_FLTOVF): Likewise.
1377 (FPE_FLTUND): Likewise.
1378 (FPE_FLTRES): Likewise.
1379 (FPE_FLTINV): Likewise.
1380 (FPE_FLTSUB): Likewise.
1381 (SEGV_MAPERR): Likewise.
1382 (SEGV_ACCERR): Likewise.
1383 (BUS_ADRALN): Likewise.
1384 (BUS_ADRERR): Likewise.
1385 (BUS_OBJERR): Likewise.
1386 (BUS_MCEERR_AR): Likewise.
1387 (BUS_MCEERR_AO): Likewise.
1388 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1389 (TRAP_TRACE): Likewise.
1390 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1392 (CLD_KILLED): Likewise.
1393 (CLD_DUMPED): Likewise.
1394 (CLD_TRAPPED): Likewise.
1395 (CLD_STOPPED): Likewise.
1396 (CLD_CONTINUED): Likewise.
1397 (POLL_IN): Likewise.
1398 (POLL_OUT): Likewise.
1399 (POLL_MSG): Likewise.
1400 (POLL_ERR): Likewise.
1401 (POLL_PRI): Likewise.
1402 (POLL_HUP): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1404 (ILL_ILLOPN): Likewise.
1405 (ILL_ILLADR): Likewise.
1406 (ILL_ILLTRP): Likewise.
1407 (ILL_PRVOPC): Likewise.
1408 (ILL_PRVREG): Likewise.
1409 (ILL_COPROC): Likewise.
1410 (ILL_BADSTK): Likewise.
1411 (FPE_INTDIV): Likewise.
1412 (FPE_INTOVF): Likewise.
1413 (FPE_FLTDIV): Likewise.
1414 (FPE_FLTOVF): Likewise.
1415 (FPE_FLTUND): Likewise.
1416 (FPE_FLTRES): Likewise.
1417 (FPE_FLTINV): Likewise.
1418 (FPE_FLTSUB): Likewise.
1419 (SEGV_MAPERR): Likewise.
1420 (SEGV_ACCERR): Likewise.
1421 (BUS_ADRALN): Likewise.
1422 (BUS_ADRERR): Likewise.
1423 (BUS_OBJERR): Likewise.
1424 (BUS_MCEERR_AR): Likewise.
1425 (BUS_MCEERR_AO): Likewise.
1426 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1427 (TRAP_TRACE): Likewise.
1428 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1430 (CLD_KILLED): Likewise.
1431 (CLD_DUMPED): Likewise.
1432 (CLD_TRAPPED): Likewise.
1433 (CLD_STOPPED): Likewise.
1434 (CLD_CONTINUED): Likewise.
1435 (POLL_IN): Likewise.
1436 (POLL_OUT): Likewise.
1437 (POLL_MSG): Likewise.
1438 (POLL_ERR): Likewise.
1439 (POLL_PRI): Likewise.
1440 (POLL_HUP): Likewise.
1441 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1442 (ILL_ILLOPN): Likewise.
1443 (ILL_ILLADR): Likewise.
1444 (ILL_ILLTRP): Likewise.
1445 (ILL_PRVOPC): Likewise.
1446 (ILL_PRVREG): Likewise.
1447 (ILL_COPROC): Likewise.
1448 (ILL_BADSTK): Likewise.
1449 (ILL_DBLFLT): Likewise.
1450 (ILL_HARDWALL): Likewise.
1451 (FPE_INTDIV): Likewise.
1452 (FPE_INTOVF): Likewise.
1453 (FPE_FLTDIV): Likewise.
1454 (FPE_FLTOVF): Likewise.
1455 (FPE_FLTUND): Likewise.
1456 (FPE_FLTRES): Likewise.
1457 (FPE_FLTINV): Likewise.
1458 (FPE_FLTSUB): Likewise.
1459 (SEGV_MAPERR): Likewise.
1460 (SEGV_ACCERR): Likewise.
1461 (BUS_ADRALN): Likewise.
1462 (BUS_ADRERR): Likewise.
1463 (BUS_OBJERR): Likewise.
1464 (BUS_MCEERR_AR): Likewise.
1465 (BUS_MCEERR_AO): Likewise.
1466 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1467 (TRAP_TRACE): Likewise.
1468 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1470 (CLD_KILLED): Likewise.
1471 (CLD_DUMPED): Likewise.
1472 (CLD_TRAPPED): Likewise.
1473 (CLD_STOPPED): Likewise.
1474 (CLD_CONTINUED): Likewise.
1475 (POLL_IN): Likewise.
1476 (POLL_OUT): Likewise.
1477 (POLL_MSG): Likewise.
1478 (POLL_ERR): Likewise.
1479 (POLL_PRI): Likewise.
1480 (POLL_HUP): Likewise.
1481 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1482 (ILL_ILLOPN): Likewise.
1483 (ILL_ILLADR): Likewise.
1484 (ILL_ILLTRP): Likewise.
1485 (ILL_PRVOPC): Likewise.
1486 (ILL_PRVREG): Likewise.
1487 (ILL_COPROC): Likewise.
1488 (ILL_BADSTK): Likewise.
1489 (FPE_INTDIV): Likewise.
1490 (FPE_INTOVF): Likewise.
1491 (FPE_FLTDIV): Likewise.
1492 (FPE_FLTOVF): Likewise.
1493 (FPE_FLTUND): Likewise.
1494 (FPE_FLTRES): Likewise.
1495 (FPE_FLTINV): Likewise.
1496 (FPE_FLTSUB): Likewise.
1497 (SEGV_MAPERR): Likewise.
1498 (SEGV_ACCERR): Likewise.
1499 (BUS_ADRALN): Likewise.
1500 (BUS_ADRERR): Likewise.
1501 (BUS_OBJERR): Likewise.
1502 (BUS_MCEERR_AR): Likewise.
1503 (BUS_MCEERR_AO): Likewise.
1504 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1505 (TRAP_TRACE): Likewise.
1506 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1508 (CLD_KILLED): Likewise.
1509 (CLD_DUMPED): Likewise.
1510 (CLD_TRAPPED): Likewise.
1511 (CLD_STOPPED): Likewise.
1512 (CLD_CONTINUED): Likewise.
1513 (POLL_IN): Likewise.
1514 (POLL_OUT): Likewise.
1515 (POLL_MSG): Likewise.
1516 (POLL_ERR): Likewise.
1517 (POLL_PRI): Likewise.
1518 (POLL_HUP): Likewise.
1519 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1520 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1523 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1524 before #include of <time.h>.
1525 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1526 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1527 (test-xfail-UNIX98/sched.h/conform): Likewise.
1529 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1531 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1532 error absence of trapping exception support.
1533 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1535 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1537 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1538 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1539 * timezone/Makefile (testdata): Move definition above include of
1541 (test-zones): New variable.
1542 (tests-special): Add zone files.
1543 (build-testdata): Use $(evaluate-test).
1545 * elf/Makefile (tests-special): Rename tests to end with .out.
1546 ($(objpfx)noload-mem): Likewise.
1547 ($(objpfx)tst-leaks1-mem): Likewise.
1548 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1549 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1550 $(objpfx)test-iconvconfig.out.
1551 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1552 set -e inside subshell and redirect output to file.
1553 * iconvdata/Makefile (generated): Rename tests to end with .out.
1555 (tests-special): Rename tests to end with .out.
1556 ($(objpfx)mtrace-tst-loading): Likewise.
1557 * intl/Makefile (generated): Likewise.
1558 (tests-special): Likewise.
1559 ($(objpfx)mtrace-tst-gettext): Likewise.
1560 * misc/Makefile (generated): Likewise.
1561 (tests-special): Likewise.
1562 ($(objpfx)tst-error1-mem): Likewise.
1563 * nptl/Makefile (tests-special): Likewise.
1564 ($(objpfx)tst-stack3-mem): Likewise.
1565 (generated): Likewise.
1566 * posix/Makefile (generated): Likewise.
1567 (tests-special): Likewise.
1568 (xtests-special): Likewise.
1569 ($(objpfx)tst-fnmatch-mem): Likewise.
1570 ($(objpfx)bug-regex2-mem): Likewise.
1571 ($(objpfx)bug-regex14-mem): Likewise.
1572 ($(objpfx)bug-regex21-mem): Likewise.
1573 ($(objpfx)bug-regex31-mem): Likewise.
1574 ($(objpfx)tst-vfork3-mem): Likewise.
1575 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1576 ($(objpfx)tst-pcre-mem): Likewise.
1577 ($(objpfx)tst-boost-mem): Likewise.
1578 ($(objpfx)bug-ga2-mem): Likewise.
1579 ($(objpfx)bug-glob2-mem): Likewise.
1580 * resolv/Makefile (generate): Likewise.
1581 (tests-special): Likewise.
1582 (xtests-special): Likewise.
1583 (generated): Likewise.
1584 ($(objpfx)mtrace-tst-leaks): Likewise.
1585 ($(objpfx)mtrace-tst-leaks2): Likewise.
1587 * scripts/merge-test-results.sh: New file.
1588 * Makefile (tests-special-notdir): New variable.
1589 (tests): Run merge-test-results.sh.
1591 * Rules (tests-special-notdir): New variable.
1592 (xtests-special-notdir): Likewise.
1593 (tests): Run merge-test-results.sh
1596 * Makeconfig (test-xfail-name): New variable.
1597 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1598 compute variable name for expected failures.
1599 * conform/Makefile (conformtest-headers-data): New variable.
1600 (conformtest-standards): Likewise.
1601 (conformtest-headers-ISO): Likewise.
1602 (conformtest-headers-ISO99): Likewise.
1603 (conformtest-headers-ISO11): Likewise.
1604 (conformtest-headers-POSIX): Likewise.
1605 (conformtest-headers-XPG3): Likewise.
1606 (conformtest-headers-XPG4): Likewise.
1607 (conformtest-headers-UNIX98): Likewise.
1608 (conformtest-headers-XOPEN2K): Likewise.
1609 (conformtest-headers-POSIX2008): Likewise.
1610 (conformtest-headers-XOPEN2K8): Likewise.
1611 (conformtest-header-list-base): Likewise.
1612 (conformtest-header-list-tests): Likewise.
1613 (conformtest-header-base): Likewise.
1614 (conformtest-header-tests): Likewise.
1615 (tests-special): Add $(conformtest-header-list-tests). If
1616 [$(fast-check) && !$(cross-compiling)], add
1617 $(conformtest-header-tests) instead of
1618 $(objpfx)run-conformtest.out.
1619 (generated): Add $(conformtest-header-list-base). If
1620 [$(fast-check) && !$(cross-compiling)], add
1621 $(conformtest-header-base). Remove previous setting.
1622 ($(conformtest-header-list-tests)): New target.
1623 (test-xfail-run-conformtest): Remove variable.
1624 ($(objpfx)run-conformtest.out): Remove target.
1625 (test-xfail-ISO11/complex.h/conform): New variable.
1626 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1627 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1628 (test-xfail-XPG3/varargs.h/conform): Likewise.
1629 (test-xfail-XPG4/varargs.h/conform): Likewise.
1630 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1631 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1632 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1633 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1634 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1635 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1636 (test-xfail-XPG3/ftw.h/conform): Likewise.
1637 (test-xfail-XPG3/grp.h/conform): Likewise.
1638 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1639 (test-xfail-XPG3/limits.h/conform): Likewise.
1640 (test-xfail-XPG3/pwd.h/conform): Likewise.
1641 (test-xfail-XPG3/search.h/conform): Likewise.
1642 (test-xfail-XPG3/signal.h/conform): Likewise.
1643 (test-xfail-XPG3/stdio.h/conform): Likewise.
1644 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1645 (test-xfail-XPG3/string.h/conform): Likewise.
1646 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1647 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1648 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1649 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1650 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1651 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1652 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1653 (test-xfail-XPG3/termios.h/conform): Likewise.
1654 (test-xfail-XPG3/time.h/conform): Likewise.
1655 (test-xfail-XPG3/unistd.h/conform): Likewise.
1656 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1657 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1658 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1659 (test-xfail-XPG4/netdb.h/conform): Likewise.
1660 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1661 (test-xfail-XPG4/signal.h/conform): Likewise.
1662 (test-xfail-XPG4/stdio.h/conform): Likewise.
1663 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1664 (test-xfail-XPG4/stropts.h/conform): Likewise.
1665 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1666 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1667 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1668 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1669 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1670 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1671 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1672 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1673 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1674 (test-xfail-XPG4/termios.h/conform): Likewise.
1675 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1676 (test-xfail-XPG4/unistd.h/conform): Likewise.
1677 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1678 (test-xfail-POSIX/sched.h/conform): Likewise.
1679 (test-xfail-POSIX/signal.h/conform): Likewise.
1680 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1681 (test-xfail-POSIX/tar.h/conform): Likewise.
1682 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1683 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1684 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1685 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1686 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1687 (test-xfail-UNIX98/sched.h/conform): Likewise.
1688 (test-xfail-UNIX98/signal.h/conform): Likewise.
1689 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1690 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1691 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1692 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1693 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1694 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1695 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1696 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1697 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1698 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1699 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1700 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1701 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1702 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1703 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1704 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1705 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1706 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1707 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1708 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1709 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1710 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1711 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1712 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1713 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1714 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1715 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1716 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1717 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1718 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1719 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1720 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1721 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1722 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1723 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1724 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1725 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1726 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1727 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1728 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1729 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1730 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1731 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1732 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1733 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1734 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1735 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1736 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1737 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1738 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1739 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1740 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1741 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1742 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1743 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1744 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1745 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1746 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1747 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1748 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1749 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1750 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1751 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1752 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1753 (conformtest-cc-flags): Likewise.
1754 ($(conformtest-header-tests): New target.
1755 * conform/check-header-lists.sh: New file.
1756 * conform/run-conformtest.sh: Remove.
1758 * conform/conformtest.pl: Allow ' and \ in values given for
1760 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1762 [POSIX] (sys/types.h): Likewise.
1763 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1765 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1767 * conform/data/signal.h-data (SIGIO): Remove expectation.
1768 [XPG3] (SIGBUS): Do not expect.
1769 [POSIX || XPG3] (SIGPOLL): Likewise.
1770 [POSIX || XPG3] (SIGPROF): Likewise.
1771 [POSIX || XPG3] (SIGSYS): Likewise.
1772 [XPG3] (SIGTRAP): Likewise.
1773 [POSIX || XPG3] (SIGURG): Likewise.
1774 [POSIX || XPG3] (SIGVTALRM): Likewise.
1775 [POSIX || XPG3] (SIGXCPU): Likewise.
1776 [POSIX || XPG3] (SIGXFSZ): Likewise.
1777 [POSIX] (SA_SIGINFO): Expect.
1778 [XPG3] (siginfo_t): Do not expect type or contents.
1779 [POSIX] (si_pid): Do not expect element.
1780 [POSIX] (si_uid): Likewise.
1781 [POSIX] (si_addr): Likewise.
1782 [POSIX] (si_status): Likewise.
1783 [POSIX] (si_band): Likewise.
1784 [XPG4] (si_value): Likewise.
1785 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1786 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1787 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1788 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1789 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1790 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1791 [POSIX || XPG3] (ILL_COPROC): Likewise.
1792 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1793 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1794 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1795 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1796 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1797 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1798 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1799 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1800 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1801 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1802 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1803 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1804 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1805 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1806 [POSIX || XPG3] (CLD_EXITED): Likewise.
1807 [POSIX || XPG3] (CLD_KILLED): Likewise.
1808 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1809 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1810 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1811 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1812 [POSIX || XPG3] (POLL_IN): Likewise.
1813 [POSIX || XPG3] (POLL_OUT): Likewise.
1814 [POSIX || XPG3] (POLL_MSG): Likewise.
1815 [POSIX || XPG3] (POLL_ERR): Likewise.
1816 [POSIX || XPG3] (POLL_PRI): Likewise.
1817 [POSIX || XPG3] (POLL_HUP): Likewise.
1818 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1819 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1820 (SIG*): Do not allow.
1821 [XPG3] (si_*): Likewise.
1822 [XPG3] (SI_*): Likewise.
1823 [XPG3 || XPG4] (sigev_*): Likewise.
1824 [XPG3 || XPG4] (SIGEV_*): Likewise.
1825 [XPG3 || XPG4] (sival_*): Likewise.
1826 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1827 [POSIX || XPG3] (BUS_*): Likewise.
1828 [POSIX || XPG3] (CLD_*): Likewise.
1829 [POSIX || XPG3] (FPE_*): Likewise.
1830 [POSIX || XPG3] (ILL_*): Likewise.
1831 [POSIX || XPG3] (POLL_*): Likewise.
1832 [POSIX || XPG3] (SEGV_*): Likewise.
1833 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1834 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1835 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1836 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1837 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1838 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1839 Specify type and value.
1840 (TVERSLEN): Likewise.
1841 (REGTYPE): Likewise.
1842 (AREGTYPE): Likewise.
1843 (LNKTYPE): Likewise.
1844 (SYMTYPE): Likewise.
1845 (CHRTYPE): Likewise.
1846 (BLKTYPE): Likewise.
1847 (DIRTYPE): Likewise.
1848 (FIFOTYPE): Likewise.
1849 (CONTTYPE): Likewise.
1854 (TUWRITE): Likewise.
1857 (TGWRITE): Likewise.
1860 (TOWRITE): Likewise.
1862 [POSIX] (TSVTX): Expect constant.
1864 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1866 * Makefile (tests): Change dependencies to ....
1867 (tests-special): ... additions to this variable.
1868 (tests): Depend on $(tests-special).
1869 * Makerules (check-abi-list): New variable.
1870 (check-abi): Depend on $(check-abi-list).
1871 [$(subdir) = elf] (tests-special): Add
1872 $(objpfx)check-abi-libc.out.
1873 [$(build-shared) = yes && subdir] (tests-special): Add
1875 [$(build-shared) = yes && subdir] (tests): Do not depend on
1877 * Rules (tests): Depend on $(tests-special).
1878 (xtests): Depend on $(xtests-special).
1879 * catgets/Makefile (tests): Change dependencies to ....
1880 (tests-special): ... additions to this variable.
1881 * conform/Makefile (tests): Change dependencies to ....
1882 (tests-special): ... additions to this variable.
1883 * elf/Makefile (tests): Change dependencies to ....
1884 (tests-special): ... additions to this variable.
1885 * grp/Makefile (tests): Change dependencies to ....
1886 (tests-special): ... additions to this variable.
1887 * iconv/Makefile (xtests): Change dependencies to ....
1888 (xtests-special): ... additions to this variable.
1889 * iconvdata/Makefile (tests): Change dependencies to ....
1890 (tests-special): ... additions to this variable.
1891 * intl/Makefile (tests): Change dependencies to ....
1892 (tests-special): ... additions to this variable. Also add
1893 $(objpfx)tst-gettext.out.
1894 * io/Makefile (tests): Change dependencies to ....
1895 (tests-special): ... additions to this variable.
1896 * libio/Makefile (tests): Change dependencies to ....
1897 (tests-special): ... additions to this variable.
1898 * malloc/Makefile (tests): Change dependencies to ....
1899 (tests-special): ... additions to this variable.
1900 * misc/Makefile (tests): Change dependencies to ....
1901 (tests-special): ... additions to this variable.
1902 * nptl/Makefile (tests): Change dependencies to ....
1903 (tests-special): ... additions to this variable.
1904 * nptl_db/Makefile (tests): Change dependencies to ....
1905 (tests-special): ... additions to this variable.
1906 * posix/Makefile (tests): Change dependencies to ....
1907 (tests-special): ... additions to this variable.
1908 (xtests): Change dependencies to ....
1909 (xtests-special): ... additions to this variable.
1910 * resolv/Makefile (tests): Change dependencies to ....
1911 (tests-special): ... additions to this variable.
1912 (xtests): Change dependencies to ....
1913 (xtests-special): ... additions to this variable.
1914 * stdio-common/Makefile (tests): Change dependencies to ....
1915 (tests-special): ... additions to this variable.
1916 (do-tst-unbputc): Remove target.
1917 (do-tst-printf): Likewise.
1918 * stdlib/Makefile (tests): Change dependencies to ....
1919 (tests-special): ... additions to this variable.
1920 * string/Makefile (tests): Change dependencies to ....
1921 (tests-special): ... additions to this variable.
1922 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1923 (tests-special): ... additions to this variable.
1925 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1927 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1929 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1930 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1932 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1933 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1934 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1935 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1936 * conform/data/libgen.h-data [XPG3]: Likewise.
1937 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1938 * conform/data/ndbm.h-data [XPG3]: Likewise.
1939 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1940 * conform/data/netdb.h-data [XPG3]: Likewise.
1941 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1942 * conform/data/poll.h-data [XPG3]: Likewise.
1943 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1944 * conform/data/strings.h-data [XPG3]: Likewise.
1945 * conform/data/stropts.h-data [XPG3]: Likewise.
1946 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1947 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1948 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1950 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1951 * conform/data/sys/time.h-data [XPG3]: Likewise.
1952 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1953 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1954 * conform/data/sys/un.h-data [XPG3]: Likewise.
1955 * conform/data/syslog.h-data [XPG3]: Likewise.
1956 * conform/data/ucontext.h-data [XPG3]: Likewise.
1957 * conform/data/utmpx.h-data [XPG3]: Likewise.
1958 * conform/data/varargs.h-data [UNIX98]: Enable file.
1960 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1962 * math/libm-test.inc (struct test_f_f_data): Move expected results
1963 into structure for each rounding mode.
1964 (struct test_ff_f_data): Likewise.
1965 (struct test_ff_f_data_nexttoward): Likewise.
1966 (struct test_fi_f_data): Likewise.
1967 (struct test_fl_f_data): Likewise.
1968 (struct test_if_f_data): Likewise.
1969 (struct test_fff_f_data): Likewise.
1970 (struct test_c_f_data): Likewise.
1971 (struct test_f_f1_data): Likewise.
1972 (struct test_fF_f1_data): Likewise.
1973 (struct test_ffI_f1_data): Likewise.
1974 (struct test_c_c_data): Likewise.
1975 (struct test_cc_c_data): Likewise.
1976 (struct test_f_i_data): Likewise.
1977 (struct test_ff_i_data): Likewise.
1978 (struct test_f_l_data): Likewise.
1979 (struct test_f_L_data): Likewise.
1980 (struct test_fFF_11_data): Likewise.
1982 (RM_FE_DOWNWARD): Likewise.
1983 (RM_FE_TONEAREST): Likewise.
1984 (RM_FE_TOWARDZERO): Likewise.
1985 (RM_FE_UPWARD): Likewise.
1986 (RUN_TEST_LOOP_f_f): Update references to expected results.
1987 (RUN_TEST_LOOP_2_f): Likewise.
1988 (RUN_TEST_LOOP_fff_f): Likewise.
1989 (RUN_TEST_LOOP_c_f): Likewise.
1990 (RUN_TEST_LOOP_f_f1): Likewise.
1991 (RUN_TEST_LOOP_fF_f1): Likewise.
1992 (RUN_TEST_LOOP_fI_f1): Likewise.
1993 (RUN_TEST_LOOP_ffI_f1): Likewise.
1994 (RUN_TEST_LOOP_c_c): Likewise.
1995 (RUN_TEST_LOOP_cc_c): Likewise.
1996 (RUN_TEST_LOOP_f_i): Likewise.
1997 (RUN_TEST_LOOP_f_i_tg): Likewise.
1998 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1999 (RUN_TEST_LOOP_f_b): Likewise.
2000 (RUN_TEST_LOOP_f_b_tg): Likewise.
2001 (RUN_TEST_LOOP_f_l): Likewise.
2002 (RUN_TEST_LOOP_f_L): Likewise.
2003 (RUN_TEST_LOOP_fFF_11): Likewise.
2004 * math/gen-libm-test.pl (parse_args): Output four copies of
2005 expected results for each test.
2007 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2008 (__ASSUME_UTIMES): Remove.
2009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2010 (__ASSUME_UTIMES): Likewise.
2012 * math/gen-auto-libm-tests.c: Update comment on output format.
2013 (output_for_one_input_case): Generate before-rounding and
2014 after-rounding information as conditions on output flags not
2015 floating-point format.
2016 * math/auto-libm-test-out: Regenerated.
2017 * math/gen-libm-test.pl (cond_value): New function.
2018 (or_cond_value): Use cond_value.
2019 (generate_testfile): Handle conditional exceptions.
2021 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2023 * math/libm-test.inc (max_valid_error): New variable.
2024 (init_max_error): Take new argument specifying whether function
2025 results are exactly determined. Set max_valid_error and bound
2026 other variables for errors based on this argument.
2027 (set_max_error): Do not record results above max_valid_error.
2028 (check_float_internal): Only accept errors of up to 0.5ulps if
2029 also at most max_valid_error.
2030 (START): Take new argument EXACT and pass it to init_max_error.
2031 (acos_test): Update call to START.
2032 (acos_test_tonearest): Likewise.
2033 (acos_test_towardzero): Likewise.
2034 (acos_test_downward): Likewise.
2035 (acos_test_upward): Likewise.
2036 (acosh_test): Likewise.
2037 (asin_test): Likewise.
2038 (asin_test_tonearest): Likewise.
2039 (asin_test_towardzero): Likewise.
2040 (asin_test_downward): Likewise.
2041 (asin_test_upward): Likewise.
2042 (asinh_test): Likewise.
2043 (atan_test): Likewise.
2044 (atanh_test): Likewise.
2045 (atan2_test): Likewise.
2046 (cabs_test): Likewise.
2047 (cacos_test): Likewise.
2048 (cacosh_test): Likewise.
2049 (carg_test): Likewise.
2050 (casin_test): Likewise.
2051 (casinh_test): Likewise.
2052 (catan_test): Likewise.
2053 (catanh_test): Likewise.
2054 (cbrt_test): Likewise.
2055 (ccos_test): Likewise.
2056 (ccosh_test): Likewise.
2057 (ceil_test): Likewise.
2058 (cexp_test): Likewise.
2059 (cimag_test): Likewise.
2060 (clog_test): Likewise.
2061 (clog10_test): Likewise.
2062 (conj_test): Likewise.
2063 (copysign_test): Likewise.
2064 (cos_test): Likewise.
2065 (cos_test_tonearest): Likewise.
2066 (cos_test_towardzero): Likewise.
2067 (cos_test_downward): Likewise.
2068 (cos_test_upward): Likewise.
2069 (cosh_test): Likewise.
2070 (cosh_test_tonearest): Likewise.
2071 (cosh_test_towardzero): Likewise.
2072 (cosh_test_downward): Likewise.
2073 (cosh_test_upward): Likewise.
2074 (cpow_test): Likewise.
2075 (cproj_test): Likewise.
2076 (creal_test): Likewise.
2077 (csin_test): Likewise.
2078 (csinh_test): Likewise.
2079 (csqrt_test): Likewise.
2080 (ctan_test): Likewise.
2081 (ctan_test_tonearest): Likewise.
2082 (ctan_test_towardzero): Likewise.
2083 (ctan_test_downward): Likewise.
2084 (ctan_test_upward): Likewise.
2085 (ctanh_test): Likewise.
2086 (ctanh_test_tonearest): Likewise.
2087 (ctanh_test_towardzero): Likewise.
2088 (ctanh_test_downward): Likewise.
2089 (ctanh_test_upward): Likewise.
2090 (erf_test): Likewise.
2091 (erfc_test): Likewise.
2092 (exp_test): Likewise.
2093 (exp_test_tonearest): Likewise.
2094 (exp_test_towardzero): Likewise.
2095 (exp_test_downward): Likewise.
2096 (exp_test_upward): Likewise.
2097 (exp10_test): Likewise.
2098 (exp10_test_tonearest): Likewise.
2099 (exp10_test_towardzero): Likewise.
2100 (exp10_test_downward): Likewise.
2101 (exp10_test_upward): Likewise.
2102 (pow10_test): Likewise.
2103 (exp2_test): Likewise.
2104 (expm1_test): Likewise.
2105 (expm1_test_tonearest): Likewise.
2106 (expm1_test_towardzero): Likewise.
2107 (expm1_test_downward): Likewise.
2108 (expm1_test_upward): Likewise.
2109 (fabs_test): Likewise.
2110 (fdim_test): Likewise.
2111 (floor_test): Likewise.
2112 (fma_test): Likewise.
2113 (fma_test_towardzero): Likewise.
2114 (fma_test_downward): Likewise.
2115 (fma_test_upward): Likewise.
2116 (fmax_test): Likewise.
2117 (fmin_test): Likewise.
2118 (fmod_test): Likewise.
2119 (fpclassify_test): Likewise.
2120 (frexp_test): Likewise.
2121 (hypot_test): Likewise.
2122 (ilogb_test): Likewise.
2123 (isfinite_test): Likewise.
2124 (finite_test): Likewise.
2125 (isgreater_test): Likewise.
2126 (isgreaterequal_test): Likewise.
2127 (isinf_test): Likewise.
2128 (isless_test): Likewise.
2129 (islessequal_test): Likewise.
2130 (islessgreater_test): Likewise.
2131 (isnan_test): Likewise.
2132 (isnormal_test): Likewise.
2133 (issignaling_test): Likewise.
2134 (isunordered_test): Likewise.
2135 (j0_test): Likewise.
2136 (j1_test): Likewise.
2137 (jn_test): Likewise.
2138 (ldexp_test): Likewise.
2139 (lgamma_test): Likewise.
2140 (gamma_test): Likewise.
2141 (lrint_test): Likewise.
2142 (lrint_test_tonearest): Likewise.
2143 (lrint_test_towardzero): Likewise.
2144 (lrint_test_downward): Likewise.
2145 (lrint_test_upward): Likewise.
2146 (llrint_test): Likewise.
2147 (llrint_test_tonearest): Likewise.
2148 (llrint_test_towardzero): Likewise.
2149 (llrint_test_downward): Likewise.
2150 (llrint_test_upward): Likewise.
2151 (log_test): Likewise.
2152 (log10_test): Likewise.
2153 (log1p_test): Likewise.
2154 (log2_test): Likewise.
2155 (logb_test): Likewise.
2156 (logb_test_downward): Likewise.
2157 (lround_test): Likewise.
2158 (llround_test): Likewise.
2159 (modf_test): Likewise.
2160 (nearbyint_test): Likewise.
2161 (nextafter_test): Likewise.
2162 (nexttoward_test): Likewise.
2163 (pow_test): Likewise.
2164 (pow_test_tonearest): Likewise.
2165 (pow_test_towardzero): Likewise.
2166 (pow_test_downward): Likewise.
2167 (pow_test_upward): Likewise.
2168 (remainder_test): Likewise.
2169 (drem_test): Likewise.
2170 (remainder_test_tonearest): Likewise.
2171 (drem_test_tonearest): Likewise.
2172 (remainder_test_towardzero): Likewise.
2173 (drem_test_towardzero): Likewise.
2174 (remainder_test_downward): Likewise.
2175 (drem_test_downward): Likewise.
2176 (remainder_test_upward): Likewise.
2177 (drem_test_upward): Likewise.
2178 (remquo_test): Likewise.
2179 (rint_test): Likewise.
2180 (rint_test_tonearest): Likewise.
2181 (rint_test_towardzero): Likewise.
2182 (rint_test_downward): Likewise.
2183 (rint_test_upward): Likewise.
2184 (round_test): Likewise.
2185 (scalb_test): Likewise.
2186 (scalbn_test): Likewise.
2187 (scalbln_test): Likewise.
2188 (signbit_test): Likewise.
2189 (sin_test): Likewise.
2190 (sin_test_tonearest): Likewise.
2191 (sin_test_towardzero): Likewise.
2192 (sin_test_downward): Likewise.
2193 (sin_test_upward): Likewise.
2194 (sincos_test): Likewise.
2195 (sinh_test): Likewise.
2196 (sinh_test_tonearest): Likewise.
2197 (sinh_test_towardzero): Likewise.
2198 (sinh_test_downward): Likewise.
2199 (sinh_test_upward): Likewise.
2200 (sqrt_test): Likewise.
2201 (sqrt_test_tonearest): Likewise.
2202 (sqrt_test_towardzero): Likewise.
2203 (sqrt_test_downward): Likewise.
2204 (sqrt_test_upward): Likewise.
2205 (tan_test): Likewise.
2206 (tan_test_tonearest): Likewise.
2207 (tan_test_towardzero): Likewise.
2208 (tan_test_downward): Likewise.
2209 (tan_test_upward): Likewise.
2210 (tanh_test): Likewise.
2211 (tgamma_test): Likewise.
2212 (trunc_test): Likewise.
2213 (y0_test): Likewise.
2214 (y1_test): Likewise.
2215 (yn_test): Likewise.
2216 (significand_test): Likewise.
2218 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2219 individual tests in comment.
2220 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2221 (prev_max_error): New variable.
2222 (prev_real_max_error): Likewise.
2223 (prev_imag_max_error): Likewise.
2224 (compare_ulp_data): Don't refer to test names in comment.
2225 (find_test_ulps): Remove function.
2226 (find_function_ulps): Likewise.
2227 (find_complex_function_ulps): Likewise.
2228 (init_max_error): Take function name as argument. Look up ulps
2230 (print_ulps): Remove function.
2231 (print_max_error): Use prev_max_error instead of calling
2233 (print_complex_max_error): Use prev_real_max_error and
2234 prev_imag_max_error instead of calling find_complex_function_ulps.
2235 (check_float_internal): Take max_ulp parameter instead of calling
2236 find_test_ulps. Don't call print_ulps.
2237 (check_float): Update call to check_float_internal.
2238 (check_complex): Update calls to check_float_internal.
2239 (START): Pass argument to init_max_error.
2240 * math/gen-libm-test.pl (%results): Don't include "kind"
2242 (parse_ulps): Don't handle ulps of individual tests.
2243 (print_ulps_file): Likewise.
2244 (output_ulps): Likewise.
2245 * math/README.libm-test: Update.
2246 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2248 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2249 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2250 * sysdeps/arm/libm-test-ulps: Likewise.
2251 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2252 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2253 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2254 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2255 * sysdeps/microblaze/libm-test-ulps: Likewise.
2256 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2257 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2259 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2260 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2261 * sysdeps/sh/libm-test-ulps: Likewise.
2262 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2263 * sysdeps/tile/libm-test-ulps: Likewise.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2268 * math/libm-test.inc (print_complex_max_error): Check separately
2269 whether real and imaginary errors are within allowed range and
2270 pass 0 to print_complex_function_ulps instead of value within
2273 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2275 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2277 (get_handles_fopen): Likewise.
2278 (do_write_test): Likewise.
2280 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2282 * libio/fileops.c (do_ftell): Use cached offset when
2284 * libio/iofwide.c (do_ftell_wide): Likewise.
2285 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2287 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2290 * libio/libioP.h (get_file_offset): New function.
2291 * libio/fileops.c (get_file_offset): Likewise.
2292 (do_ftell): Likewise.
2293 (_IO_new_file_seekoff): Split out ftell logic.
2294 * libio/wfileops.c (do_ftell_wide): Likewise.
2295 (_IO_wfile_seekoff): Split out ftell logic.
2296 * libio/tst-ftell-active-handler.c: New test case.
2297 * libio/Makefile (tests): Add it.
2299 2014-03-03 Roland McGrath <roland@hack.frob.com>
2301 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2302 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2304 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2307 * nscd/connections.c (nscd_init): Call do_exit.
2308 (start_threads): Call do_exit and notify_parent.
2309 (begin_drop_privileges): Call do_exit.
2310 (finish_drop_privileges): Likewise.
2311 * nscd/selinux.c (preserve_capabilities): Likewise.
2312 (install_real_capabilities): Likewise.
2313 (nscd_selinux_enabled): Likewise.
2314 (avc_create_thread): Likewise.
2315 (avc_alloc_lock): Likewise.
2316 (nscd_avc_init): Likewise.
2317 * nscd/nscd.c (parent_fd): New static variable.
2318 (main): Create a pipe between parent and child processes.
2319 Skip closing parent_fd.
2320 (monitor_child): New function.
2321 (do_exit): Likewise.
2322 (notify_parent): Likewise.
2323 * nscd/nscd.h (notify_parent): Likewise.
2324 (do_exit): Likewise.
2326 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2328 * malloc/malloc.c (__libc_calloc): Revert last change.
2330 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2334 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2336 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2340 (__libc_ifunc_impl_list): Likewise.
2341 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2342 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2343 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2344 * string/strrchr.c: Define STRRCHR.
2346 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2348 * benchtest/bench-strtok.c (simple_strtok): Delete.
2349 (strtok_string): Use as benchmark.
2350 * string/strtok (STRTOK): New macro.
2352 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2354 * manual/threads.texi: Add header and standard comments to all
2357 * elf/dl-lookup.c (check_match): New function.
2358 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2359 (do_lookup_x): Remove nested function check_match. Use non-nested
2360 function check_match.
2362 2014-02-28 Roland McGrath <roland@hack.frob.com>
2364 * csu/Makefile (generated, before-compile): Use += rather than =.
2365 * catgets/Makefile (generated, generated-dirs): Likewise.
2366 * debug/Makefile (generated): Likewise.
2367 * dlfcn/Makefile (generated): Likewise.
2368 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2369 * iconvdata/Makefile (before-compile, generated): Likewise.
2370 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2371 * libio/Makefile (generated): Likewise.
2372 * malloc/Makefile (generated): Likewise.
2373 * manual/Makefile (generated, generated-dirs): Likewise.
2374 * misc/Makefile (generated): Likewise.
2375 * posix/Makefile (generated): Likewise.
2376 * resolv/Makefile (generated): Likewise.
2377 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2378 * timezone/Makefile (generated, generated-dirs): Likewise.
2380 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2382 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2387 POWER8 llround ifunc implementation.
2388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2389 POWER8 implementation.
2390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2391 POWER8 llround implementation.
2393 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2398 POWER8 llrint ifunc implementation.
2399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2400 POWER8 implementation.
2401 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2402 POWER8 llrint implementation.
2404 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2409 POWER8 finite ifunc implementation.
2410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2411 POWER8 implementation.
2412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2414 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2415 POWER8 finite implementation.
2416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2418 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2423 POWER8 isinf ifunc implementation.
2424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2425 POWER8 implementation.
2426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2429 POWER8 isinf implementation.
2430 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2432 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2435 Add hwcap2 initialization.
2436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2439 POWER8 isnan ifunc implementation.
2440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2441 POWER8 implementation.
2442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2445 POWER8 isnan implementation.
2446 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2448 2014-02-27 Joey Ye <joey.ye@arm.com>
2450 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2451 (_FP_NANFRAC_Q): Set to zero.
2453 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2456 * math/auto-libm-test-in: New test inputs.
2457 * math/auto-libm-test-out: Regenerate.
2458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2463 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2465 * scripts/evaluate-test.sh: Take new argument indicating whether
2466 failure is expected.
2467 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2468 indicating whether failure is expected.
2469 * conform/Makefile (test-xfail-run-conformtest): New variable.
2470 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2472 * posix/Makefile (test-xfail-annexc): New variable.
2473 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2475 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2477 * argp/Makefile: Include Makeconfig immediately after defining
2479 * assert/Makefile: Likewise.
2480 * benchtests/Makefile: Likewise.
2481 * catgets/Makefile: Likewise.
2482 * conform/Makefile: Likewise.
2483 * crypt/Makefile: Likewise.
2484 * csu/Makefile: Likewise.
2485 (all): Remove target.
2486 * ctype/Makefile: Include Makeconfig immediately after defining
2488 * debug/Makefile: Likewise.
2489 * dirent/Makefile: Likewise.
2490 * dlfcn/Makefile: Likewise.
2491 * gmon/Makefile: Likewise.
2492 * gnulib/Makefile: Likewise.
2493 * grp/Makefile: Likewise.
2494 * gshadow/Makefile: Likewise.
2495 * hesiod/Makefile: Likewise.
2496 * hurd/Makefile: Likewise.
2497 (all): Remove target.
2498 * iconvdata/Makefile: Include Makeconfig immediately after
2500 * inet/Makefile: Likewise.
2501 * intl/Makefile: Likewise.
2502 * io/Makefile: Likewise.
2503 * libio/Makefile: Likewise.
2504 (all): Remove target.
2505 * locale/Makefile: Include Makeconfig immediately after defining
2507 * login/Makefile: Likewise.
2508 * mach/Makefile: Likewise.
2509 (all): Remove target.
2510 * malloc/Makefile: Include Makeconfig immediately after defining
2512 (all): Remove target.
2513 * manual/Makefile: Include Makeconfig immediately after defining
2515 * math/Makefile: Likewise.
2516 * misc/Makefile: Likewise.
2517 * nis/Makefile: Likewise.
2518 * nss/Makefile: Likewise.
2519 * po/Makefile: Likewise.
2520 (all): Remove target.
2521 * posix/Makefile: Include Makeconfig immediately after defining
2523 * pwd/Makefile: Likewise.
2524 * resolv/Makefile: Likewise.
2525 * resource/Makefile: Likewise.
2526 * rt/Makefile: Likewise.
2527 * setjmp/Makefile: Likewise.
2528 * shadow/Makefile: Likewise.
2529 * signal/Makefile: Likewise.
2530 * socket/Makefile: Likewise.
2531 * soft-fp/Makefile: Likewise.
2532 * stdio-common/Makefile: Likewise.
2533 * stdlib/Makefile: Likewise.
2534 * streams/Makefile: Likewise.
2535 * string/Makefile: Likewise.
2536 * sunrpc/Makefile: Likewise.
2537 (all): Remove target.
2538 * sysvipc/Makefile: Include Makeconfig immediately after defining
2540 * termios/Makefile: Likewise.
2541 * time/Makefile: Likewise.
2542 * timezone/Makefile: Likewise.
2543 (all): Remove target.
2544 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2546 * wctype/Makefile: Likewise.
2548 2014-02-26 Steve Ellcey <sellcey@mips.com>
2550 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2551 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2552 (libc_feholdexcept_setround_mips): Ditto.
2553 (libc_feholdsetround): New.
2554 (libc_feholdsetroundf): New.
2555 (libc_feholdsetroundl): New.
2556 (libc_feupdateenv_test_mips): New.
2557 (libc_feupdateenv_test): New.
2558 (libc_feupdateenv_testf): New.
2559 (libc_feupdateenv_testl): New.
2560 (libc_feresetround): New.
2561 (libc_feresetroundf): New.
2562 (libc_feresetroundl): New.
2563 (libc_fetestexcept_mips): New.
2564 (libc_fetestexcept): New.
2565 (libc_fetestexceptf): New.
2566 (libc_fetestexceptl): New.
2568 (libc_feholdexcept_setround_mips_ctx): New.
2569 (libc_feholdexcept_setround_ctx): New.
2570 (libc_feholdexcept_setroundf_ctx): New.
2571 (libc_feholdexcept_setroundl_ctx): New.
2572 (libc_fesetenv_mips_ctx): New.
2573 (libc_fesetenv_ctx): New.
2574 (libc_fesetenv_ctxf): New.
2575 (libc_fesetenv_ctxl): New.
2576 (libc_feupdateenv_mips_ctx): New.
2577 (libc_feupdateenv_ctx): New.
2578 (libc_feupdateenvf_ctx): New.
2579 (libc_feupdateenvl_ctx): New.
2580 (libc_feholdsetround_mips_ctx): New.
2581 (libc_feholdsetround_ctx): New.
2582 (libc_feholdsetroundf_ctx): New.
2583 (libc_feholdsetroundl_ctx): New.
2584 (libc_feresetround_mips_ctx): New.
2585 (libc_feresetround_ctx): New.
2586 (libc_feresetroundf_ctx): New.
2587 (libc_feresetroundl_ctx): New.
2589 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2591 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2593 * manual/ipc.texi: New file.
2594 * manual/Makefile (chapters): Add ipc.
2595 * manual/job.texi: Add "Inter-Process Communication" to next.
2596 * manual/process.texi: Add "Inter-Process Communication" to prev.
2598 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2602 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2604 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2606 * manual/arith.texi: Fix spaces after sentences.
2607 * manual/charset.texi: Likewise.
2608 * manual/errno.texi: Likewise.
2609 * manual/install.texi: Likewise.
2610 * manual/llio.texi: Likewise.
2611 * manual/locale.texi: Likewise.
2612 * manual/maint.texi: Likewise.
2613 * manual/math.texi: Likewise.
2614 * manual/memory.texi: Likewise.
2615 * manual/message.texi: Likewise.
2616 * manual/probes.texi: Likewise.
2617 * manual/resource.texi: Likewise.
2618 * manual/signal.texi: Likewise.
2619 * manual/socket.texi: Likewise.
2620 * manual/stdio.texi: Likewise.
2621 * manual/string.texi: Likewise.
2622 * manual/time.texi: Likewise.
2623 * manual/users.texi: Likewise.
2625 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2628 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2629 _DEFAULT_SOURCE is defined.
2631 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2632 Carlos O'Donell <carlos@redhat.com>
2635 * elf/dl-tls.c (_dl_count_modids): New function.
2636 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2637 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2638 audit library and increment generation counter.
2639 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2640 * elf/tst-audit9.c: New file.
2641 * elf/tst-auditmod9a.c: New file.
2642 * elf/tst-auditmod9b.c: New file.
2643 * elf/Makefile: Add rules to build and run tst-audit9.
2645 2014-02-25 Florian Weimer <fweimer@redhat.com>
2648 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2650 2014-02-25 Will Newton <will.newton@linaro.org>
2652 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2653 (__longjmp): Restore sp and lr before restoring callee
2654 saved registers. Add longjmp and longjmp_target
2655 SystemTap probe point.
2656 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2657 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2658 Define to zero to match jmpbuf layout.
2659 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2660 (__sigsetjmp): Save sp and lr before saving callee
2661 saved registers. Add setjmp SystemTap probe point.
2663 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2665 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2667 2014-02-24 Andreas Schwab <schwab@suse.de>
2670 * elf/pldd.c (wait_for_ptrace_stop): New function.
2671 (main): Call it after attaching.
2673 2014-02-22 Roland McGrath <roland@hack.frob.com>
2675 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2676 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2677 Versions files is now verboten.
2678 * hurd/Versions (libc: GLIBC_2.0):
2679 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2680 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2681 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2682 * mach/Versions: Likewise.
2684 * csu/Versions: Remove unused %include.
2685 * resolv/Versions: Likewise.
2687 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2689 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2690 ($(objpfx)check-local-headers.out): Likewise.
2691 ($(objpfx)begin-end-check.out): Likewise.
2692 * Makerules (check-abi-%.out): Likewise.
2693 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2694 ($(objpfx)test2.cat): Likewise.
2695 ($(objpfx)de/libc.cat): Likewise.
2696 ($(objpfx)test-gencat.out): Likewise.
2697 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2698 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2699 ($(objpfx)noload-mem): Likewise.
2700 ($(objpfx)tst-pathopt.out): Likewise.
2701 ($(objpfx)tst-rtld-load-self.out): Likewise.
2702 ($(objpfx)tst-array1-cmp.out): Likewise.
2703 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2704 ($(objpfx)tst-array2-cmp.out): Likewise.
2705 ($(objpfx)tst-array3-cmp.out): Likewise.
2706 ($(objpfx)tst-array4-cmp.out): Likewise.
2707 ($(objpfx)tst-array5-cmp.out): Likewise.
2708 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2709 ($(objpfx)check-textrel.out): Likewise.
2710 ($(objpfx)check-execstack.out): Likewise.
2711 ($(objpfx)check-localplt.out): Likewise.
2712 ($(objpfx)order2-cmp.out): Likewise.
2713 ($(objpfx)tst-leaks1-mem): Likewise.
2714 ($(objpfx)tst-leaks1-static-mem): Likewise.
2715 ($(objpfx)tst-initorder-cmp.out): Likewise.
2716 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2717 ($(objpfx)tst-unused-dep.out): Likewise.
2718 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2719 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2720 * iconv/Makefile (test-iconvconfig): Likewise.
2721 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2722 ($(objpfx)iconv-test.out): Likewise.
2723 ($(objpfx)tst-tables.out): Likewise.
2724 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2725 ($(objpfx)tst-gettext.out): Likewise.
2726 ($(objpfx)tst-translit.out): Likewise.
2727 ($(objpfx)tst-gettext2.out): Likewise.
2728 ($(objpfx)tst-gettext4.out): Likewise.
2729 ($(objpfx)tst-gettext6.out): Likewise.
2730 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2731 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2732 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2733 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2734 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2735 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2736 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2737 ($(objpfx)wordexp-tst.out): Likewise.
2738 ($(objpfx)annexc.out): Likewise.
2739 ($(objpfx)tst-fnmatch-mem): Likewise.
2740 ($(objpfx)bug-regex2-mem): Likewise.
2741 ($(objpfx)bug-regex14-mem): Likewise.
2742 ($(objpfx)bug-regex21-mem): Likewise.
2743 ($(objpfx)bug-regex31-mem): Likewise.
2744 ($(objpfx)tst-vfork3-mem): Likewise.
2745 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2746 ($(objpfx)tst-pcre-mem): Likewise.
2747 ($(objpfx)tst-boost-mem): Likewise.
2748 ($(objpfx)tst-getconf.out): Likewise.
2749 ($(objpfx)bug-ga2-mem): Likewise.
2750 ($(objpfx)bug-glob2-mem): Likewise.
2751 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2752 ($(objpfx)mtrace-tst-leaks2): Likewise.
2753 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2754 ($(objpfx)tst-printf.out): Likewise.
2755 ($(objpfx)tst-setvbuf1.out): Likewise.
2756 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2757 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2758 ($(objpfx)tst-fmtmsg.out): Likewise.
2759 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2760 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2762 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2763 * bits/sigaction.h [__USE_MISC]: Likewise.
2764 * bits/waitstatus.h: Update #endif comments.
2765 * ctype/ctype.h: Likewise.
2766 * dirent/dirent.h: Likewise.
2767 [__USE_MISC]: Remove redundant conditionals.
2768 * grp/grp.h: Update #endif comments.
2769 [__USE_GNU]: Remove redundant conditionals.
2770 [__USE_MISC]: Likewise.
2771 * inet/netinet/in.h [__USE_GNU]: Likewise.
2772 * io/sys/stat.h [__USE_MISC]: Likewise.
2773 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2774 * libio/bits/stdio.h: Update #endif comments.
2775 [__USE_MISC]: Remove redundant conditionals.
2776 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2777 * libio/stdio.h: Update #endif comments.
2778 [__USE_MISC]: Remove redundant conditionals.
2779 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2780 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2781 * math/math.h: Update #else and #endif comments.
2782 [__USE_MISC]: Remove redundant conditionals.
2783 * misc/sys/uio.h: Update #endif comments.
2784 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2785 * posix/glob.h [__USE_MISC]: Likewise.
2786 * posix/sys/types.h: Update #endif comments.
2787 [__USE_MISC]: Remove redundant conditionals.
2788 * posix/sys/wait.h: Update #endif comments.
2789 [__USE_MISC]: Remove redundant conditionals.
2790 * posix/unistd.h: Update #endif comments.
2791 [__USE_MISC]: Remove redundant conditionals.
2792 * pwd/pwd.h [__USE_GNU]: Likewise.
2793 [__USE_MISC]: Likewise.
2794 * resolv/netdb.h [__USE_GNU]: Likewise.
2795 * signal/signal.h: Update #endif comments.
2796 [__USE_MISC]: Remove redundant conditionals.
2797 * stdlib/stdlib.h: Update #else and #endif comments.
2798 [__USE_MISC]: Remove redundant conditionals.
2799 [__USE_GNU]: Likewise.
2800 * string/bits/string2.h [__USE_MISC]: Likewise.
2801 * string/string.h: Update #endif comments.
2802 [__USE_MISC]: Remove redundant conditionals.
2803 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2805 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2806 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2807 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2809 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2813 [__USE_MISC]: Remove redundant conditionals.
2814 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2815 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2816 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2817 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2818 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2820 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2821 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2823 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2826 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2828 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2829 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2831 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2833 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2834 * sysdeps/x86/bits/string.h: Update #endif comments.
2835 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2837 * time/sys/time.h: Update #endif comments.
2838 * time/time.h: Likewise.
2839 [__USE_MISC]: Remove redundant conditionals.
2841 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2844 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2846 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2848 * Versions.def (librt): Add GLIBC_2.17.
2850 2014-02-21 Adam Conrad <adconrad@0c3.net>
2852 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2853 synonym for _SYS_AUXV_H to allow direct inclusion.
2854 * sysdeps/sparc/bits/hwcap.h: Likewise.
2855 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2856 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2857 * sysdeps/sparc/sysdep.h: Likewise.
2859 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2861 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2863 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2865 * benchtests/bench-strrchr.c: Print length instead of position.
2867 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2870 * sysdeps/unix/sysv/linux/kernel-features.h
2871 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2872 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2873 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2874 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2876 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2877 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2878 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2879 (__ASSUME_SENDMMSG): Define instead of using previous
2880 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2881 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2882 (__ASSUME_SENDMMSG_SYSCALL): Define.
2883 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2884 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2886 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2887 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2889 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2890 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2893 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2894 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2895 [__ASSUME_SENDMMSG]: Change conditionals to
2896 [__ASSUME_SENDMMSG_SOCKETCALL].
2897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2898 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2900 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2901 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2903 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2904 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2905 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2906 [!__ASSUME_SENDMMSG]: Change conditional to
2907 [!__ASSUME_SENDMMSG_SOCKETCALL].
2908 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2909 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2913 * sysdeps/unix/sysv/linux/kernel-features.h
2914 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2915 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2916 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2917 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2918 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2919 [__i386__ || __sparc__]
2920 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2921 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2922 (__ASSUME_RECVMMSG): Define instead of using previous
2923 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2924 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2925 (__ASSUME_RECVMMSG_SYSCALL): Define.
2926 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2927 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2932 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2933 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2935 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2936 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2937 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2938 [__ASSUME_RECVMMSG]: Change condition to
2939 [__ASSUME_RECVMMSG_SOCKETCALL].
2940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2943 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2947 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2948 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2949 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2950 [!__ASSUME_RECVMMSG]: Change condition to
2951 [!__ASSUME_RECVMMSG_SOCKETCALL].
2952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2953 (__ASSUME_RECVMMSG_SYSCALL): Define.
2956 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2957 __powerpc__ || __s390__ || __sh__ || __sparc__]
2958 (__ASSUME_SOCKETCALL): Define.
2959 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2960 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2961 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2962 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2963 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2964 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2965 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2966 (__ASSUME_ACCEPT4): Define instead of using previous
2967 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2968 __powerpc__ || __sparc__ || __s390__)] condition.
2969 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2970 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2971 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2972 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2973 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2974 [!__ASSUME_ACCEPT4]: Change condition to
2975 [!__ASSUME_ACCEPT4_SOCKETCALL].
2976 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2977 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2978 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2979 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2980 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2981 __ASSUME_ACCEPT4_SYSCALL.
2982 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2983 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2984 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2985 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2986 __ASSUME_ACCEPT4_SYSCALL.
2987 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2988 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2989 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2990 [__ASSUME_ACCEPT4]: Change condition to
2991 [__ASSUME_ACCEPT4_SOCKETCALL].
2992 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2993 (__ASSUME_SOCKETCALL): Define.
2994 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2996 (__ASSUME_SOCKETCALL): Define.
2997 (__ASSUME_ACCEPT4): Remove.
2998 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3000 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3001 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3003 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3004 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3006 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3008 (HWCAP_ARM_LPAE): Likewise.
3009 (HWCAP_ARM_EVTSTRM): Likewise.
3010 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3011 Add vpfd32, lpae and evtstrm.
3012 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3015 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3017 * math/auto-libm-test-in: Add tests of clog10.
3018 * math/auto-libm-test-out: Regenerated.
3019 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3020 * sysdeps/i386/fpu/libm-test-ulps: Update.
3021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3023 2014-02-18 Andreas Schwab <schwab@suse.de>
3026 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3027 Store non-zero if the second buffer was newly allocated.
3028 (send_dg): Likewise.
3029 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3030 to send_vc and send_dg.
3031 (res_nsend): Pass NULL for ansp2_malloced.
3032 * resolv/res_query.c (__libc_res_nquery): Add parameter
3033 answerp2_malloced and pass it down to __libc_res_nsend.
3034 (res_nquery): Pass additional NULL to __libc_res_nquery.
3035 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3036 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3037 second answer buffer if answerp2_malloced was set.
3038 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3039 (__libc_res_nquerydomain): Add parameter
3040 answerp2_malloced and pass it down to __libc_res_nquery.
3041 (res_nquerydomain): Pass additional NULL to
3042 __libc_res_nquerydomain.
3043 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3044 additional NULL to __libc_res_nsend and __libc_res_nquery.
3045 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3046 additional NULL to __libc_res_nsearch.
3047 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3048 parameter of __libc_res_nsearch to check for separately allocated
3050 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3052 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3053 additional NULL to __libc_res_nquery.
3054 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3056 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3057 * include/resolv.h: Update prototypes of __libc_res_nquery,
3058 __libc_res_nsearch, __libc_res_nsend.
3060 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3062 * math/auto-libm-test-in: Add tests of fma.
3063 * math/auto-libm-test-out: Regenerated.
3064 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3065 (fma_towardzero_test_data): Likewise.
3066 (fma_downward_test_data): Likewise.
3067 (fma_upward_test_data): Likewise.
3068 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3070 (rounding_modes): Add values for new field.
3071 (func_calc_method): Add value mpfr_fff_f.
3072 (func_calc_desc): Add mpfr_fff_f union field.
3073 (test_function): Add field exact_args.
3074 (FUNC): Add macro argument EXACT_ARGS.
3075 (FUNC_mpfr_f_f): Update call to FUNC.
3076 (FUNC_mpfr_f_f): Likewise.
3077 (FUNC_mpfr_ff_f): Likewise.
3078 (FUNC_mpfr_if_f): Likewise.
3079 (FUNC_mpc_c_f): Likewise.
3080 (FUNC_mpc_c_c): Likewise.
3081 (test_functions): Add fma. Update calls to FUNC.
3082 (handle_input_arg): Add argument exact_args.
3083 (add_test): Update call to handle_input_arg.
3084 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3085 (output_for_one_input_case): Update call to calc_generic_results.
3086 Recalculate exact zero results in each rounding mode.
3088 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3089 non-negative before setting low bit.
3090 * math/auto-libm-test-in: Mark one asin test possibly having
3092 * math/auto-libm-test-out: Regenerated.
3093 * sysdeps/i386/fpu/libm-test-ulps: Update.
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3096 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3098 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3099 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3100 ports/sysdeps/unix/sysv/linux/microblaze.
3101 * README: Add missing listing for microblaze*-*-linux-gnu.
3103 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3105 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3106 * sysdeps/unix/sysv/linux/ia64: Move directory from
3107 ports/sysdeps/unix/sysv/linux/ia64.
3108 * README: Update listing for ia64-*-linux-gnu.
3110 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3111 Joseph Myers <joseph@codesourcery.com>
3113 * Makeconfig (test-name): New variable.
3114 (evaluate-test): Likewise.
3115 * Makerules (do-test-clean): Remove .test-result files.
3116 (common-mostlyclean): Likewise.
3117 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3118 * scripts/evaluate-test.sh: New file.
3120 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3122 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3123 separate $(objpfx)tst-fopenloc-cmp.out and
3124 $(objpfx)tst-fopenloc-mem.out targets.
3125 (tests): Update dependencies.
3126 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3127 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3128 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3129 (tst-rxspencer-no-utf8-ARGS): New variable.
3130 (tst-rxspencer-no-utf8-ENV): Likewise.
3131 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3132 instead of $(objpfx)tst-rxspencer-mem.
3133 ($(objpfx)tst-rxspencer-mem): Change target to
3134 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3135 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3136 * posix/tst-rxspencer-no-utf8.c: New file.
3138 * elf/Makefile ($(objpfx)order.out): Remove rule.
3139 [$(run-built-tests) = yes] (tests): Depend on
3140 $(objpfx)order-cmp.out.
3141 ($(objpfx)order-cmp.out): New rule.
3142 [$(run-built-tests) = yes] (tests): Depend on
3143 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3144 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3145 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3146 $(objpfx)tst-array5-static-cmp.out.
3147 ($(objpfx)tst-array1.out): Remove rule.
3148 ($(objpfx)tst-array1-cmp.out): New rule.
3149 ($(objpfx)tst-array1-static.out): Remove rule.
3150 ($(objpfx)tst-array1-static-cmp.out): New rule.
3151 ($(objpfx)tst-array2.out): Remove rule.
3152 ($(objpfx)tst-array2-cmp.out): New rule.
3153 ($(objpfx)tst-array3.out): Remove rule.
3154 ($(objpfx)tst-array3-cmp.out): New rule.
3155 ($(objpfx)tst-array4.out): Remove rule.
3156 ($(objpfx)tst-array4-cmp.out): New rule.
3157 ($(objpfx)tst-array5.out): Remove rule.
3158 ($(objpfx)tst-array5-cmp.out): New rule.
3159 ($(objpfx)tst-array5-static.out): Remove rule.
3160 ($(objpfx)tst-array5-static-cmp.out): New rule.
3161 [$(run-built-tests) = yes] (tests): Depend on
3162 $(objpfx)order2-cmp.out.
3163 ($(objpfx)order2.out): Remove rule.
3164 ($(objpfx)order2-cmp.out): New rule.
3165 ($(objpfx)tst-initorder.out): Remove rule.
3166 [$(run-built-tests) = yes] (tests): Depend on
3167 $(objpfx)tst-initorder-cmp.out.
3168 ($(objpfx)tst-initorder-cmp.out): New rule.
3169 ($(objpfx)tst-initorder2.out): Remove rule.
3170 [$(run-built-tests) = yes] (tests): Depend on
3171 $(objpfx)tst-initorder2-cmp.out.
3172 ($(objpfx)tst-initorder2-cmp.out): New rule.
3173 [$(run-built-tests) = yes] (tests): Depend on
3174 $(objpfx)tst-unused-dep-cmp.out.
3175 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3176 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3177 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3178 on $(objpfx)tst-setvbuf1-cmp.out.
3179 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3180 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3181 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3182 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3183 ($(objpfx)tst-svc.out): Remove rule.
3184 ($(objpfx)tst-svc-cmp.out): New rule.
3186 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3188 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3189 * ctype/ctype.h [__USE_MISC]: Likewise.
3190 * dirent/dirent.h [__USE_MISC]: Likewise.
3191 * grp/grp.h [__USE_MISC]: Likewise.
3192 * io/fcntl.h [__USE_MISC]: Likewise.
3193 * io/sys/stat.h [__USE_MISC]: Likewise.
3194 * libio/stdio.h [__USE_MISC]: Likewise.
3195 * posix/unistd.h [__USE_MISC]: Likewise.
3196 * pwd/pwd.h [__USE_MISC]: Likewise.
3197 * stdlib.h [__USE_MISC]: Likewise.
3198 * string/bits/string2.h [__USE_MISC]: Likewise.
3199 * string/string.h [__USE_MISC]: Likewise.
3200 * time/time.h [__USE_MISC]: Likewise.
3202 2014-02-13 Andreas Schwab <schwab@suse.de>
3205 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3206 second answer buffer if it was separately allocated.
3208 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3210 * sysdeps/mips/math-tests.h: Include <features.h>.
3211 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3212 (ROUNDING_TESTS_long_double): Do not define.
3213 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3214 (EXCEPTION_TESTS_long_double): Likewise.
3215 * sysdeps/mips/mips64/libm-test-ulps: Update.
3217 * include/features.h (__USE_BSD): Remove macro definitions.
3218 (__USE_SVID): Likewise.
3219 (_BSD_SOURCE): Likewise.
3220 (_SVID_SOURCE): Likewise.
3221 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3222 from definition of _DEFAULT_SOURCE.
3223 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3225 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3226 * bits/mman.h [__USE_BSD]: Likewise.
3227 * bits/termios.h [__USE_BSD]: Likewise.
3228 * bits/waitstatus.h [__USE_BSD]: Likewise.
3229 * ctype/ctype.h [__USE_SVID]: Likewise.
3230 * dirent/dirent.h [__USE_BSD]: Likewise.
3231 * grp/grp.h [__USE_SVID]: Likewise.
3232 [__USE_BSD]: Likewise.
3233 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3234 * io/fcntl.h [__USE_BSD]: Likewise.
3235 * io/ftw.h [__USE_BSD]: Likewise.
3236 * io/sys/stat.h [__USE_BSD]: Likewise.
3237 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3238 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3239 * libio/stdio.h [__USE_SVID]: Likewise.
3240 [__USE_BSD]: Likewise.
3241 * math/math.h [__USE_SVID]: Likewise.
3242 [__USE_BSD]: Likewise.
3243 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3244 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3245 * misc/search.h [__USE_SVID]: Likewise.
3246 * misc/sys/mman.h [__USE_BSD]: Likewise.
3247 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3248 * misc/sys/uio.h [__USE_BSD]: Likewise.
3249 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3250 * posix/glob.h [__USE_BSD]: Likewise.
3251 * posix/regex.h [__USE_BSD]: Likewise.
3252 * posix/sys/types.h [__USE_BSD]: Likewise.
3253 [__USE_SVID]: Likewise.
3254 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3255 * posix/sys/wait.h [__USE_BSD]: Likewise.
3256 [__USE_SVID]: Likewise.
3257 * posix/unistd.h [__USE_BSD]: Likewise.
3258 [__USE_SVID]: Likewise.
3259 * pwd/pwd.h [__USE_SVID]: Likewise.
3260 * resolv/netdb.h [__USE_BSD]: Likewise.
3261 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3262 * signal/signal.h [__USE_BSD]: Likewise.
3263 [__USE_SVID]: Likewise.
3264 * socket/sys/socket.h [__USE_BSD]: Likewise.
3265 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3266 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3267 [__USE_SVID]: Likewise.
3268 * string/bits/string2.h [__USE_BSD]: Likewise.
3269 [__USE_SVID]: Likewise.
3270 * string/bits/string3.h [__USE_BSD]: Likewise.
3271 * string/endian.h [__USE_BSD]: Likewise.
3272 * string/string.h [__USE_SVID]: Likewise.
3273 [__USE_BSD]: Likewise.
3274 * string/strings.h [__USE_BSD]: Likewise.
3275 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3276 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3277 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3278 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3279 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3280 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3284 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3285 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3287 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3288 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3290 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3292 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3293 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3296 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3298 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3299 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3300 * termios/termios.h [__USE_BSD]: Likewise.
3301 * time/sys/time.h [__USE_BSD]: Likewise.
3302 * time/time.h [__USE_BSD]: Likewise.
3303 [__USE_SVID]: Likewise.
3305 * Makefile (subdir_targets): Remove subdir_lint.out.
3307 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3308 (do-tst-printf): Likewise.
3309 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3310 $(objpfx)tst-printf.out.
3312 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3314 * Makerules (check-abi-%): Change target to
3315 $(objpfx)check-abi-%.out.
3316 (check-abi target): Update dependencies.
3317 (check-abi-pattern variable): Redirect output of diff to $@.
3318 (check-abi variable): Likewise.
3319 * elf/Makefile (check-abi): Update dependencies.
3321 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3323 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3324 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3326 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3327 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3328 value has largest subnormal exponent.
3329 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3330 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3331 * sysdeps/aarch64/soft-fp/sfp-machine.h
3332 (_FP_TININESS_AFTER_ROUNDING): New macro.
3333 * sysdeps/alpha/soft-fp/sfp-machine.h
3334 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3335 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3337 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3339 * sysdeps/mips/soft-fp/sfp-machine.h
3340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3341 * sysdeps/powerpc/soft-fp/sfp-machine.h
3342 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3343 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3345 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3346 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3348 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3349 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3352 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3355 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3358 2014-02-12 Richard Henderson <rth@redhat.com>
3360 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3361 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3362 * sysdeps/unix/sysv/linux/alpha: Move directory from
3363 ports/sysdeps/unix/sysv/linux/alpha.
3364 * README: Update listing for alpha-*-linux-gnu.
3366 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3368 * include/features.h: Update comment documenting feature test
3370 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3372 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3373 (_SVID_SOURCE): Likewise.
3374 (_DEFAULT_SOURCE): Update description of default features.
3375 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3377 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3378 (S_ISVTX): Likewise.
3379 * manual/math.texi (Mathematical Constants): Likewise.
3380 * manual/signal.texi (Interrupted Primitives): Likewise.
3381 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3382 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3383 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3384 Don't refer to _SVID_SOURCE in warning text.
3386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3388 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3390 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3391 * sysdeps/mips/dl-lookup.c: Remove.
3392 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3394 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3397 * math/auto-libm-test-in: Add testcase for expl.
3398 * math/auto-libm-test-out: Regenerate.
3399 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3400 calculation of unsafe.
3401 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3403 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3405 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3406 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3407 ports/sysdeps/unix/sysv/linux/aarch64.
3408 * README: Update listing for aarch64*-*-linux-gnu.
3410 2014-02-11 Will Newton <will.newton@linaro.org>
3412 * manual/probes.texi (Mathematical Function Probes): Use
3413 "triggered" instead of "hit".
3415 2014-02-11 Will Newton <will.newton@linaro.org>
3417 * manual/probes.texi (Internal Probes): Add documentation
3418 of setjmp, longjmp and longjmp_target probes.
3420 2014-02-11 Will Newton <will.newton@linaro.org>
3422 * include/stap-probe.h: Add comment about probe argument
3425 2014-02-11 Will Newton <will.newton@linaro.org>
3427 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3428 definition. (tr_where, tr_freehook, tr_mallochook,
3429 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3431 2014-02-11 David S. Miller <davem@davemloft.net>
3433 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3434 processing int_tests.
3436 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3438 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3439 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3440 * sysdeps/unix/sysv/linux/mips: Move directory from
3441 ports/sysdeps/unix/sysv/linux/mips.
3442 * README: Update listing for mips-*-linux-gnu and
3445 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3447 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3448 * sysdeps/unix/sysv/linux/m68k: Move directory from
3449 ports/sysdeps/unix/sysv/linux/m68k.
3450 * README: Update listing for m68k-*-linux-gnu.
3452 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3454 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3455 * sysdeps/unix/sysv/linux/generic: Move directory from
3456 ports/sysdeps/unix/sysv/linux/generic.
3457 * sysdeps/unix/sysv/linux/tile: Move directory from
3458 ports/sysdeps/unix/sysv/linux/tile.
3459 * README: Update listing for tile*-*-linux-gnu.
3461 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3463 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3464 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3465 * catgets/open_catalog.c (__open_catalog): Likewise.
3466 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3467 * debug/confstr_chk.c: Likewise.
3468 * debug/fread_chk.c (__fread_chk): Likewise.
3469 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3470 * debug/getgroups_chk.c: Likewise.
3471 * debug/mbsnrtowcs_chk.c: Likewise.
3472 * debug/mbsrtowcs_chk.c: Likewise.
3473 * debug/mbstowcs_chk.c: Likewise.
3474 * debug/memcpy_chk.c: Likewise.
3475 * debug/memmove_chk.c: Likewise.
3476 * debug/mempcpy_chk.c: Likewise.
3477 * debug/memset_chk.c: Likewise.
3478 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3479 * debug/strcat_chk.c (__strcat_chk): Likewise.
3480 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3481 * debug/strncat_chk.c (__strncat_chk): Likewise.
3482 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3483 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3484 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3485 * debug/wcpncpy_chk.c: Likewise.
3486 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3487 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3488 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3489 * debug/wcsncpy_chk.c: Likewise.
3490 * debug/wcsnrtombs_chk.c: Likewise.
3491 * debug/wcsrtombs_chk.c: Likewise.
3492 * debug/wcstombs_chk.c: Likewise.
3493 * debug/wmemcpy_chk.c: Likewise.
3494 * debug/wmemmove_chk.c: Likewise.
3495 * debug/wmempcpy_chk.c: Likewise.
3496 * debug/wmemset_chk.c: Likewise.
3497 * dirent/scandirat.c (SCANDIRAT): Likewise.
3498 * dlfcn/dladdr1.c (dladdr1): Likewise.
3499 * dlfcn/dladdr.c (dladdr): Likewise.
3500 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3501 * dlfcn/dlerror.c (__dlerror): Likewise.
3502 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3503 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3504 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3505 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3506 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3507 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3508 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3509 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3511 * elf/dl-conflict.c: Likewise.
3512 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3513 * elf/dl-dst.h: Likewise.
3514 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3515 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3516 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3517 * elf/dl-init.c (call_init, _dl_init): Likewise.
3518 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3519 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3520 _dl_map_object_from_fd, open_verify, open_path,
3521 _dl_map_object): Likewise.
3522 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3524 * elf/dl-minimal.c (__libc_memalign): Likewise.
3525 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3526 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3527 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3528 * elf/dl-sym.c (do_sym): Likewise.
3529 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3530 _dl_tls_get_addr_soft): Likewise.
3531 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3532 * elf/dl-writev.h (_dl_writev): Likewise.
3533 * elf/ldconfig.c (search_dir): Likewise.
3534 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3536 * elf/setup-vdso.h (setup_vdso): Likewise.
3537 * grp/compat-initgroups.c (compat_call): Likewise.
3538 * grp/fgetgrent.c (fgetgrent): Likewise.
3539 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3540 * grp/putgrent.c (putgrent): Likewise.
3541 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3543 * hurd/hurdinit.c: Likewise.
3544 * iconvdata/8bit-gap.c (struct): Likewise.
3545 * iconvdata/ansi_x3.110.c : Likewise.
3546 * iconvdata/big5.c : Likewise.
3547 * iconvdata/big5hkscs.c : Likewise.
3548 * iconvdata/cp1255.c: Likewise.
3549 * iconvdata/cp1258.c : Likewise.
3550 * iconvdata/cp932.c : Likewise.
3551 * iconvdata/euc-cn.c: Likewise.
3552 * iconvdata/euc-jisx0213.c : Likewise.
3553 * iconvdata/euc-jp.c: Likewise.
3554 * iconvdata/euc-jp-ms.c : Likewise.
3555 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3556 * iconvdata/gb18030.c : Likewise.
3557 * iconvdata/gbbig5.c (const): Likewise.
3558 * iconvdata/gbgbk.c: Likewise.
3559 * iconvdata/gbk.c : Likewise.
3560 * iconvdata/ibm1364.c : Likewise.
3561 * iconvdata/ibm930.c : Likewise.
3562 * iconvdata/ibm932.c: Likewise.
3563 * iconvdata/ibm933.c : Likewise.
3564 * iconvdata/ibm935.c : Likewise.
3565 * iconvdata/ibm937.c : Likewise.
3566 * iconvdata/ibm939.c : Likewise.
3567 * iconvdata/ibm943.c: Likewise.
3568 * iconvdata/iso_11548-1.c: Likewise.
3569 * iconvdata/iso-2022-cn.c : Likewise.
3570 * iconvdata/iso-2022-cn-ext.c : Likewise.
3571 * iconvdata/iso-2022-jp-3.c: Likewise.
3572 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3573 * iconvdata/iso-2022-kr.c : Likewise.
3574 * iconvdata/iso646.c (gconv_end): Likewise.
3575 * iconvdata/iso_6937-2.c : Likewise.
3576 * iconvdata/iso_6937.c : Likewise.
3577 * iconvdata/iso8859-1.c: Likewise.
3578 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3579 * iconvdata/shift_jisx0213.c : Likewise.
3580 * iconvdata/sjis.c : Likewise.
3581 * iconvdata/t.61.c : Likewise.
3582 * iconvdata/tcvn5712-1.c : Likewise.
3583 * iconvdata/tscii.c: Likewise.
3584 * iconvdata/uhc.c : Likewise.
3585 * iconvdata/unicode.c (gconv_end): Likewise.
3586 * iconvdata/utf-16.c (gconv_end): Likewise.
3587 * iconvdata/utf-32.c (gconv_end): Likewise.
3588 * iconvdata/utf-7.c (base64): Likewise.
3589 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3590 * iconv/gconv_close.c (__gconv_close): Likewise.
3591 * iconv/gconv_open.c (__gconv_open): Likewise.
3592 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3593 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3594 internal_ucs4le_loop_single, ucs4le_internal_loop,
3595 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3596 * iconv/iconv.c (iconv): Likewise.
3597 * iconv/iconv_close.c: Likewise.
3598 * iconv/loop.c (SINGLE): Likewise.
3599 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3600 * include/atomic.h: Likewise.
3601 * inet/inet6_option.c (option_alloc): Likewise.
3602 * intl/bindtextdom.c (set_binding_values): Likewise.
3603 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3604 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3605 * intl/localealias.c (read_alias_file): Likewise.
3606 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3607 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3608 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3609 * libio/fmemopen.c (fmemopen): Likewise.
3610 * libio/iofgets.c (_IO_fgets): Likewise.
3611 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3612 * libio/iofgetws.c (fgetws): Likewise.
3613 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3614 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3615 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3616 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3617 * locale/findlocale.c (_nl_find_locale): Likewise.
3618 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3619 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3621 * locale/setlocale.c (setlocale): Likewise.
3622 * login/programs/pt_chown.c (main): Likewise.
3623 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3624 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3625 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3626 mmap, mmap64, mremap, munmap): Likewise.
3627 * math/e_exp2l.c: Likewise.
3628 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3629 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3630 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3631 * math/s_catan.c (__catan): Likewise.
3632 * math/s_catanf.c (__catanf): Likewise.
3633 * math/s_catanh.c (__catanh): Likewise.
3634 * math/s_catanhf.c (__catanhf): Likewise.
3635 * math/s_catanhl.c (__catanhl): Likewise.
3636 * math/s_catanl.c (__catanl): Likewise.
3637 * math/s_ccosh.c (__ccosh): Likewise.
3638 * math/s_ccoshf.c (__ccoshf): Likewise.
3639 * math/s_ccoshl.c (__ccoshl): Likewise.
3640 * math/s_cexp.c (__cexp): Likewise.
3641 * math/s_cexpf.c (__cexpf): Likewise.
3642 * math/s_cexpl.c (__cexpl): Likewise.
3643 * math/s_clog10.c (__clog10): Likewise.
3644 * math/s_clog10f.c (__clog10f): Likewise.
3645 * math/s_clog10l.c (__clog10l): Likewise.
3646 * math/s_clog.c (__clog): Likewise.
3647 * math/s_clogf.c (__clogf): Likewise.
3648 * math/s_clogl.c (__clogl): Likewise.
3649 * math/s_csin.c (__csin): Likewise.
3650 * math/s_csinf.c (__csinf): Likewise.
3651 * math/s_csinh.c (__csinh): Likewise.
3652 * math/s_csinhf.c (__csinhf): Likewise.
3653 * math/s_csinhl.c (__csinhl): Likewise.
3654 * math/s_csinl.c (__csinl): Likewise.
3655 * math/s_csqrt.c (__csqrt): Likewise.
3656 * math/s_csqrtf.c (__csqrtf): Likewise.
3657 * math/s_csqrtl.c (__csqrtl): Likewise.
3658 * math/s_ctan.c (__ctan): Likewise.
3659 * math/s_ctanf.c (__ctanf): Likewise.
3660 * math/s_ctanh.c (__ctanh): Likewise.
3661 * math/s_ctanhf.c (__ctanhf): Likewise.
3662 * math/s_ctanhl.c (__ctanhl): Likewise.
3663 * math/s_ctanl.c (__ctanl): Likewise.
3664 * math/w_pow.c: Likewise.
3665 * math/w_powf.c: Likewise.
3666 * math/w_powl.c: Likewise.
3667 * math/w_scalb.c (sysv_scalb): Likewise.
3668 * math/w_scalbf.c (sysv_scalbf): Likewise.
3669 * math/w_scalbl.c (sysv_scalbl): Likewise.
3670 * misc/error.c (error_tail): Likewise.
3671 * misc/pselect.c (__pselect): Likewise.
3672 * nis/nis_callback.c (__nis_create_callback): Likewise.
3673 * nis/nis_call.c (__nisfind_server): Likewise.
3674 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3675 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3676 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3677 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3678 * nis/nis_lookup.c (nis_lookup): Likewise.
3679 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3680 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3681 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3682 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3683 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3684 internal_getgrgid_r): Likewise.
3685 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3687 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3688 internal_getpwuid_r): Likewise.
3689 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3690 internal_getspnam_r): Likewise.
3691 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3692 _nss_nis_getaliasbyname_r): Likewise.
3693 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3694 _nss_nis_getntohost_r): Likewise.
3695 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3696 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3698 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3699 internal_nis_gethostent_r, internal_gethostbyname2_r,
3700 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3701 _nss_nis_gethostbyname4_r): Likewise.
3702 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3703 initgroups_netid): Likewise.
3704 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3705 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3706 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3707 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3708 _nss_nis_getprotobynumber_r): Likewise.
3709 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3710 _nss_nis_getsecretkey): Likewise.
3711 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3712 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3714 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3715 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3716 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3717 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3718 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3719 _nss_nis_getspnam_r): Likewise.
3720 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3723 _nss_nisplus_getntohost_r): Likewise.
3724 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3725 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3726 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3727 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3728 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3730 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3731 _nss_nisplus_getnetbyaddr_r): Likewise.
3732 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3733 _nss_nisplus_getprotobynumber_r): Likewise.
3734 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3735 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3736 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3738 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3739 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3740 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3741 _nss_nisplus_getspnam_r): Likewise.
3742 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3743 * nscd/aicache.c (addhstaiX): Likewise.
3744 * nscd/cache.c (cache_search, prune_cache): Likewise.
3745 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3746 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3747 * nscd/grpcache.c (addgrbyX): Likewise.
3748 * nscd/hstcache.c (addhstbyX): Likewise.
3749 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3750 * nscd/mem.c (gc, mempool_alloc): Likewise.
3751 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3753 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3755 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3756 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3757 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3759 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3761 * nscd/nscd_helper.c (__readvall, open_socket,
3762 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3763 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3764 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3765 * nscd/pwdcache.c (addpwbyX): Likewise.
3766 * nscd/selinux.c (preserve_capabilities): Likewise.
3767 * nscd/servicescache.c (addservbyX): Likewise.
3768 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3769 * posix/fnmatch.c (fnmatch): Likewise.
3770 * posix/getopt.c (_getopt_internal_r): Likewise.
3771 * posix/glob.c (glob, glob_in_dir): Likewise.
3772 * posix/wordexp.c (exec_comm_child): Likewise.
3773 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3774 gaih_getanswer_slice): Likewise.
3775 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3776 * resolv/res_init.c: Likewise.
3777 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3778 * resolv/res_query.c (__libc_res_nquery): Likewise.
3779 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3782 * stdio-common/perror.c (perror): Likewise.
3783 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3784 * stdio-common/tmpnam.c (tmpnam): Likewise.
3785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3786 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3787 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3788 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3789 * stdlib/putenv.c (putenv): Likewise.
3790 * stdlib/setenv.c (__add_to_environ): Likewise.
3791 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3792 * stdlib/strtol_l.c (INTERNAL): Likewise.
3793 * string/memmem.c (memmem): Likewise.
3794 * string/strerror.c (strerror): Likewise.
3795 * string/strnlen.c (__strnlen): Likewise.
3796 * string/test-memmem.c (simple_memmem): Likewise.
3797 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3798 * sunrpc/pm_getport.c (__get_socket): Likewise.
3799 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3800 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3801 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3802 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3804 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3805 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3806 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3807 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3808 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3809 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3810 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3811 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3812 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3814 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3815 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3817 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3818 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3819 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3820 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3821 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3828 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3832 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3833 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3834 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3844 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3846 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3848 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3850 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3852 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3854 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3855 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3856 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3857 * sysdeps/posix/sleep.c: Likewise.
3858 * sysdeps/posix/tempname.c: Likewise.
3859 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3863 elf_machine_rela): Likewise.
3864 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3866 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3869 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3870 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3871 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3872 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3873 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3874 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3875 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3876 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3877 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3878 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3880 elf_machine_lazy_rel): Likewise.
3881 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3883 elf_machine_lazy_rel): Likewise.
3884 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3885 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3886 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3887 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3888 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3889 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3890 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3893 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3894 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3895 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3896 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3897 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3898 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3899 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3900 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3901 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3902 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3903 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3905 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3906 (__posix_fallocate64_l64): Likewise.
3907 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3908 (posix_fallocate): Likewise.
3909 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3911 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3912 getifaddrs_internal): Likewise.
3913 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3914 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3915 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3916 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3917 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3918 (__posix_fallocate64_l64): Likewise.
3919 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3921 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3924 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3925 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3926 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3929 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3930 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3931 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3933 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3934 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3935 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3937 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3938 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3939 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3941 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3942 (posix_fallocate): Likewise.
3943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3944 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3945 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3946 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3947 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3949 * time/asctime.c (asctime_internal): Likewise.
3950 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3951 * time/tzset.c (__tzset_parse_tz): Likewise.
3952 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3953 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3954 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3955 * wcsmbs/wcsmbsload.h: Likewise.
3957 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3960 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3962 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3964 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3965 arena_get2): Remove THREAD_STATS conditionals.
3966 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3967 __malloc_stats, int): Likewise.
3969 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3971 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3972 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3974 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3976 * manual/setjmp.texi: Fix typos/grammar errors.
3978 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3980 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3981 Only return early when n is <= 0. Delete unused return statement.
3983 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3985 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3986 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3987 * debug/tst-longjmp_chk3.c: New file.
3989 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3991 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3992 (test_main): Replace code with set_fortify_handler call.
3993 * debug/test-strcpy_chk.c: Likewise.
3994 * debug/tst-chk1.c: Likewise.
3995 * debug/tst-longjmp_chk.c: Likewise.
3996 * test-skeleton.c: Include fcntl.h & paths.h
3997 (set_fortify_handler): Define.
3999 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4001 * debug/tst-longjmp_chk.c: Add header comment and include
4003 (do_test): Mark static.
4004 (TEST_FUNCTION): Define.
4006 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4008 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4009 (IP_PMTUDISC_INTERFACE): Likewise.
4010 (IP_MULTICAST_IF): Likewise.
4011 (IP_MULTICAST_TTL): Likewise.
4012 (IP_MULTICAST_LOOP): Likewise.
4013 (IP_ADD_MEMBERSHIP): Likewise.
4014 (IP_DROP_MEMBERSHIP): Likewise.
4015 (IP_UNBLOCK_SOURCE): Likewise.
4016 (IP_BLOCK_SOURCE): Likewise.
4017 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4018 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4019 (IP_MSFILTER): Likewise.
4020 (MCAST_JOIN_GROUP): Likewise.
4021 (MCAST_BLOCK_SOURCE): Likewise.
4022 (MCAST_UNBLOCK_SOURCE): Likewise.
4023 (MCAST_LEAVE_GROUP): Likewise.
4024 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4025 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4026 (MCAST_MSFILTER): Likewise.
4027 (IP_MULTICAST_ALL): Likewise.
4028 (IP_UNICAST_IF): Likewise.
4030 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4032 * timezone/Makefile: Delete $(have-ksh) check.
4033 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4034 * timezone/tzselect.ksh: Add +x mode bits.
4036 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4038 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4039 (ANON_INODE_FS_MAGIC): Likewise.
4040 (BDEVFS_MAGIC): Likewise.
4041 (BINFMTFS_MAGIC): Likewise.
4042 (BTRFS_TEST_MAGIC): Likewise.
4043 (CRAMFS_MAGIC_WEND): Likewise.
4044 (DEBUGFS_MAGIC): Likewise.
4045 (ECRYPTFS_SUPER_MAGIC): Likewise.
4046 (EXT3_SUPER_MAGIC): Likewise.
4047 (EXT4_SUPER_MAGIC): Likewise.
4048 (FUTEXFS_SUPER_MAGIC): Likewise.
4049 (HOSTFS_SUPER_MAGIC): Likewise.
4050 (HUGETLBFS_MAGIC): Likewise.
4051 (MINIX3_SUPER_MAGIC): Likewise.
4052 (MTD_INODE_FS_MAGIC): Likewise.
4053 (NILFS_SUPER_MAGIC): Likewise.
4054 (OPENPROM_SUPER_MAGIC): Likewise.
4055 (PIPEFS_MAGIC): Likewise.
4056 (PSTOREFS_MAGIC): Likewise.
4057 (QNX6_SUPER_MAGIC): Likewise.
4058 (RAMFS_MAGIC): Likewise.
4059 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4060 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4061 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4062 (SECURITYFS_MAGIC): Likewise.
4063 (SELINUX_MAGIC): Likewise.
4064 (SMACK_MAGIC): Likewise.
4065 (SOCKFS_MAGIC): Likewise.
4066 (SQUASHFS_MAGIC): Likewise.
4067 (STACK_END_MAGIC): Likewise.
4068 (TMPFS_MAGIC): Likewise.
4069 (USBDEVICE_SUPER_MAGIC): Likewise.
4070 (V9FS_MAGIC): Likewise.
4071 (XENFS_SUPER_MAGIC): Likewise.
4072 (CRAMFS_MAGIC): Fix typo in comment.
4073 (EXT2_SUPER_MAGIC): Update comment.
4074 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4076 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4079 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4080 * sysdeps/unix/sysv/linux/arm: Move directory from
4081 ports/sysdeps/unix/sysv/linux/arm.
4082 * README: Update listing for arm-*-linux-gnueabi.
4084 * README: Remove mention of am33.
4086 2014-02-07 Roland McGrath <roland@hack.frob.com>
4088 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4089 than the comma operator, to avoid "rhs of comma has no effect"
4091 (__sigfillset, __sigandset, __sigorset): Likewise.
4092 * include/signal.h (__sigemptyset): Likewise.
4093 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4095 2014-02-07 Allan McRae <allan@archlinux.org>
4097 * version.h (RELEASE): Set to "development".
4098 (VERSION): Set to "2.19.90"
4099 * NEWS: Add 2.20 section.
4101 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4104 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4106 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * manual/contrib.texi: Update entry for Carlos O'Donell,
4109 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4111 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4113 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4115 * sysdeps/unix/sysv/linux/kernel-features.h
4116 [__LINUX_KERNEL_VERSION >= 0x020621]
4117 (__ASSUME_PROC_PID_TASK_COMM): Define.
4119 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4122 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4123 conversion when destination buffer does not have enough space.
4124 * libio/tst-ftell-partial-wide.c: New test case.
4125 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4127 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4128 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4129 Leonard and Allan McRae.
4131 2014-02-04 David S. Miller <davem@davemloft.net>
4133 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4136 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4165 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4168 * shlib-versions: Likewise.
4170 2014-02-04 Roland McGrath <roland@hack.frob.com>
4171 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4174 (abilist-pattern): New variable, set to %-le.abilist.
4176 * Makerules (abilist-pattern): New variable.
4177 (vpath): Use $(abilist-pattern) in place of %.abilist.
4178 (check-abi-% pattern rule): Likewise.
4179 (check-abi, update-abi): Likewise.
4181 2014-02-04 Eric Wong <normalperson@yhbt.net>
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4185 2014-02-04 Eric Wong <normalperson@yhbt.net>
4187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4189 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4191 * manual/startup.texi: Add next, previous, and top entries for
4192 the `Program Arguments' and `Environment Variables' nodes.
4194 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4196 * manual/macros.texi: Add comments before MTASC-safety macros.
4198 * manual/users.texi: Document MTASC-safety properties.
4200 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4201 pthread_getspecific, pthread_setspecific): Format with
4202 @deftypefun, and add @safety note.
4203 * manual/signal.texi: Move comments that analyze the above
4204 functions to their home place.
4206 2014-02-03 Allan McRae <allan@archlinux.org>
4208 * po/sl.po: Update Slovenian translation from translation project.
4210 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4212 * manual/time.texi (timegm): Add missing blank after @c.
4213 Reported by Joseph Myers <joseph@codesourcery.com>.
4215 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4217 * manual/check-safety.sh: New.
4218 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4220 * manual/terminal.texi: Document MTASC-safety properties.
4222 * manual/filesys.texi: Document MTASC-safety properties.
4224 * manual/errno.texi: Document MTASC-safety properties.
4226 * manual/intro.texi: Document safety identifiers and
4229 * manual/string.texi (wcstok): Fix prototype.
4230 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4232 * manual/time.texi: Document MTASC-safety properties.
4234 * manual/string.texi: Document MTASC-safety properties.
4236 * manual/threads.texi: Document MTASC-safety properties.
4238 * manual/stdio.texi: Document MTASC-safety properties.
4240 * manual/syslog.texi: Document MTASC-safety properties.
4242 * manual/sysinfo.texi: Document MTASC-safety properties.
4244 * manual/startup.texi: Document MTASC-safety properties.
4246 * manual/socket.texi: Document MTASC-safety properties.
4248 * manual/signal.texi: Document MTASC-safety properties.
4250 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4252 * manual/setjmp.texi: Document MTASC-safety properties.
4254 * manual/search.texi: Document MTASC-safety properties.
4256 * manual/resource.texi: Document MTASC-safety properties.
4258 * manual/process.texi: Document MTASC-safety properties.
4260 * manual/platform.texi: Document MTASC-safety properties.
4262 * manual/pipe.texi: Document MTASC-safety properties.
4264 * manual/pattern.texi: Document MTASC-safety properties.
4266 * manual/message.texi: Document MTASC-safety properties.
4269 * manual/memory.texi: Document MTASC-safety properties.
4271 * manual/math.texi: Document MTASC-safety properties.
4273 * manual/locale.texi: Document MTASC-safety properties.
4275 * manual/llio.texi: Document MTASC-safety properties.
4277 * manual/libdl.texi: New.
4279 * manual/lang.texi: Document MTASC-safety properties.
4281 * manual/job.texi: Document MTASC-safety properties.
4283 * manual/getopt.texi: Document MTASC-safety properties.
4285 * manual/ctype.texi: Document MTASC-safety properties.
4287 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4290 * csu/libc-tls.c (static_map): Remove variable.
4291 (__libc_setup_tls): Use main executable's link map for TLS data.
4292 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4293 casing for LM_ID_BASE and GL(dl_nns).
4294 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4295 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4296 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4297 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4298 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4300 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4303 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4305 * manual/debug.texi: Document MTASC-safety properties.
4307 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4310 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4311 of __x86_64__ when disabling x87 inline functions.
4313 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4315 * manual/charset.texi: Document MTASC-safety properties.
4317 * manual/crypt.texi: Document MTASC-safety properties.
4319 * manual/conf.texi: Document MTASC-safety properties.
4321 * manual/arith.texi: Document MTASC-safety properties.
4323 * manual/argp.texi: Document MTASC-safety properties.
4325 * manual/macros.texi: Introduce macros to document multi
4326 thread, asynchronous signal and asynchronous cancellation
4328 * manual/intro.texi: Introduce the properties themselves.
4330 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4332 * sysdeps/sh/sh4/Makefile: New file.
4334 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4336 * math/gen-libm-test.pl ($srcdir): New variable.
4337 ($auto_input): Use it.
4339 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4343 access beyond array bounds when parsing netgroups file.
4345 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4346 the old buffer before realloc.
4348 2014-01-27 Allan McRae <allan@archlinux.org>
4350 * po/fr.po: Update French translation from translation project.
4352 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4354 * sysdeps/sh/libm-test-ulps: Regenerate.
4356 2014-01-24 David S. Miller <davem@davemloft.net>
4358 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4360 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4362 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4363 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4365 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4368 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4369 string pointers after reallocation.
4371 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4373 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4374 __SH4A__ instead of __SH_FPU_ANY__.
4376 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4378 * sysdeps/sh/fpu_control.h: New file.
4379 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4380 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4381 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4382 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4383 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4384 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4385 * sysdeps/sh/sys/ucontext.h: Remove.
4386 * sysdeps/sh/sys: Remove directory.
4388 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4390 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4391 s390/sys/ucontext.h.
4392 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4393 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4395 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4398 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4400 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4404 Adjust the vDSO correctly for internal calls.
4405 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4407 2014-01-20 Allan McRae <allan@archlinux.org>
4409 * po/ca.po: Update Catalan translation from translation project.
4411 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4413 * sysdeps/s390/sotruss-lib.c: New file.
4415 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4418 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4419 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4420 local calls issues by not having a PLT stub required for IFUNC calls.
4421 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4423 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4425 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4426 * math/test-fpucw-static.c: Likewise.
4428 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4431 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4433 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4435 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4436 implementation for powerpc.
4438 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4441 * sysdeps/posix/system.c (__libc_system): Do not enable
4442 asynchronous cancellation.
4444 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4447 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4448 handling only for numbers special also in the IEEE case.
4450 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4454 2014-01-11 Allan McRae <allan@archlinux.org>
4456 * po/bg.po: Update Bulgarian translation from translation project.
4458 * po/de.po: Update German translation from translation project.
4460 2014-01-10 Roland McGrath <roland@hack.frob.com>
4462 * sysdeps/generic/gcc-compat.h: New file.
4464 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4466 * benchtests/asin-inputs: Correct slow inputs.
4467 * benchtests/acos-inputs: Likewise.
4469 2014-01-10 Allan McRae <allan@archlinux.org>
4471 * po:sv.po: Update Swedish translation from translation project.
4473 * po/vi.po: Update Vietnamese translation from translation project.
4475 * po/eo.po: Update Esperanto translation from translation project.
4477 * po/cs.po: Update Czech translation from translation project.
4479 * po/nl.po: Update Dutch translation from translation project.
4481 * po/pl.po: Update Polish translation from translation project.
4483 * po/ru.po: Update Russian translation from translation project.
4485 * po/uk.po: Update Ukrainian translation from translation project.
4487 2014-01-08 Brooks Moses <bmoses@google.com>
4489 * elf/dl-load.c: Fix comment typo.
4491 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4493 * po/header.pot: Rename to...
4494 * po/pot.header: ... this.
4495 * po/Makefile: Use pot.header.
4497 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4498 Maxim Kuvyrkov <maxim@kugelworks.com>
4501 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4502 SRC and DEST against LEN.
4504 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4507 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4509 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4511 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4515 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4519 for large positive arguments.
4521 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4523 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4525 * math/auto-libm-test-in: Mark various tests with
4526 xfail-rounding:ldbl-128ibm.
4527 * math/auto-libm-test-out: Regenerated.
4530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4531 Increase overflow threshold.
4533 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4536 * stdio-common/vfprintf.c: Check for integer overflow.
4538 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4540 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4541 the first argument and return value of __tls_get_addr_internal.
4543 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4545 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4546 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4548 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4550 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4551 * sysdeps/s390/rtld-global-offsets.sym: New file.
4552 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4554 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4555 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4556 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4558 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4559 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4566 halfs of GPRs for high_gprs contexts.
4567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4568 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4572 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4574 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4575 for high GPRs (uc_high_gprs) and for future extensions
4577 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4578 for future extensions (__reserved).
4579 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4581 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4582 SC_HIGHGPRS offset definition.
4583 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4584 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4586 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4588 * Versions.def: Add GLIBC_2.19 for libpthread.
4589 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4590 siglongjmp for libpthread with GLIBC_2.19 symver.
4591 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4592 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4593 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4594 * sysdeps/s390/__longjmp.c: New file.
4595 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4596 * sysdeps/s390/longjmp.c: New file.
4597 * sysdeps/s390/setjmp.S: New file.
4598 * sysdeps/s390/sigjmp.S: New file.
4599 * sysdeps/s390/v1-longjmp.c: New file.
4600 * sysdeps/s390/v1-setjmp.h: New file.
4601 * sysdeps/s390/v1-sigjmp.c: New file.
4602 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4603 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4605 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4606 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4607 versioned symbols for ____longjmp_chk.
4608 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4618 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4619 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4620 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4621 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4622 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4623 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4624 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4625 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4626 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4627 * sysdeps/s390/rtld-__longjmp.c: New file.
4628 * sysdeps/s390/rtld-setjmp.S: New file.
4630 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4634 Return -__logl (x) for small positive arguments without evaluating
4637 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4639 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4641 (__ptrace_peeksiginfo_args): ... this.
4642 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4644 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4646 2014-01-06 Allan McRae <allan@archlinux.org>
4648 * inet/netinet/in.h: Fix typo in comment.
4650 2014-01-05 Andreas Jaeger <aj@suse.de>
4652 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 2014-01-05 Allan McRae <allan@archlinux.org>
4656 * po/libc.pot: Regenerated.
4658 * malloc/memusagestat.c: Fix gettext call formatting.
4660 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4662 * nscd/nscd.c: Improve usage() output.
4664 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4666 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4667 * sysdeps/unix/sysv/linux/configure: Regenerated.
4668 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4669 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4671 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4674 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4675 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4677 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4680 extra tokens at end of #undef directive.
4681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4682 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4683 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4685 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4687 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4689 * math/auto-libm-test-in: Mark various tests with
4690 xfail-rounding:ldbl-128ibm.
4691 * math/auto-libm-test-out: Regenerated.
4693 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4697 numbers with subnormal high part when calculating exponent.
4700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4704 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4706 (__ieee754_acoshl): Use __log1pl not __log1p.
4708 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4710 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4711 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4712 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4713 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4714 Convert to GNU style.
4715 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4716 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4717 memalign_check, __malloc_set_state): Likewise.
4718 * malloc/mallocbug.c (main): Likewise.
4719 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4720 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4721 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4722 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4723 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4724 * malloc/malloc.h: Likewise.
4725 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4726 memalignhook, reallochook, mabort): Likewise.
4727 * malloc/mcheck.h: Likewise.
4728 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4729 mmap64, mremap, munmap, dest): Likewise.
4730 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4731 * malloc/morecore.c (__default_morecore): Likewise.
4732 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4733 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4734 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4735 print_and_abort): Likewise.
4736 * malloc/obstack.h: Likewise.
4737 * malloc/set-freeres.c (__libc_freeres): Likewise.
4738 * malloc/tst-mallocstate.c (main): Likewise.
4739 * malloc/tst-mtrace.c (main): Likewise.
4740 * malloc/tst-realloc.c (do_test): Likewise.
4742 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4745 * nscd/netgroupcache.c (do_notfound): New function.
4746 (addgetnetgrentX): Use it.
4749 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4750 NSS_STATUS_NOTFOUND.
4752 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4754 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2014-01-01 Allan McRae <allan@archlinux.org>
4759 * scripts/update-copyrights: Update configure input file suffix.
4761 * NEWS: Update copyright year.
4762 * catgets/gencat.c: Likewise.
4763 * csu/version.c: Likewise.
4764 * debug/catchsegv.sh: Likewise.
4765 * debug/pcprofiledump.c: Likewise.
4766 * debug/xtrace.sh: Likewise.
4767 * elf/ldconfig.c: Likewise.
4768 * elf/ldd.bash.in: Likewise.
4769 * elf/pldd.c: Likewise.
4770 * elf/sotruss.ksh: Likewise.
4771 * elf/sprof.c: Likewise.
4772 * iconv/iconv_prog.c: Likewise.
4773 * iconv/iconvconfig.c: Likewise.
4774 * locale/programs/locale.c: Likewise.
4775 * locale/programs/localedef.c: Likewise.
4776 * login/programs/pt_chown.c: Likewise.
4777 * malloc/memusage.sh: Likewise.
4778 * malloc/memusagestat.c: Likewise.
4779 * malloc/mtrace.pl: Likewise.
4780 * manual/libc.texinfo: Likewise.
4781 * nscd/nscd.c: Likewise.
4782 * nss/getent.c: Likewise.
4783 * nss/makedb.c: Likewise.
4784 * posix/getconf.c: Likewise.
4785 * scripts/test-installation.pl: Likewise.
4787 * All files with FSF copyright notices: Update copyright dates
4788 using scripts/update-copyrights.
4789 * intl/plural.c: Regenerated.
4790 * locale/programs/charmap-kw.h: Likewise.
4791 * locale/programs/locfile-kw.h: Likewise.
4793 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4795 * sysdeps/unix/sysv/linux/configure: Regenerated.
4796 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4797 the linux/fanotify.h header.
4798 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4799 HAVE_LINUX_FANOTIFY_H is defined.
4801 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4803 * benchtests/cos-inputs: New inputs.
4804 * benchtests/sin-inputs: Likewise.
4806 * benchtests/atan-inputs: New inputs. Fix name of multiple
4807 precision fallback inputs.
4809 * benchtests/atanh-inputs: New inputs.
4810 * benchtests/tanh-inputs: Likewise.
4812 * benchtests/acosh-inputs: New inputs.
4813 * benchtests/asinh-inputs: Likewise.
4815 * benchtests/cosh-inputs: New inputs.
4816 * benchtests/sinh-inputs: Likewise.
4818 * benchtests/acos-inputs: Add more inputs.
4819 * benchtests/asin-inputs: Likewise.
4821 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4824 * manual/arith.texi: Fix spelling.
4825 * manual/charset.texi: Likewise.
4826 * manual/errno.texi: Likewise.
4827 * manual/filesys.texi: Likewise.
4828 * manual/lang.texi: Likewise.
4829 * manual/llio.texi: Likewise.
4830 * manual/locale.texi: Likewise.
4831 * manual/message.texi: Likewise.
4832 * manual/resource.texi: Likewise.
4833 * manual/search.texi: Likewise.
4834 * manual/setjmp.texi: Likewise.
4835 * manual/stdio.texi: Likewise.
4836 * manual/string.texi: Likewise.
4837 * manual/sysinfo.texi: Likewise.
4838 * manual/time.texi: Likewise.
4840 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4842 * po/sl.po: New file.
4844 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4846 * .gitignore: Add core/.gdbinit/.gdb_history.
4848 2013-12-27 Allan McRae <allan@archlinux.org>
4851 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4852 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4854 2013-12-24 Brooks Moses <bmoses@google.com>
4856 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4857 all compilers that claim C++98 compliance, not just GCC.
4858 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4861 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4863 * NEWS: Restore accidentally deleted bug-fix entries.
4865 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4866 Ondřej Bílka <neleai@seznam.cz>
4869 * malloc/malloc.c (_int_free): Perform sanity check only if we
4872 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4875 * manual/stdio.texi (String Input Conversions): Clarify that character
4876 classes are not supported.
4878 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4882 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4886 Calculate results for small negative arguments directly rather
4887 than using reflection formula with special underflow handling.
4889 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4890 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4891 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4892 (fchflags): Likewise.
4894 (setlogin): Likewise.
4895 (sigaltstack): Likewise.
4898 (sigsetmask): Likewise.
4900 (waitpid): Likewise.
4901 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4902 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4904 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4905 * sysdeps/unix/bsd/Makefile: ... here.
4906 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4907 * sysdeps/unix/bsd/Versions: ... here.
4908 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4909 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4910 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4911 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4912 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4913 * sysdeps/unix/bsd/sigblock.c: ... here.
4914 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4915 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4916 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4917 * sysdeps/unix/bsd/sigvec.c: ... here.
4918 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4919 * sysdeps/unix/bsd/tcdrain.c: ... here.
4920 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4921 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4922 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4923 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4924 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4925 * sysdeps/unix/bsd/wait.c: ... here.
4926 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4927 * sysdeps/unix/bsd/wait3.c: ... here.
4928 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4929 * sysdeps/unix/bsd/waitpid.c: ... here.
4931 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4935 round-to-nearest for [!USE_AS_EXPM1L].
4936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4937 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4938 more tests of exp and exp10. Expect some exp10 tests to miss
4939 exceptions or fail in directed rounding modes.
4940 * math/auto-libm-test-out: Regenerated.
4941 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4942 (exp10_test_tonearest): New function.
4943 (exp10_towardzero_test_data): New array.
4944 (exp10_test_towardzero): New function.
4945 (exp10_downward_test_data): New array.
4946 (exp10_test_downward): New function.
4947 (exp10_upward_test_data): New array.
4948 (exp10_test_upward): New function.
4949 (main): Call the new functions.
4950 * sysdeps/i386/fpu/libm-test-ulps: Update.
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4953 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4955 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4956 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4957 * math/auto-libm-test-out: Regenerated.
4958 * math/libm-test.inc (acosh_test_data): Add more tests.
4959 (atanh_test_data): Likewise.
4960 (ceil_test_data): Likewise.
4961 (copysign_test_data): Likewise.
4962 * sysdeps/i386/fpu/libm-test-ulps: Update.
4963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4965 * timezone/checktab.awk: Update from tzcode 2013i.
4966 * timezone/private.h: Likewise.
4967 * timezone/scheck.c: Likewise.
4968 * timezone/tzfile.h: Likewise.
4969 * timezone/tzselect.ksh: Likewise.
4970 * timezone/zdump.c: Likewise.
4971 * timezone/zic.c: Likewise.
4973 * math/auto-libm-test-in: Add tests of cpow.
4974 * math/auto-libm-test-out: Regenerated.
4975 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4976 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4978 (func_calc_desc): Add mpc_cc_c union field.
4979 (test_functions): Add cpow.
4980 (special_fill_2pi): New function.
4981 (special_real_inputs): Add 2pi.
4982 (calc_generic_results): Handle mpc_cc_c.
4983 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4986 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4987 csqrt, ctan and ctanh.
4988 * math/auto-libm-test-out: Regenerated.
4989 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4990 (TEST_COND_x86): Likewise.
4991 (ccos_test_data): Use AUTO_TESTS_c_c.
4992 (ccosh_test_data): Likewise.
4993 (cexp_test_data): Likewise.
4994 (clog_test_data): Likewise.
4995 (csqrt_test_data): Likewise.
4996 (ctan_test_data): Likewise.
4997 (ctan_tonearest_test_data): Likewise.
4998 (ctan_towardzero_test_data): Likewise.
4999 (ctan_downward_test_data): Likewise.
5000 (ctan_upward_test_data): Likewise.
5001 (ctanh_test_data): Likewise.
5002 (ctanh_tonearest_test_data): Likewise.
5003 (ctanh_towardzero_test_data): Likewise.
5004 (ctanh_downward_test_data): Likewise.
5005 (ctanh_upward_test_data): Likewise.
5006 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5008 (func_calc_desc): Add mpc_c_c union field.
5009 (FUNC_mpc_c_c): New macro.
5010 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5011 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5013 (special_fill_min_subnorm_p120): New function.
5014 (special_real_inputs): Add min_subnorm_p120.
5015 (calc_generic_results): Handle mpc_c_c.
5016 * sysdeps/i386/fpu/libm-test-ulps: Update.
5017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5019 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5021 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5022 do_sin_slow): New functions.
5023 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5024 cslow2, csloww1, csloww2): Use the new functions.
5026 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5027 Use M to change sign of result instead of X. Assume X is
5029 (csloww1): Likewise.
5033 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5038 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5040 (sloww1): Don't adjust sign of DX.
5041 (csloww1): Likewise.
5042 (sloww2): Use X directly and don't adjust sign of DX.
5043 (csloww2): Likewise.
5045 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5047 * math/auto-libm-test-in: Add tests of cabs and carg.
5048 * math/auto-libm-test-out: Regenerated.
5049 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5050 (carg_test_data): Likewise.
5051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5053 (func_calc_desc): Add mpc_c_f union field.
5054 (test_functions): Add cabs and carg.
5055 (calc_generic_results): Handle mpc_c_f.
5057 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5058 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5059 as a macro and a compat symbol.
5060 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5061 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5062 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5063 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5064 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5065 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5067 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5069 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5077 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5078 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5081 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5085 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5087 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5088 trailing whitespace removed.
5089 * scripts/config.guess: Update to version 2013-11-29.
5090 * scripts/config.sub: Update to version 2013-10-01.
5092 * math/auto-libm-test-in: Add tests of sincos.
5093 * math/auto-libm-test-out: Regenerated.
5094 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5095 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5097 (func_calc_desc): Add mpfr_f_11 union field.
5098 (test_functions): Add sincos.
5099 (calc_generic_results): Handle mpfr_f_11.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5103 2013-12-19 Andreas Schwab <schwab@suse.de>
5105 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5107 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5109 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5111 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5113 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5114 * sysdeps/i386/fpu/libm-test-ulps: Update.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5119 round-to-nearest mode when using frndint.
5120 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5121 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5124 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5126 * math/auto-libm-test-out: Regenerated.
5127 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5128 (TEST_COND_x86): Likewise.
5129 (expm1_tonearest_test_data): New array.
5130 (expm1_test_tonearest): New function.
5131 (expm1_towardzero_test_data): New array.
5132 (expm1_test_towardzero): New function.
5133 (expm1_downward_test_data): New array.
5134 (expm1_test_downward): New function.
5135 (expm1_upward_test_data): New array.
5136 (expm1_test_upward): New function.
5137 (main): Run the new test functions.
5138 * sysdeps/i386/fpu/libm-test-ulps: Update.
5139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5141 * include/features.h: Update comment documenting feature test
5142 macros. Mention _DEFAULT_SOURCE in comment.
5143 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5144 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5145 _BSD_SOURCE and _SVID_SOURCE.
5146 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5147 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5148 !_SVID_SOURCE]: Likewise.
5149 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5150 (__USE_POSIX_IMPLICITLY): Define.
5151 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5152 (_POSIX_SOURCE): Undefine and redefine.
5153 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5154 (_POSIX_C_SOURCE): Likewise.
5155 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5156 (Feature Test Macros): Update documentation of default features.
5158 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5160 * benchtests/Makefile: Add bench-strtok.
5161 * benchtests/bench-strtok.c: New file: strtok benchtest.
5163 2013-12-19 Allan McRae <allan@archlinux.org>
5165 * manual/install.texi: Suppress menu for plain text output.
5166 * INSTALL: Regenerated.
5168 2013-12-18 Brooks Moses <bmoses@google.com>
5171 * misc/getauxval.c: Include errno.h.
5172 (__getauxval): Set errno to ENOENT if the requested type is not
5174 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5175 don't declare with __attribute_const__.
5176 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5177 * manual/startup.texi: Document that getauxval sets errno.
5179 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5181 * math/auto-libm-test-in: Add tests of jn and yn.
5182 * math/auto-libm-test-out: Regenerated.
5183 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5184 (yn_test_data): Likewise.
5185 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5187 (func_calc_desc): Add mpfr_if_f union field.
5188 (FUNC_mpfr_if_f): New macro.
5189 (test_functions): Add jn and yn.
5190 (calc_generic_results): Assert type of second input for
5191 mpfr_ff_f. Handle mpfr_if_f.
5192 (output_for_one_input_case): Disable all checking for arguments
5193 fitting floating-point types in case of an integer argument.
5194 * sysdeps/i386/fpu/libm-test-ulps: Update.
5195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5198 Don't expect fegetround reference in libm.so.
5200 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5202 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5203 $(config-cflags-nofma).
5205 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5207 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5208 * math/auto-libm-test-out: Regenerated.
5211 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5212 to determine exponent and adjust argument to have exponent of -1.
5213 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5215 * math/auto-libm-test-out: Regenerated.
5216 * sysdeps/i386/fpu/libm-test-ulps: Update.
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5221 * manual/probes.texi: Remove cases when per-thread arenas are
5224 2013-12-18 Andreas Schwab <schwab@suse.de>
5226 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5227 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5228 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5229 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5230 * sysdeps/i386/i686/multiarch/Makefile: Update.
5231 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5233 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5235 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5236 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5238 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5241 Support TZ transition times < 00:00:00.
5242 This is needed for version-3 tz-format files; it supports time
5243 stamps past 2037 for America/Godthab (the only entry in the tz
5244 database for which this change is relevant).
5245 * manual/time.texi (TZ Variable): Document transition times
5246 from -167:59:59 through -00:00:01.
5247 * time/tzset.c (tz_rule): Time of day is now signed.
5248 (__tzset_parse_tz): Parse negative time of day.
5250 Document TZ transition times >= 25:00:00.
5251 * manual/time.texi (TZ Variable): Document transition times from
5252 25:00:00 through 167:59:59. These are already supported, and this
5253 support will help with version-3 tz-format files.
5255 * manual/time.texi (TZ Variable): Modernize North America example
5256 to reflect current (i.e., 2007-and-later) daylight saving rules.
5258 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5260 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5263 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5266 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5267 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5268 * sysdeps/unix/bsd/clock.c: Likewise.
5269 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5270 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5271 * sysdeps/unix/bsd/init-posix.c: Likewise.
5272 * sysdeps/unix/bsd/poll.c: Likewise.
5273 * sysdeps/unix/bsd/ptsname.c: Likewise.
5274 * sysdeps/unix/bsd/seekdir.c: Likewise.
5275 * sysdeps/unix/bsd/setegid.c: Likewise.
5276 * sysdeps/unix/bsd/seteuid.c: Likewise.
5277 * sysdeps/unix/bsd/setgid.c: Likewise.
5278 * sysdeps/unix/bsd/setrgid.c: Likewise.
5279 * sysdeps/unix/bsd/setruid.c: Likewise.
5280 * sysdeps/unix/bsd/setsid.c: Likewise.
5281 * sysdeps/unix/bsd/setuid.c: Likewise.
5282 * sysdeps/unix/bsd/sigaction.c: Likewise.
5283 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5284 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5285 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5286 * sysdeps/unix/bsd/telldir.c: Likewise.
5287 * sysdeps/unix/bsd/times.c: Likewise.
5288 * sysdeps/unix/bsd/usleep.c: Likewise.
5290 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5291 ($(objpfx)libbsd-compat.a): Remove rule.
5293 * include/features.h (__FAVOR_BSD): Do not define.
5294 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5295 features conflicting with POSIX.
5296 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5297 (_BSD_SOURCE): Remove description of not being a subset of other
5298 feature test macros.
5299 * manual/job.texi (getpgrp): Do not document BSD version.
5300 (getpgid): Do not document by reference to BSD getpgrp.
5301 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5302 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5303 * signal/signal.h [__FAVOR_BSD]: Likewise.
5304 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5305 instead of making contents conditional on [__FAVOR_BSD].
5306 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5308 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5312 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5315 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5316 values below 2**-450, not 2**-500.
5317 * math/auto-libm-test-in: Don't allow spurious underflow from
5319 * math/auto-libm-test-out: Regenerated.
5323 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5324 values of ha and hb and sort them after adjusting subnormal
5326 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5328 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5329 values of ea and eb and sort them after adjusting subnormal
5331 * math/auto-libm-test-in: Do not expect some hypot tests of
5332 subnormals to fail. Add more hypot tests.
5333 * math/auto-libm-test-out: Regenerated.
5335 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5338 * sysdeps/sh/s_fma.c: New file.
5339 * sysdeps/sh/s_fmaf.c: New file.
5340 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5342 * sysdeps/sh/Implies: Add sh/soft-fp.
5344 2013-12-16 Roland McGrath <roland@hack.frob.com>
5346 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5347 level of indirection to members `objname', `errstring', `malloced'.
5348 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5349 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5350 it as the __longjmp argument (just pass 1 instead).
5351 (_dl_catch_error): Initialize C with argument pointers and address of
5352 volatile local ERRCODE rather than copying values out of C at return.
5354 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5356 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5357 * math/auto-libm-test-out: Regenerated.
5358 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5359 (hypot_test_data): Likewise.
5360 (pow_test_data): Likewise.
5361 (pow_tonearest_test_data): Likewise.
5362 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5364 (func_calc_desc): Add mpfr_ff_f union field.
5365 (FUNC_mpfr_ff_f): New macro.
5366 (test_functions): Add atan2, hypot and pow.
5367 (special_fill_min): New function.
5368 (special_fill_minus_min): Likewise.
5369 (special_fill_min_subnorm): Likewise.
5370 (special_fill_minus_min_subnorm): Likewise.
5371 (special_real_inputs): Add min, -min, min_subnorm and
5373 (calc_generic_results): Handle mpfr_ff_f.
5374 * sysdeps/i386/fpu/libm-test-ulps: Update.
5375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377 2013-12-16 Will Newton <will.newton@linaro.org>
5379 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5380 (Aligned Memory Blocks): Add documentation for aligned_alloc
5381 and suggest it as an alternative to posix_memalign.
5382 (Hooks for Malloc): Document __memalign_hook is also called
5383 for aligned_alloc. (Summary of Malloc): Add summary for
5384 aligned alloc. Document __memalign_hook is also called
5387 2013-12-16 Will Newton <will.newton@linaro.org>
5389 * manual/memory.texi (Malloc Examples): Clarify default
5390 alignment documentation. Suggest posix_memalign rather
5391 than memalign or valloc.
5392 (Aligned Memory Blocks): Remove suggestion to use memalign
5393 or valloc. Remove obsolete comment about BSD.
5394 Document memalign errno values and mark the function obsolete.
5395 Document posix_memalign returned error codes. Mark valloc
5396 as obsolete. (Hooks for Malloc): __memalign_hook is also
5397 called for posix_memalign and valloc.
5398 (Summary of Malloc): Add posix_memalign to function summary.
5399 __memalign_hook is also called for posix_memalign and valloc.
5401 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5403 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5407 (sloww): Use mynumber union. Expand ternary operator into
5409 (cslow): use mynumber union.
5411 2013-12-16 Allan McRae <allan@archlinux.org>
5413 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5414 * configure: Regenerated.
5416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5419 * configure.ac: Added --enable-maintainer-mode. Check for
5420 autoconf when enabled.
5421 * configure: Regenerated.
5423 * nscd/nscd.service: New file.
5424 * nscd/nscd.tmpfiles: New file.
5426 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5429 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5430 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5431 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5432 (strstr): Add __strstr_sse2_unaligned ifunc.
5433 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5434 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5435 (strcasestr): Remove __strcasestr_sse42 ifunc.
5436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5440 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5442 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5443 * sysdeps/sh/bits/fenv.h: ... here.
5444 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5446 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5450 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5453 hypotf multiarch implementations.
5454 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5455 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5457 multiarch hypot for PPC64.
5458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5459 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5461 multiarch hypotf for PPC64.
5463 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5466 modff multiarch implementations.
5467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5470 multiarch modf for PPC64.
5471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5474 multiarch modff for PPC64.
5476 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5479 and logl multiarch implementations.
5480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5483 multiarch logb for PPC64.
5484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5487 multiarch logb for PPC64.
5488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5491 multiarch logb for PPC64.
5493 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5496 isinff multiarch implementation.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5501 multiarch isinf for PPC64.
5502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5505 multiarch isinff for PPC64.
5507 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5510 finitef multiarch implementation.
5511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5515 multiarch finite for PPC64.
5516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5519 multiarch finitef for PPC64.
5521 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5524 lrint multiarch implementation.
5525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5529 multiarch llrint for PPC64.
5530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5531 multiarch lrint for PPC64.
5533 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5536 copysignf multiarch implementation.
5537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5542 multiarch copysign for PPC64.
5543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5544 multiarch copysignf for PPC64.
5546 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5549 multiarch implementation.
5550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5558 multiarch llround for PPC64.
5559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5560 multiarch trunc for PPC64.
5561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5562 multiarch truncf for PPC64.
5564 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5567 multiarch implementation.
5568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5576 multiarch llround for PPC64.
5577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5578 multiarch round for PPC64.
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5580 multiarch roundf for PPC64.
5582 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5585 multiarch implementation.
5586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5594 multiarch llround for PPC64.
5595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5596 multiarch floor for PPC64.
5597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5598 multiarch floorf for PPC64.
5600 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5603 multiarch implementation.
5604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5612 multiarch llround for PPC64.
5613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5614 multiarch ceil for PPC64.
5615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5616 multiarch ceilf for PPC64.
5618 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5621 multiarch implementation.
5622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5629 multiarch llround for PPC64.
5630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5631 multiarch lround for PPC64.
5633 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5636 multiarch implementation.
5637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5644 multiarch isnan for PPC64.
5645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5646 multiarch isnanf for PPC64.
5648 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5651 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5652 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5653 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5654 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5657 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5660 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5664 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5667 multiarch implementations.
5668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5669 (__libc_ifunc_impl_list): Likewise.
5670 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5671 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5672 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5673 multiarch stpcpy for PPC64.
5675 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5678 multiarch implementations.
5679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5680 (__libc_ifunc_impl_list): Likewise.
5681 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5682 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5683 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5684 multiarch strcpy for PPC64.
5686 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5689 redefine function name.
5690 (_wordcopy_fwd_dest_aligned): Likewise.
5691 (_wordcopy_bwd_aligned): Likewise.
5692 (_wordcopy_bwd_dest_aligned): Likewise.
5693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5694 multiarch implementations.
5695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5696 (__libc_ifunc_impl_list): Likewise.
5697 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5698 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5700 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5701 multiarch wcscpy for PPC64.
5703 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5706 multiarch implementations.
5707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5708 (__libc_ifunc_impl_list): Likewise.
5709 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5710 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5711 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5712 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5713 multiarch wcscpy for PPC64.
5715 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5718 multiarch implementations.
5719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5720 (__libc_ifunc_impl_list): Likewise.
5721 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5722 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5723 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5724 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5725 multiarch wcsrchr for PPC64.
5727 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5730 multiarch implementations.
5731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5732 (__libc_ifunc_impl_list): Likewise.
5733 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5734 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5735 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5736 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5737 multiarch wcschr for PPC64.
5739 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5742 multiarch implementations.
5743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5744 (__libc_ifunc_impl_list): Likewise.
5745 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5747 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5748 multiarch strchrnul for PPC64.
5750 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5755 (__libc_ifunc_impl_list): Likewise.
5756 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5757 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5758 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5759 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5767 (__libc_ifunc_impl_list): Likewise.
5768 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5769 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5771 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5774 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5777 multiarch implementations.
5778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5779 (__libc_ifunc_impl_list): Likewise.
5780 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5781 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5782 strncasecmp for PPC64.
5783 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5784 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5785 multiarch strncasecmp_l for PPC64.
5787 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5790 multiarch implementations.
5791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5792 (__libc_ifunc_impl_list): Likewise.
5793 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5794 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5795 multiarch strcasecmp for PPC64.
5796 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5798 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5799 multiarch strcasecmp_l for PPC64.
5801 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5806 (__libc_ifunc_impl_list): Likewise.
5807 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5808 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5809 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5812 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5817 (__libc_ifunc_impl_list): Likewise.
5818 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5819 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5820 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5823 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5828 (__libc_ifunc_impl_list): Likewise.
5829 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5830 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5831 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5832 rawmemrchr for PPC64.
5834 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Likewise.
5840 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5842 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5850 (__libc_ifunc_impl_list): Likewise.
5851 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5852 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5853 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5856 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5861 (__libc_ifunc_impl_list): Likewise.
5862 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5863 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5867 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5870 avoid cretion of __bzero symbol.
5871 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5873 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5875 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5878 multiarch implementations.
5879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5880 (__libc_ifunc_impl_list): Likewise.
5881 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5882 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5884 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5886 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5887 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5888 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5889 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5890 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5892 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5894 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5896 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5900 (__libc_ifunc_impl_list): Likewise.
5901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5902 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5903 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5904 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5907 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5910 multiarch for POWER/PPC64.
5911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5912 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5919 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5925 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5926 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5927 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5928 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5929 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5930 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5931 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5932 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5933 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5934 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5935 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5936 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5937 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5938 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5947 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5951 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5953 * benchtests/Makefile (bench): Add exp2 and log2.
5954 (LDLIBS-bench-exp2): Add -lm.
5955 (LDLIBS-bench-log2): Likewise.
5956 * benchtests/exp2-inputs: New inputs file.
5957 * benchtests/log2-inputs: New inputs file.
5958 * benchtests/log-inputs: Add new inputs.
5959 * benchtests/tan-inputs: Likewise.
5961 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5963 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5965 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5966 csloww1, csloww2): ... from here.
5968 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5969 instead of structures.
5970 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5971 (POLYNOMIAL): Likewise.
5972 (TAYLOR_SLOW): Likewise.
5980 (bsloww1): Likewise.
5981 (bsloww2): Likewise.
5984 (csloww1): Likewise.
5985 (csloww2): Likewise.
5987 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5989 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5990 (__malloc_assert, __libc_realloc, __libc_calloc,
5991 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5993 * malloc/hooks.c (realloc_check): Likewise.
5995 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5997 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5998 * malloc/arena.c: Remove PER_THREAD conditional.
5999 [!PER_THREAD]: Remove code.
6000 (ptmalloc_unlock_all2): Likewise.
6001 (ptmalloc_init): Likewise.
6002 (_int_new_arena): Likewise.
6003 (arena_get2): Likewise.
6004 * malloc/hooks.c (__malloc_get_state): Likewise.
6005 (__malloc_set_state): Likewise.
6006 * malloc/malloc.c: Likewise.
6007 (struct malloc_state): Likewise.
6008 (struct malloc_par): Likewise.
6009 (__libc_realloc): Likewise.
6010 (__libc_mallopt): Likewise.
6012 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6016 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6018 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6019 macro to a function. Check for zero perturb_byte.
6020 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6022 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6024 * malloc/malloc.c: (force_reg): Remove.
6025 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6026 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6027 force_reg by atomic_forced_read.
6028 * malloc/arena.c (ptmalloc_init): Likewise.
6029 * malloc/hooks.c (top_check): Likewise.
6031 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6035 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6039 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6041 * math/auto-libm-test-in: Add tests of lgamma.
6042 * math/auto-libm-test-out: Regenerated.
6043 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6044 (M_LOG_2_SQRT_PIl): Likewise.
6045 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6046 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6048 (func_calc_desc): Add mpfr_f_f1 union field.
6057 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6058 (test_functions): Add lgamma.
6059 (calc_generic_results): Handle mpfr_f_f1.
6060 * sysdeps/i386/fpu/libm-test-ulps: Update.
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6063 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6066 __mpn_add_n for PowerPC64/POWER7.
6067 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6068 __mpn_sub_n for PowerPC64/POWER7.
6070 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6073 __mpn_addmul_1 for PowerPC64.
6074 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6075 __mpn_submul_1 for PowerPC64.
6076 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6078 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6081 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6084 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6090 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6093 add multiarch folders.
6094 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6095 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6096 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6097 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6098 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6099 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6100 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6101 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6102 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6103 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6104 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6112 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6115 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6121 multiarch __ieee754_hypot for PowerPC32.
6122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6127 multiarch __ieee754_hypotf for PowerPC32.
6129 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6132 long_double_symbol only if __logbl is defined.
6133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6134 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6136 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6138 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6140 path for implementation.
6141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6144 logb, and logbl multiarch implementations for PowerPC32.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6150 multiarch logb for PowerPC32.
6151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6156 multiarch logbf for PowerPC32.
6157 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6161 multiarch logbl implementation for PowerPC32.
6163 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6166 and modff multiarch implementations.
6167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6172 multiarch modf for PowerPC32.
6173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6178 multiarch modff for PowerPC32.
6180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6183 and lrintf multiarch implementations.
6184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6189 multiarch lrint for PowerPC32.
6190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6191 file: multiarch lrintf for PowerPC32.
6193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6196 and lroundf multiarch implementations.
6197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6204 multiarch lround for PowerPC32.
6205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6206 file: multiarch lroundf for PowerPC32.
6208 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6211 copysign and copysignf multiarch implementations.
6212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6217 file: multiarch copysign for PowerPC32.
6218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6219 file: multiarch copysignf for PowerPC32.
6221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6224 and truncf multiarch implementations.
6225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6230 multiarch trunc for PowerPC32.
6231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6236 multiarch truncf for PowerPC32.
6238 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6241 and roundf multiarch implementations.
6242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6247 multiarch round for PowerPC32.
6248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6253 multiarch roundf for PowerPC32.
6255 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6258 and floorf multiarch implementations.
6259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6264 multiarch floor for PowerPC32.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6270 multiarch floorf for PowerPC32.
6272 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6275 and ceilf multiarch implementations.
6276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6281 multiarch ceil for PowerPC32.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6287 multiarch ceilf for PowerPC32.
6289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6291 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6293 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6296 and finitef multiarch implementations.
6297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6302 multiarch finite for PowerPC32.
6303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6306 file: multiarch finitef for PowerPC32.
6308 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6311 and isinff multiarch implementations.
6312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6317 multiarch isinf for PowerPC32.
6318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6321 multiarch isinff for PowerPC32.
6323 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6325 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6326 alias when __isnan is defined.
6327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6328 and isnanf multiarch implementations.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6338 multiarch isnan for PowerPC32.
6339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6344 multiarch isnanf for PowerPC32.
6346 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6349 and sqrtf multiarch implementations.
6350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6355 multiarch sqrt for PowerPC32.
6356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6361 multiarch sqrtf for PowerPC32.
6363 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6366 and llroundf multiarch implementations.
6367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6374 file: multiarch llround for PowerPC32.
6375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6376 file: multiarch llroundf for PowerPC32.
6378 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6381 multiarch PowerPC32 fpu implementations.
6382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6387 multiarch llrint for PowerPC32.
6388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6395 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6399 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6401 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6403 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6405 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6407 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6408 multiarch wordcopy for PPC32.
6409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6412 (__libc_ifunc_impl_list): Likewise.
6413 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6414 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6416 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6418 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6420 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6430 multiarch wcscpy for PPC32.
6431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6434 (__libc_ifunc_impl_list): Likewise.
6435 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6436 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6437 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6438 sysdeps/powerpc/power6/wcscpy.c.
6440 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6443 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6450 multiarch wcsrchr for PPC32.
6451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6454 (__libc_ifunc_impl_list): Likewise.
6455 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6456 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6457 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6458 sysdeps/powerpc/power6/wcsrchr.c.
6460 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6466 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6468 multiarch wcschr for PPc32.
6469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6472 (__libc_ifunc_impl_list): Likewise.
6473 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6474 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6475 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6476 sysdeps/powerpc/power6/wcschr.c.
6478 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6483 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6484 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6485 file: multiarch strchr for PPC32.
6486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6489 (__libc_ifunc_impl_list): Likewise.
6491 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6495 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6497 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6499 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6500 multiarch strchrnul for PPC32.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6504 (__libc_ifunc_impl_list): Likewise.
6506 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6510 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6511 multiarch strncasecmp for PPC32.
6512 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6514 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6515 multiarch strncasecmp_l for PPC32.
6516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6517 strncasecmp multiarch objects.
6518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6519 (__libc_ifunc_impl_list): Likewise.
6521 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6525 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6526 multiarch strncasecmp for PPC32.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6530 multiarch strcasecmp_l for PPC32.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6534 (__libc_ifunc_impl_list): Likewise.
6536 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6540 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6543 multiarch strncmp for PPC32.
6544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6547 (__libc_ifunc_impl_list): Likewise.
6549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6552 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6554 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6555 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6559 (__libc_ifunc_impl_list): Likewise.
6561 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6565 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6567 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6571 (__libc_ifunc_impl_list): Likewise.
6573 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6577 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6579 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6580 multiarch rawmemchr for PPC32.
6581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6584 (__libc_ifunc_impl_list): Likewise.
6586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6590 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6592 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6593 file: memrchr multiarch for PPC32.
6594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6597 (__libc_ifunc_impl_list): Likewise.
6599 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6602 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6604 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6606 multiarch memchr for PPC32.
6607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6610 (__libc_ifunc_impl_list): Likewise.
6612 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6614 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6615 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6617 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6619 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6620 file: multiarch mempcpy for PPC32.
6621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6624 (__libc_ifunc_impl_list): Likewise.
6626 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6631 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6632 multiarch bzero for PPC32.
6633 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6635 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6637 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6638 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6639 file: multiarch memset for PPC32.
6640 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6642 memset multiarch objects.
6643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6644 (__libc_ifunc_impl_list): Likewise.
6646 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6650 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6651 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6653 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6657 (__libc_ifunc_impl_list): Likewise.
6659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6663 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6670 multiarch memcpy for PPC32.
6671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6674 (__libc_ifunc_impl_list): Likewise.
6676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6679 support multiarch for POWER/PPC32.
6680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6682 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6684 Implies file to make multiarch folder appers before the fpu and
6685 default folder for power4 configuration.
6687 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6689 * scripts/bench.pl: Append volatile keyword to type.
6691 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6693 * sysdeps/sh/sotruss-lib.c: New file.
6694 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6696 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6700 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6703 * math/w_tgamma.c: Include <errno.h>.
6704 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6705 * math/w_tgammaf.c: Include <errno.h>.
6706 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6707 * math/w_tgammal.c: Include <errno.h>.
6708 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6709 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6710 underflow. Add more tgamma tests.
6711 * math/auto-libm-test-out: Regenerated.
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6715 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6716 sin, sinh, tan, tanh, tgamma, y0 and y1.
6717 * math/auto-libm-test-out: Regenerated.
6718 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6719 (TEST_COND_x86): Likewise.
6720 (M_E2l): Remove macro.
6722 (M_2_SQRT_PIl): Likewise.
6723 (M_SQRT_PIl): Likewise.
6724 (M_1_DIV_El): Likewise.
6725 (log_test_data): Use AUTO_TESTS_f_f.
6726 (log10_test_data): Likewise.
6727 (log1p_test_data): Likewise.
6728 (log2_test_data): Likewise.
6729 (sin_test_data): Likewise.
6730 (sin_tonearest_test_data): Likewise.
6731 (sin_towardzero_test_data): Likewise.
6732 (sin_downward_test_data): Likewise.
6733 (sin_upward_test_data): Likewise.
6734 (sinh_test_data): Likewise.
6735 (sinh_tonearest_test_data): Likewise.
6736 (sinh_towardzero_test_data): Likewise.
6737 (sinh_downward_test_data): Likewise.
6738 (sinh_upward_test_data): Likewise.
6739 (tan_test_data): Likewise.
6740 (tan_tonearest_test_data): Likewise.
6741 (tan_towardzero_test_data): Likewise.
6742 (tan_downward_test_data): Likewise.
6743 (tan_upward_test_data): Likewise.
6744 (tanh_test_data): Likewise.
6745 (tgamma_test_data): Likewise.
6746 (y0_test_data): Likewise.
6747 (y1_test_data): Likewise.
6748 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6749 (special_real_inputs): Add pi/4.
6750 * sysdeps/i386/fpu/libm-test-ulps: Update.
6751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6753 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6756 "longjmp_target" static probes.
6757 (__longjmp): Rename to __longjmp_symbol.
6758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6759 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6760 on which longjmp to generate.
6761 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6762 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6764 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6765 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6766 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6767 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6768 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6769 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6771 __longjmp_symbol based on which __longjmp to generate.
6772 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6774 (setjmp): Rename to setjmp_symbol.
6775 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6776 (_setjmp): Rename to _setjmp_symbol.
6777 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6778 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6779 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6780 which setjmp to generate.
6781 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6782 "longjmp_target" static probes.
6784 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6786 * benchtests/README: Add note about output arguments.
6787 * benchtests/bench-sincos.c: Remove file.
6788 * benchtests/sincos-inputs: New file.
6789 * scripts/bench.pl: Identify output arguments and define
6790 static variables for them.
6792 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6795 * Makefile (INSTALL): Add install-plain.texi as the primary
6797 * manual/install-plain.texi: New file.
6798 * manual/install.texi: Include node directive only for
6799 non-plaintext output.
6801 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6803 * stdlib/longlong.h: Update from GCC.
6807 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6808 * math/w_j0f.c (y0f): Likewise.
6809 * math/w_j0l.c (__y0l): Likewise.
6810 * math/w_j1.c (y1): Likewise.
6811 * math/w_j1f.c (y1f): Likewise.
6812 * math/w_j1l.c (__y1l): Likewise
6813 * math/w_jn.c (yn): Likewise.
6814 * math/w_jnf.c (ynf): Likewise.
6815 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6816 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6817 value for Bessel function domain errors outside _SVID_ mode.
6818 Adjust sign of return value for yn (negative integer, 0).
6819 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6820 by zero in return for negative x and set sign appropriately for
6822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6823 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6824 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6825 expectations in error cases.
6826 (y1_test_data): Likewise.
6827 (yn_test_data): Likewise.
6828 * sysdeps/i386/fpu/libm-test-ulps: Update.
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6833 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6834 "64" to "64-v1". Add "64-v2".
6835 (abi-64-options): Rename to ...
6836 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6837 (abi-64-condition): Rename to ...
6838 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6839 (abi-64-ld-soname): Rename to ...
6840 (abi-64-v1-ld-soname): ... this.
6841 (abi-64-v2-options): Define.
6842 (abi-64-v2-condition): Likewise.
6843 (abi-64-v2-ld-soname): Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6845 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6850 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6851 Alan Modra <amodra@gmail.com>
6853 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6854 New versions for use with the ELFv2 ABI.
6855 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6856 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6858 (struct La_ppc64v2_retval): Likewise.
6859 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6860 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6861 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6862 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6863 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6864 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6865 Do not save or restore CR.
6866 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6867 (_dl_profile_resolve): Do no save or restore CR. Support extended
6868 return values for ELFv2 ABI. Fix location of FPR return registers.
6869 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6870 updated values for _CALL_ELF == 2.
6871 (La_regs, La_retval, int_retval): Likewise.
6873 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6875 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6876 (FRAME_MIN_SIZE_PARM): Likewise.
6877 (FRAME_BACKCHAIN): Likewise.
6878 (FRAME_CR_SAVE): Likewise.
6879 (FRAME_LR_SAVE): Likewise.
6880 (FRAME_TOC_SAVE): Likewise.
6881 (FRAME_PARM_SAVE): Likewise.
6882 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6883 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6884 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6885 (call_mcount_parm_offset): New macro.
6886 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6887 (PROF): Use symbolic stack frame offsets.
6888 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6890 Redefine in terms of FRAME_MIN_SIZE.
6891 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6892 (_dl_profile_resolve): Likewise. Update comment.
6893 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6894 symbols stack frame offsets.
6895 (__sigsetjmp): Likewise.
6896 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6897 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6898 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6899 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6902 (FRAME_BACKCHAIN): Remove.
6903 (FRAME_CR_SAVE): Likewise.
6904 (FRAME_LR_SAVE): Likewise.
6905 (FRAME_COMPILER_DW): Likewise.
6906 (FRAME_LINKER_DW): Likewise.
6907 (FRAME_TOC_SAVE): Likewise.
6908 (FRAME_PARM_SAVE): Likewise.
6909 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6910 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6911 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6913 (CHECK_SP): Use symbolic stack frame offsets.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6915 zone" instead of caller's parameter save area for temp storage.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6917 Likewise. Also, use symbolic stack frame offsets.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6919 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6920 our own stack frame instead of the caller's.
6921 (__socket): Use symbolic stack frame offsets.
6923 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6924 Alan Modra <amodra@gmail.com>
6926 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6928 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6929 PPC64_LOCAL_ENTRY_OFFSET): Define.
6930 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6932 (elf_machine_fixup_plt): Call it.
6933 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6935 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6936 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6937 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6938 r2 before calling target.
6940 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6941 Alan Modra <amodra@gmail.com>
6943 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6944 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6945 versions of macros to support ELFv2 ABI.
6946 (LOCALENTRY): New macro.
6947 (ENTRY, EALIGN): Use it.
6948 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6949 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6950 fall through into ENTRY entry point.
6951 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6952 Only define if _CALL_ELF != 2.
6954 (elf_machine_matches_host): Verify ABI version matches.
6955 (RTLD_START): Use LOCALENTRY.
6956 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6957 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6958 (PLT_ENTRY_WORDS): New macro.
6959 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6960 (elf_machine_runtime_setup): Support ELFv2 ABI.
6961 (elf_machine_fixup_plt): Likewise.
6962 (elf_machine_plt_conflict): Likewise.
6963 (resolve_ifunc): Likewise.
6964 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6968 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6970 (makecontext): Support ELFv2 ABI.
6971 * elf/elf.h (EF_PPC64_ABI): Define.
6973 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6975 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6976 New assembler macro.
6977 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6978 [ASSEMBLER] (ENTRY): ... but instead here ...
6979 [ASSEMBLER] (EALIGN): ... and here.
6980 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6981 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6982 [!ASSEMBLER] (ENTRY_2): Use it.
6983 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6984 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6985 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6986 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6987 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6989 Use PPC64_LOAD_FUNCPTR.
6991 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6993 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6995 2013-12-04 Alan Modra <amodra@gmail.com>
6997 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6998 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6999 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7000 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7003 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7004 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7005 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7006 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7007 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7009 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7012 (__makecontext): Fix incorrect CFI when backtracing out of
7013 context created via makecontext.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7015 (__setcontext): Fix incorrect CFI during switch to new context.
7016 (__novec_setcontext): Likewise.
7018 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7021 * time/strptime_l.c (__strptime_internal): Allow modifiers
7023 * time/tst-strptime.c (day_tests): Add testcase.
7026 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7028 * scripts/bench.pl: Skip over blank lines.
7030 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7033 * manual/time.texi (Calendar Time): Clarify what timezone functions
7036 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7040 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7042 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7044 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7045 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7046 * debug/memset_chk.c (__memset_chk): Likewise.
7047 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7048 * debug/strncpy_chk.c: Likewise.
7050 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7054 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7055 (__ieee754_exp): For possibly underflowing results, check size of
7056 result and force underflow exception if required.
7057 * math/auto-libm-test-in: Add more tests of exp.
7058 * math/auto-libm-test-out: Regenerated.
7059 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7064 * math/w_exp2f.c (__exp2f): Likewise.
7065 * math/w_exp2l.c (__exp2l): Likewise.
7066 * math/auto-libm-test-in: Do not allow missing errno on exp2
7068 * math/auto-libm-test-out: Regenerated.
7070 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7073 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7074 handle filename validation.
7075 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7078 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7081 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7082 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7083 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7085 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7086 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7087 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7089 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7090 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7091 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7092 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7093 Add more erfc tests.
7094 * math/auto-libm-test-out: Regenerated.
7095 * sysdeps/i386/fpu/libm-test-ulps: Update.
7096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7098 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7099 exp2, expm1, j0 and j1.
7100 * math/auto-libm-test-out: Regenerated.
7101 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7102 (erfc_test_data): Likewise.
7103 (exp_test_data): Likewise.
7104 (exp_tonearest_test_data): Likewise.
7105 (exp_towardzero_test_data): Likewise.
7106 (exp_downward_test_data): Likewise.
7107 (exp_upward_test_data): Likewise.
7108 (exp10_test_data): Likewise.
7109 (exp2_test_data): Likewise.
7110 (expm1_test_data): Likewise.
7111 (j0_test_data): Likewise.
7112 (j1_test_data): Likewise.
7113 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7114 (input_flag_type): Add flag_xfail_rounding.
7115 (input_flags): Add xfail-rounding.
7116 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7117 (output_for_one_input_case): Handle flag_xfail_rounding.
7118 * sysdeps/i386/fpu/libm-test-ulps: Update.
7119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7121 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7124 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7127 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7130 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7131 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7132 (STAP_PROBE0): New macro.
7133 (STAP_PROBE1): Likewise.
7134 (STAP_PROBE2): Likewise.
7135 (STAP_PROBE3): Likewise.
7136 (STAP_PROBE4): Likewise.
7138 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7140 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7142 2013-12-02 Steve Ellcey <sellcey@mips.com>
7144 * benchtests/Makefile (bench): Add sqrt.
7145 (LDLIBS-bench-sqrt): New.
7146 * benchtests/sqrt-input: New.
7148 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7150 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7151 (GAIH_EAI): Likewise.
7152 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7153 (gaih_inet): Likewise.
7154 (getaddrinfo): Don't use GAIH_EAI.
7156 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7157 (struct gaih): Remove definition.
7159 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7161 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7162 Use HERRNOP directly.
7164 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7168 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7170 * math/gen-auto-libm-tests.c (test_functions): Add more
7171 single-argument functions.
7172 (special_fill_pi_2): New function.
7173 (special_fill_minus_pi_2): Likewise.
7174 (special_fill_pi_6): Likewise.
7175 (special_fill_minus_pi_6): Likewise.
7176 (special_fill_pi_3): Likewise.
7177 (special_fill_2pi_3): Likewise.
7178 (special_fill_e): Likewise.
7179 (special_fill_1_e): Likewise.
7180 (special_fill_e_minus_1): Likewise.
7181 (special_real_inputs): Add more special inputs.
7182 (output_for_one_input_case): Do not require ERANGE on underflow to
7183 zero if round-to-nearest result does not underflow to zero, unless
7184 exact results required.
7185 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7186 atan, atanh, cbrt, cos and cosh.
7187 * math/auto-libm-test-out: Regenerated.
7188 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7189 (acos_tonearest_test_data): Likewise.
7190 (acos_towardzero_test_data): Likewise.
7191 (acos_downward_test_data): Likewise.
7192 (acos_upward_test_data): Likewise.
7193 (acosh_test_data): Likewise.
7194 (asin_test_data): Likewise.
7195 (asin_tonearest_test_data): Likewise.
7196 (asin_towardzero_test_data): Likewise.
7197 (asin_upward_test_data): Likewise.
7198 (asinh_test_data): Likewise.
7199 (atan_test_data): Likewise.
7200 (atanh_test_data): Likewise.
7201 (cbrt_test_data): Likewise.
7202 (cos_test_data): Likewise.
7203 (cos_tonearest_test_data): Likewise.
7204 (cos_towardzero_test_data): Likewise.
7205 (cos_downward_test_data): Likewise.
7206 (cos_upward_test_data): Likewise.
7207 (cosh_test_data): Likewise.
7208 (cosh_tonearest_test_data): Likewise.
7209 (cosh_towardzero_test_data): Likewise.
7210 (cosh_downward_test_data): Likewise.
7211 (cosh_upward_test_data): Likewise.
7212 * sysdeps/i386/fpu/libm-test-ulps: Update.
7213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7215 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7218 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7219 * math/w_exp10f.c (__exp10f): Likewise.
7220 * math/w_exp10l.c (__exp10l): Likewise.
7221 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7222 errno settings in existing tests.
7225 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7226 precision control set to double precision.
7227 * sysdeps/i386/fpu/w_sqrt.c: New file.
7228 * math/auto-libm-test-in: Add more tests.
7229 * math/auto-libm-test-out: Update.
7231 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7232 (sqrt_test_tonearest): New function.
7233 (sqrt_towardzero_test_data): New variable.
7234 (sqrt_test_towardzero): New function.
7235 (sqrt_downward_test_data): New variable.
7236 (sqrt_test_downward): New function.
7237 (sqrt_upward_test_data): New variable.
7238 (sqrt_test_upward): New function.
7239 (main): Call the new functions.
7241 * math/gen-auto-libm-tests.c: New file.
7242 * math/auto-libm-test-in: Likewise.
7243 * math/auto-libm-test-out: New generated file.
7244 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7246 (%beautify): Add generated representations of zero.
7247 (top level): Set $auto_input and call parse_auto_input.
7248 (beautify): Remove trailing "f" from hex float constants.
7249 (parse_args): Handle XFAIL_TEST.
7250 (convert_condition): New function.
7251 (or_value): Likewise.
7252 (or_cond_value): Likewise.
7253 (generate_testfile): Handle AUTO_TESTS_* lines.
7254 (parse_auto_input): New function.
7255 * math/libm-test.inc (XFAIL_TEST): New macro.
7256 (ERRNO_UNCHANGED): Update value.
7257 (ERRNO_EDOM): Likewise.
7258 (ERRNO_ERANGE): Likewise.
7259 (IGNORE_RESULT): Likewise.
7260 (TEST_COND_flt_32): New macro.
7261 (TEST_COND_dbl_64): Likewise.
7262 (TEST_COND_ldbl_96_intel): Likewise.
7263 (TEST_COND_ldbl_96_m68k): Likewise.
7264 (TEST_COND_ldbl_128): Likewise.
7265 (TEST_COND_ldbl_128ibm): Likewise.
7266 (TEST_COND_long32): Likewise.
7267 (TEST_COND_long64): Likewise.
7268 (TEST_COND_before_rounding): Likewise.
7269 (TEST_COND_after_rounding): Likewise.
7270 (enable_test): Handle XFAIL_TEST flag.
7271 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7272 with finite results.
7273 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7276 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7277 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7280 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7281 __tls_get_addr_internal instead of __tls_get_offset in order to
7282 avoid GOT pointer dependency. Make rtld export
7283 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7284 __tls_get_addr since we are a __tls_get_offset platform.
7285 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7286 GOT pointer being set up before.
7287 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7289 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7291 * manual/math.texi (Errors in Math Functions): Document accuracy
7295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7296 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7299 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7305 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7312 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7313 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7314 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7315 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7316 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7318 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7320 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7322 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7323 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7324 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7325 atomic-feupdateenv and flt-rounds.
7326 * sysdeps/powerpc/nofpu/Versions (libc): Add
7327 __atomic_feholdexcept, __atomic_feclearexcept,
7328 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7329 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7330 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7331 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7332 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7337 * manual/arith.texi (FP Exceptions): Document that exceptions may
7338 not be raised when matherr is used.
7339 (Math Error Reporting): Document overflow in directed rounding
7340 modes. Document that errno may not be set when finite values are
7341 returned on overflow. Document intent to set errno on underflow
7342 only for underflow to zero.
7345 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7346 round-to-nearest then adjust result for other rounding modes.
7347 * include/fenv.h (fegetround): Use libm_hidden_proto.
7348 * math/fegetround.c (fegetround): Use libm_hidden_def.
7349 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7350 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7351 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7352 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7354 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7355 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7356 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7357 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7359 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7362 * nss/Versions (libnss_files): Add
7363 _nss_files_gethostbyname3_r.
7364 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7366 (HOST_DB_LOOKUP): Remove macro.
7367 (_nss_files_gethostbyname_r): Implement function without the
7368 HOST_DB_LOOKUP macro.
7369 (_nss_files_gethostbyname2_r): Likewise.
7371 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7373 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7375 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7377 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7378 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7381 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7383 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7384 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7385 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7386 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7387 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7388 __fe_nomask_env_priv and attribute_hidden.
7389 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7390 (libc_feupdateenv_test_ppc): Likewise.
7391 (libc_feresetround_ppc): Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7393 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7394 compat_symbol macro.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7396 (__fe_nomask_env): Likewise.
7397 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7399 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7401 * string/Makefile: Remove ifunc tests.
7402 * string/test-string.h: Define TEST_IFUNC.
7403 * string/test-bcopy-ifunc.c: Remove.
7404 * string/test-bzero-ifunc.c: Likewise.
7405 * string/test-memccpy-ifunc.c: Likewise.
7406 * string/test-memchr-ifunc.c: Likewise.
7407 * string/test-memcmp-ifunc.c: Likewise.
7408 * string/test-memcpy-ifunc.c: Likewise.
7409 * string/test-memmem-ifunc.c: Likewise.
7410 * string/test-memmove-ifunc.c: Likewise.
7411 * string/test-mempcpy-ifunc.c: Likewise.
7412 * string/test-memrchr-ifunc.c: Likewise.
7413 * string/test-memset-ifunc.c: Likewise.
7414 * string/test-rawmemchr-ifunc.c: Likewise.
7415 * string/test-stpcpy-ifunc.c: Likewise.
7416 * string/test-stpncpy-ifunc.c: Likewise.
7417 * string/test-strcasecmp-ifunc.c: Likewise.
7418 * string/test-strcasestr-ifunc.c: Likewise.
7419 * string/test-strcat-ifunc.c: Likewise.
7420 * string/test-strchr-ifunc.c: Likewise.
7421 * string/test-strchrnul-ifunc.c: Likewise.
7422 * string/test-strcmp-ifunc.c: Likewise.
7423 * string/test-strcpy-ifunc.c: Likewise.
7424 * string/test-strcspn-ifunc.c: Likewise.
7425 * string/test-strlen-ifunc.c: Likewise.
7426 * string/test-strncasecmp-ifunc.c: Likewise.
7427 * string/test-strncat-ifunc.c: Likewise.
7428 * string/test-strncmp-ifunc.c: Likewise.
7429 * string/test-strncpy-ifunc.c: Likewise.
7430 * string/test-strnlen-ifunc.c: Likewise.
7431 * string/test-strpbrk-ifunc.c: Likewise.
7432 * string/test-strrchr-ifunc.c: Likewise.
7433 * string/test-strspn-ifunc.c: Likewise.
7434 * string/test-strstr-ifunc.c: Likewise.
7436 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7438 * benchtests/Makefile: Remove ifunc tests.
7439 * benchtests/bench-string.h: Define TEST_IFUNC.
7440 * benchtests/bench-bcopy-ifunc.c: Remove.
7441 * benchtests/bench-bzero-ifunc.c: Likewise.
7442 * benchtests/bench-memccpy-ifunc.c: Likewise.
7443 * benchtests/bench-memchr-ifunc.c: Likewise.
7444 * benchtests/bench-memcmp-ifunc.c: Likewise.
7445 * benchtests/bench-memcpy-ifunc.c: Likewise.
7446 * benchtests/bench-memmem-ifunc.c: Likewise.
7447 * benchtests/bench-memmove-ifunc.c: Likewise.
7448 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7449 * benchtests/bench-memrchr-ifunc.c: Likewise.
7450 * benchtests/bench-memset-ifunc.c: Likewise.
7451 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7452 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7453 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7454 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7455 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7456 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7457 * benchtests/bench-strcat-ifunc.c: Likewise.
7458 * benchtests/bench-strchr-ifunc.c: Likewise.
7459 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7460 * benchtests/bench-strcmp-ifunc.c: Likewise.
7461 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7462 * benchtests/bench-strcpy-ifunc.c: Likewise.
7463 * benchtests/bench-strcspn-ifunc.c: Likewise.
7464 * benchtests/bench-strlen-ifunc.c: Likewise.
7465 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7466 * benchtests/bench-strncat-ifunc.c: Likewise.
7467 * benchtests/bench-strncmp-ifunc.c: Likewise.
7468 * benchtests/bench-strncpy-ifunc.c: Likewise.
7469 * benchtests/bench-strnlen-ifunc.c: Likewise.
7470 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7471 * benchtests/bench-strrchr-ifunc.c: Likewise.
7472 * benchtests/bench-strsep-ifunc.c: Likewise.
7473 * benchtests/bench-strspn-ifunc.c: Likewise.
7474 * benchtests/bench-strstr-ifunc.c: Likewise.
7476 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7478 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7480 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7482 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7483 * rt/aio.h: Likewise.
7484 * sysdeps/gnu/bits/utmp.h: Likewise.
7485 * sysdeps/gnu/bits/utmpx.h: Likewise.
7486 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7487 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7488 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7489 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7490 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7491 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7492 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7493 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7494 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7496 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7498 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7500 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7501 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7502 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7503 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7504 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7505 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7506 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7507 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7508 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7509 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7510 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7512 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7514 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7515 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7516 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7517 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7518 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7520 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7521 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7522 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7523 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7524 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7525 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7526 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7527 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7529 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7532 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7533 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7535 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7537 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7538 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7541 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7543 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7544 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7545 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7546 (__fesetround): Remove define.
7547 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7548 rounding and exceptions handling.
7549 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7550 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7551 (__fe_nomask_env): Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7553 __fegetround instead of fegetround.
7554 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7557 2013-11-21 Roland McGrath <roland@hack.frob.com>
7559 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7562 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7564 2013-11-21 Meador Inge <meadori@codesourcery.com>
7567 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7568 (encrypt_r): Likewise.
7569 * malloc/obstack.h (obstack_free): Likewise.
7570 * posix/unistd.h (encrypt): Likewise.
7572 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7574 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7575 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7576 DL_CALL_DT_FINI() that call the functions directly.
7577 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7578 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7579 * elf/dl-fini.c: Likewise.
7581 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7583 * malloc/hooks.c (memalign_check): Add alignment rounding.
7584 * malloc/malloc.c (_mid_memalign): New function.
7585 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7586 Implement by calling _mid_memalign.
7587 * manual/probes.texi (Memory Allocation Probes): Remove
7588 memory_valloc_retry and memory_pvalloc_retry.
7590 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7592 * locale/programs/locarchive.c (open_archive): Add const
7593 qualifier to ARCHIVEFNAME and copy default fname to
7597 * libio/tst-widetext.input: Rename Oriya to Odia.
7598 * locale/iso-639.def: Likewise.
7600 * manual/probes.texi (Mathematical Function Probes): Add
7601 documentation for sin, cos, asin and acos probes.
7602 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7603 (__sin32): Add slowasin probe.
7604 (__cos32): Add slowacos probe.
7605 (__mpsin): Add slowsin probe.
7606 (__mpcos): Add slowcos probe.
7608 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7611 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7612 thread-local __sim_exceptions_thread and global
7613 __sim_exceptions_global.
7614 (__sim_disabled_exceptions): Change to thread-local
7615 __sim_disabled_exceptions_thread and global
7616 __sim_disabled_exceptions_global.
7617 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7618 and global __sim_round_mode_global.
7619 (__simulate_exceptions): Use thread-local floating-point state and
7620 set global state from it as needed.
7621 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7622 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7623 __sim_round_mode_thread.
7624 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7625 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7626 and global __sim_exceptions_global.
7627 (__sim_disabled_exceptions): Change to thread-local
7628 __sim_disabled_exceptions_thread and global
7629 __sim_disabled_exceptions_global.
7630 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7631 and global __sim_round_mode_global.
7632 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7633 (SIM_SET_GLOBAL): Likewise.
7634 * sysdeps/powerpc/soft-fp/sfp-machine.h
7635 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7636 __sim_round_mode_thread.
7637 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7638 __sim_disabled_exceptions_thread.
7639 (__sim_exceptions): Change to __sim_exceptions_thread.
7640 (__sim_disabled_exceptions): Change to
7641 __sim_disabled_exceptions_thread.
7642 (__sim_round_mode): Change to __sim_round_mode_thread.
7643 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7644 thread-local floating-point state and set global state from it as
7646 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7647 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7648 (__sim_disabled_exceptions): Remove extern declaration.
7649 (feenableexcept): Use thread-local floating-point state and set
7650 global state from it as needed.
7651 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7653 (__sim_disabled_exceptions): Likewise.
7654 (__sim_round_mode): Likewise.
7655 (__fegetenv): Use thread-local floating-point state.
7656 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7657 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7659 floating-point state and set global state from it as needed.
7660 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7661 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7662 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7664 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7665 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7667 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7668 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7669 Use __sim_round_mode_thread.
7670 * math/test-fenv-tls.c: New file.
7671 * math/Makefile (tests): Add test-fenv-tls.
7672 ($(objpfx)test-fenv-tls): Depend on
7673 $(common-objpfx)nptl/libpthread.so.
7675 2013-11-19 Andreas Schwab <schwab@suse.de>
7677 * locale/programs/locale.c (show_info): Decode wordarray elements.
7678 * locale/categories.def (LC_MONETARY): Add element for
7679 _NL_MONETARY_CRNCYSTR.
7680 * locale/C-monetary.c (conversion_rate): New variable.
7681 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7684 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7686 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7687 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7689 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7691 * elf/Makefile (tst-auxv): New test.
7692 * elf/tst-auxv.c: New
7693 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7695 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7697 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7698 (hidden_proto): Caller changed.
7699 (hidden_tls_proto): New macro.
7700 (libc_hidden_tls_proto): Likewise.
7701 (rtld_hidden_tls_proto): Likewise.
7702 (libm_hidden_tls_proto): Likewise.
7703 (libresolv_hidden_tls_proto): Likewise.
7704 (librt_hidden_tls_proto): Likewise.
7705 (libdl_hidden_tls_proto): Likewise.
7706 (libnss_files_hidden_tls_proto): Likewise.
7707 (libnsl_hidden_tls_proto): Likewise.
7708 (libnss_nisplus_hidden_tls_proto): Likewise.
7709 (libutil_hidden_tls_proto): Likewise.
7711 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7714 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7715 (decompose_rpath): Defer expansion to fillin_rpath.
7716 (_dl_init_paths): Pass linkmap to fillin_rpath.
7718 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7720 * benchtests/Makefile: Add strsep.
7721 * benchtests/bench-strsep.c: New file: strsep benchtest.
7722 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7724 2013-11-18 Andreas Schwab <schwab@suse.de>
7726 * locale/programs/locale.c (show_info) [case byte]: Check for
7727 '\377' instead of '\177'.
7728 * locale/C-monetary.c (not_available): Always use "\377".
7729 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7730 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7731 detect unavailable sign_posn locale elements.
7732 * locale/localeconv.c (__localeconv): For grouping and
7733 mon_grouping handle "\177" and "\377" like no grouping.
7734 (INT_ELEM): New macro. Use it to set all numeric members.
7735 * locale/programs/ld-monetary.c (monetary_read)
7736 <tok_mon_grouping>: Normalize single -1 to the empty string.
7737 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7740 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7743 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7744 when we match (nil).
7745 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7747 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7749 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7750 (NO_TEST_INLINE): Update value.
7751 (ERRNO_UNCHANGED): Likewise.
7752 (ERRNO_EDOM): Likewise.
7753 (ERRNO_ERANGE): Likewise.
7754 (IGNORE_RESULT): Likewise.
7755 (check_float_internal): Check signs of NaN results if
7757 (check_complex): Pass TEST_NAN_SIGN flag through to second
7758 check_float_internal call.
7759 (copysign_test_data): Add tests with quiet NaNs as second
7760 argument. Use TEST_NAN_SIGN.
7761 (fabs_test_data): Add test of negative quiet NaN argument. Use
7763 (signbit_test_data): Add tests of quiet NaN argument.
7764 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7766 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7768 (parse_args): Handle function results specified as IGNORE.
7769 * math/libm-test.inc (IGNORE_RESULT): New macro.
7770 (check_float_internal): Do not check numerical result if flag
7772 (check_complex): Pass through IGNORE_RESULT to second
7773 check_float_internal call.
7774 (check_int): Do not check numerical result if flag IGNORE_RESULT
7776 (check_long): Likewise.
7777 (check_bool): Likewise.
7778 (check_longlong): Likewise.
7779 (lrint_test_data): Add tests of infinite and NaN arguments.
7780 (lrint_tonearest_test_data): Likewise.
7781 (lrint_towardzero_test_data): Likewise.
7782 (lrint_downward_test_data): Likewise.
7783 (lrint_upward_test_data): Likewise.
7784 (llrint_test_data): Likewise.
7785 (llrint_tonearest_test_data): Likewise.
7786 (llrint_towardzero_test_data): Likewise.
7787 (llrint_downward_test_data): Likewise.
7788 (llrint_upward_test_data): Likewise.
7789 (lround_test_data): Likewise.
7790 (llround_test_data): Likewise.
7792 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7793 (ERRNO_UNCHANGED): Update value.
7794 (ERRNO_EDOM): Likewise.
7795 (ERRNO_ERANGE): Likewise.
7796 (NO_TEST_INLINE_FLOAT): New macro.
7797 (NO_TEST_INLINE_DOUBLE): Likewise.
7798 (enable_test): New function.
7799 (RUN_TEST_f_f): Check enable_test before running test.
7800 (RUN_TEST_2_f): Likewise.
7801 (RUN_TEST_fff_f): Likewise.
7802 (RUN_TEST_c_f): Likewise.
7803 (RUN_TEST_f_f1): Likewise.
7804 (RUN_TEST_fF_f1): Likewise.
7805 (RUN_TEST_fI_f1): Likewise.
7806 (RUN_TEST_ffI_f1): Likewise.
7807 (RUN_TEST_c_c): Likewise.
7808 (RUN_TEST_cc_c): Likewise.
7809 (RUN_TEST_f_i): Likewise.
7810 (RUN_TEST_f_i_tg): Likewise.
7811 (RUN_TEST_ff_i_tg): Likewise.
7812 (RUN_TEST_f_b): Likewise.
7813 (RUN_TEST_f_b_tg): Likewise.
7814 (RUN_TEST_f_l): Likewise.
7815 (RUN_TEST_f_L): Likewise.
7816 (RUN_TEST_fFF_11): Likewise.
7817 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7819 (cosh_test_data): Likewise.
7820 (exp_test_data): Likewise.
7821 (expm1_test_data): Likewise.
7822 (hypot_test_data): Likewise.
7823 (pow_test_data): Likewise.
7824 (sinh_test_data): Likewise.
7825 (tanh_test_data): Likewise.
7826 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7829 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7830 tests with quiet NaN input and output.
7831 (acosh_test_data): Likewise.
7832 (asin_test_data): Likewise.
7833 (asinh_test_data): Likewise.
7834 (atan_test_data): Likewise.
7835 (atanh_test_data): Likewise.
7836 (atan2_test_data): Likewise.
7837 (cbrt_test_data): Likewise.
7838 (cos_test_data): Likewise.
7839 (cosh_test_data): Likewise.
7840 (erf_test_data): Likewise.
7841 (erfc_test_data): Likewise.
7842 (exp_test_data): Likewise.
7843 (exp10_test_data): Likewise.
7844 (exp2_test_data): Likewise.
7845 (expm1_test_data): Likewise.
7846 (hypot_test_data): Likewise.
7847 (j0_test_data): Likewise.
7848 (j1_test_data): Likewise.
7849 (jn_test_data): Likewise.
7850 (lgamma_test_data): Likewise.
7851 (log_test_data): Likewise.
7852 (log10_test_data): Likewise.
7853 (log1p_test_data): Likewise.
7854 (log2_test_data): Likewise.
7855 (pow_test_data): Likewise.
7856 (scalb_test_data): Likewise.
7857 (sin_test_data): Likewise.
7858 (sincos_test_data): Likewise.
7859 (sinh_test_data): Likewise.
7860 (tan_test_data): Likewise.
7861 (tanh_test_data): Likewise.
7862 (tgamma_test_data): Likewise.
7863 (y0_test_data): Likewise.
7864 (y1_test_data): Likewise.
7865 (yn_test_data): Likewise.
7868 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7869 argument being NaN and avoid computations with second argument in
7871 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7872 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7873 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7875 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7877 * locale/iso-639.def: Add Chitwani Tharu (the).
7879 2013-11-14 Andreas Schwab <schwab@suse.de>
7881 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7882 word instead of empty string.
7884 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7887 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7889 (__fe_nomask_env): Likewise.
7891 2013-11-13 Steve Ellcey <sellcey@mips.com>
7893 * benchtests/bench-timing.h: Include time.h.
7895 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7898 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7900 * sysdeps/unix/sysv/linux/configure: Regenerated.
7902 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7905 * stdlib/strtod_l.c (round_and_return): Do not consider
7906 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7907 exponent one less than half the least subnormal exponent.
7908 * stdlib/test-strtod-round-data: Add more tests.
7909 * stdlib/tst-strtod-round.c (tests): Regenerated.
7911 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7914 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7915 (__fe_mask_env): Likewise.
7916 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7917 libm_hidden_proto and add function prototype.
7918 (__fe_mask_env): Add function prototype.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7920 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7922 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7924 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7926 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7928 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7929 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7931 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7933 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7934 of htab_find_slot().
7936 2013-11-11 David S. Miller <davem@davemloft.net>
7939 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7940 symbol in the non-vis3 case in static builds.
7941 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7942 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7943 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7944 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7946 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7949 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7952 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7954 * benchtests/Makefile: Add bench-strtod.
7955 * benchtests/bench-strtod.c: New file: strtod benchtest
7957 2013-11-11 Andreas Schwab <schwab@suse.de>
7960 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7961 terminating NUL in key length.
7963 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7965 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7966 Add artificial ODP entry for vDSO symbol for PPC64.
7967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7968 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7970 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7973 * nss/getent.c (services_keys): Recognize services starting with digit.
7975 2013-11-06 David S. Miller <davem@davemloft.net>
7978 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7979 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7981 2013-11-06 Will Newton <will.newton@linaro.org>
7983 * manual/memory.texi (Malloc Examples): Remove register
7984 keyword from examples.
7986 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7988 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7990 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7993 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7994 depending on [__GCC_IEC_559 > 0].
7995 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7996 depending on [__GCC_IEC_559_COMPLEX > 0].
7998 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8000 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8003 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8005 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8007 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8010 * malloc/malloc (malloc_info): Do not handle first bin as
8013 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8015 * locale/iso-639.def: Add Central Nahuatl (nhn).
8017 2013-11-01 Bruno Haible <bruno@clisp.org>
8020 * manual/math.texi (BSD Random): Specify range upper bound as
8023 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8025 * locale/iso-639.def: Add Meadow Mari (mhr).
8027 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8029 [BZ #14752], [BZ #15763]
8030 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8032 * rt/tst_shm.c: Add test for escaping directory.
8034 2013-10-31 Andreas Schwab <schwab@suse.de>
8037 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8038 followed by 'x' as part of digit sequence.
8039 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8041 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8044 * configure.ac: allow GNU Make 4.0 and greater.
8045 * configure: Regenerated.
8047 2013-10-30 Will Newton <will.newton@linaro.org>
8050 * malloc/hooks.c (memalign_check): Limit alignment to the
8051 maximum representable power of two.
8052 * malloc/malloc.c (__libc_memalign): Likewise.
8053 * malloc/tst-memalign.c (do_test): Add test for very
8054 large alignment values.
8055 * malloc/tst-posix_memalign.c (do_test): Likewise.
8057 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8060 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8061 (munmap_chunk): Likewise.
8062 (mremap_chunk): Likewise.
8064 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8067 * stdlib/div.c (div): Remove obsolete code.
8068 * stdlib/ldiv.c (ldiv): Likewise.
8069 * stdlib/lldiv.c (lldiv): Likewise.
8071 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8074 * nss/nss_files/files-XXX.c (get_contents_ret): New
8076 (get_contents): New function.
8077 (internal_getent): Use it. Expand size of LINEBUFLEN.
8079 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8081 * configure.in: Moved to ...
8082 * configure.ac: ... here. Change reference to configure.in
8084 * sysdeps/arm/preconfigure.ac: ... here.
8085 configure.in to configure.ac.
8086 * sysdeps/gnu/configure.in: Moved to ...
8087 * sysdeps/gnu/configure.ac: ... here.
8088 * sysdeps/i386/configure.in: Moved to ...
8089 * sysdeps/i386/configure.ac: ... here.
8090 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8091 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8092 * sysdeps/mach/configure.in: Moved to ...
8093 * sysdeps/mach/configure.ac: ... here.
8094 * sysdeps/mach/hurd/configure.in: Moved to ...
8095 * sysdeps/mach/hurd/configure.ac: ... here.
8096 * sysdeps/powerpc/configure.in: Moved to ...
8097 * sysdeps/powerpc/configure.ac: ... here.
8098 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8099 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8100 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8101 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8102 * sysdeps/s390/s390-32/configure.in: Moved to ...
8103 * sysdeps/s390/s390-32/configure.ac: ... here.
8104 * sysdeps/s390/s390-64/configure.in: Moved to ...
8105 * sysdeps/s390/s390-64/configure.ac: ... here.
8106 * sysdeps/sh/configure.in: Moved to ...
8107 * sysdeps/sh/configure.ac: ... here.
8108 * sysdeps/sparc/configure.in: Moved to ...
8109 * sysdeps/sparc/configure.ac: ... here.
8110 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8111 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8112 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8113 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8114 * sysdeps/x86_64/configure.in: Moved to ...
8115 * sysdeps/x86_64/configure.ac: ... here.
8116 * sysdeps/x86_64/preconfigure.in: Moved to ...
8117 * sysdeps/x86_64/preconfigure.ac: ... here.
8118 * aclocal.m4: Change reference to configure.in to configure.ac.
8119 * config.h.in: Likewise.
8120 * manual/install.texi: Likewise.
8121 * manual/maint.texi: Likewise.
8122 * Makefile: Likewise.
8123 * malloc/Makefile: Likewise.
8124 * nscd/Makefile: Likewise.
8125 * Makeconfig: Change reference to configure.in and
8126 preconfigure.in to configure.ac and preconfigure.ac
8128 * INSTALL: Regenerated.
8129 * configure: Likewise.
8130 * sysdeps/gnu/configure: Likewise.
8131 * sysdeps/i386/configure: Likewise.
8132 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8133 * sysdeps/mach/configure: Likewise.
8134 * sysdeps/mach/hurd/configure: Likewise.
8135 * sysdeps/powerpc/configure: Likewise.
8136 * sysdeps/powerpc/powerpc32/configure: Likewise.
8137 * sysdeps/powerpc/powerpc64/configure: Likewise.
8138 * sysdeps/s390/s390-32/configure: Likewise.
8139 * sysdeps/s390/s390-64/configure: Likewise.
8140 * sysdeps/sh/configure: Likewise.
8141 * sysdeps/sparc/configure: Likewise.
8142 * sysdeps/unix/sysv/linux/configure: Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8144 * sysdeps/x86_64/configure: Likewise.
8145 * sysdeps/x86_64/preconfigure: Likewise.
8147 2013-10-29 Andreas Schwab <schwab@suse.de>
8149 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8151 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8153 * benchtests/pow-inputs: Add new inputs.
8155 * benchtests/exp-inputs: Add new inputs.
8157 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8158 conditional check for return value.
8159 (__cos32): Likewise.
8161 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8164 to provide a boost for large inputs with word alignment.
8165 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8166 implementation based on optimized PPC64 strcpy.
8167 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8168 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8169 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8170 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8172 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8175 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8177 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8180 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8181 * time/tst-strptime.c (day_tests): Add testcase.
8183 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8186 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8188 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8191 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8192 MAP_FAILED on error.
8194 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8197 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8198 heap for large requests.
8200 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8203 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8204 result if the result has no associated interface.
8205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8206 interface for all 127.X.Y.Z addresses.
8208 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8210 * locale/iso-639.def: Add Ligurian (lij)
8212 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8215 * sunrpc/rpc_main.c: Document rpcgen -5.
8217 2013-10-19 Michael Stahl <mstahl@redhat.com>
8219 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8221 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8224 * posix/glob.c: Match only directories when trailing slash is present.
8225 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8226 (main): Add testcase.
8228 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8231 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8233 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8235 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8236 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8237 AUTH_DES and cindex for FIPS 140-2.
8238 (DES Encryption): Add cindex FIPS 46-3.
8240 * locale/locarchive.h (struct locarhandle): Add fname.
8241 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8242 if an optional argument was specified to --list-archive,
8244 * locale/programs/locarchive.c (show_archive_content): Take new
8245 argument fname and pass it via ah.fname to open_archive.
8246 * locale/programs/localedef.h: Update decl.
8247 (open_archive): If AH->fname is non-null, open that file
8248 rather than the default file name, and don't ignore ENOENT.
8249 (create_archive): Set AH.fname to NULL.
8250 (delete_locales_from_archive): Likewise.
8251 (add_locales_to_archive): Likewise.
8252 * locale/programs/locfile.c (write_all_categories): Likewise.
8254 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8255 Aldy Hernandez <aldyh@redhat.com>
8257 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8258 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8259 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8260 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8261 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8262 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8263 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8264 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8265 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8266 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8267 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8268 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8269 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8270 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8271 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8273 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8275 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8277 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8279 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8280 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8282 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8283 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8284 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8285 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8287 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8288 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8289 * sysdeps/powerpc/preconfigure: Likewise.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8292 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8293 Replace contents of file by #include of <fenv_libc.h>.
8294 * sysdeps/powerpc/soft-fp/sfp-machine.h
8295 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8297 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8299 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8300 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8301 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8302 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8305 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8306 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8307 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8308 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8310 Allow copysignl PLT reference to be missing.
8312 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8313 Joseph Myers <joseph@codesourcery.com
8316 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8318 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8320 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8322 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8323 * elf/tst-tls1.c: Likewise.
8324 * elf/tst-tls10.h: Likewise.
8325 * elf/tst-tls14.c: Likewise.
8326 * elf/tst-tls2.c: Likewise.
8327 * elf/tst-tls3.c: Likewise.
8328 * elf/tst-tls4.c: Likewise.
8329 * elf/tst-tls5.c: Likewise.
8330 * elf/tst-tls6.c: Likewise.
8331 * elf/tst-tls7.c: Likewise.
8332 * elf/tst-tls8.c: Likewise.
8333 * elf/tst-tls9.c: Likewise.
8334 * elf/tst-tlsmod1.c: Likewise.
8335 * elf/tst-tlsmod13.c: Likewise.
8336 * elf/tst-tlsmod13a.c: Likewise.
8337 * elf/tst-tlsmod14a.c: Likewise.
8338 * elf/tst-tlsmod16a.c: Likewise.
8339 * elf/tst-tlsmod16b.c: Likewise.
8340 * elf/tst-tlsmod2.c: Likewise.
8341 * elf/tst-tlsmod3.c: Likewise.
8342 * elf/tst-tlsmod4.c: Likewise.
8343 * elf/tst-tlsmod5.c: Likewise.
8344 * elf/tst-tlsmod6.c: Likewise.
8346 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8349 * malloc/malloc.c: remove checks for statistics.
8351 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8354 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8355 * inet/tst-network.c: Add testcase.
8357 2013-10-17 Andreas Schwab <schwab@suse.de>
8360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8361 to determine canonical name.
8363 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8365 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8366 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8388 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8389 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8391 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8392 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8394 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8395 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8424 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8427 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8428 make result into a quiet NaN.
8430 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8432 * soft-fp/adddf3.c: Fix horizontal whitespace.
8433 * soft-fp/addsf3.c: Likewise.
8434 * soft-fp/addtf3.c: Likewise.
8435 * soft-fp/divdf3.c: Likewise.
8436 * soft-fp/divsf3.c: Likewise.
8437 * soft-fp/divtf3.c: Likewise.
8438 * soft-fp/double.h: Likewise.
8439 * soft-fp/eqdf2.c: Likewise.
8440 * soft-fp/eqsf2.c: Likewise.
8441 * soft-fp/eqtf2.c: Likewise.
8442 * soft-fp/extenddftf2.c: Likewise.
8443 * soft-fp/extended.h: Likewise.
8444 * soft-fp/extendsfdf2.c: Likewise.
8445 * soft-fp/extendsftf2.c: Likewise.
8446 * soft-fp/extendxftf2.c: Likewise.
8447 * soft-fp/fixdfdi.c: Likewise.
8448 * soft-fp/fixdfsi.c: Likewise.
8449 * soft-fp/fixdfti.c: Likewise.
8450 * soft-fp/fixsfdi.c: Likewise.
8451 * soft-fp/fixsfsi.c: Likewise.
8452 * soft-fp/fixsfti.c: Likewise.
8453 * soft-fp/fixtfdi.c: Likewise.
8454 * soft-fp/fixtfsi.c: Likewise.
8455 * soft-fp/fixtfti.c: Likewise.
8456 * soft-fp/fixunsdfdi.c: Likewise.
8457 * soft-fp/fixunsdfsi.c: Likewise.
8458 * soft-fp/fixunsdfti.c: Likewise.
8459 * soft-fp/fixunssfdi.c: Likewise.
8460 * soft-fp/fixunssfsi.c: Likewise.
8461 * soft-fp/fixunssfti.c: Likewise.
8462 * soft-fp/fixunstfdi.c: Likewise.
8463 * soft-fp/fixunstfsi.c: Likewise.
8464 * soft-fp/fixunstfti.c: Likewise.
8465 * soft-fp/floatdidf.c: Likewise.
8466 * soft-fp/floatdisf.c: Likewise.
8467 * soft-fp/floatditf.c: Likewise.
8468 * soft-fp/floatsidf.c: Likewise.
8469 * soft-fp/floatsisf.c: Likewise.
8470 * soft-fp/floatsitf.c: Likewise.
8471 * soft-fp/floattidf.c: Likewise.
8472 * soft-fp/floattisf.c: Likewise.
8473 * soft-fp/floattitf.c: Likewise.
8474 * soft-fp/floatundidf.c: Likewise.
8475 * soft-fp/floatundisf.c: Likewise.
8476 * soft-fp/floatunditf.c: Likewise.
8477 * soft-fp/floatunsidf.c: Likewise.
8478 * soft-fp/floatunsisf.c: Likewise.
8479 * soft-fp/floatunsitf.c: Likewise.
8480 * soft-fp/floatuntidf.c: Likewise.
8481 * soft-fp/floatuntisf.c: Likewise.
8482 * soft-fp/floatuntitf.c: Likewise.
8483 * soft-fp/fmadf4.c: Likewise.
8484 * soft-fp/fmasf4.c: Likewise.
8485 * soft-fp/fmatf4.c: Likewise.
8486 * soft-fp/gedf2.c: Likewise.
8487 * soft-fp/gesf2.c: Likewise.
8488 * soft-fp/getf2.c: Likewise.
8489 * soft-fp/ledf2.c: Likewise.
8490 * soft-fp/lesf2.c: Likewise.
8491 * soft-fp/letf2.c: Likewise.
8492 * soft-fp/muldf3.c: Likewise.
8493 * soft-fp/mulsf3.c: Likewise.
8494 * soft-fp/multf3.c: Likewise.
8495 * soft-fp/negdf2.c: Likewise.
8496 * soft-fp/negsf2.c: Likewise.
8497 * soft-fp/negtf2.c: Likewise.
8498 * soft-fp/op-1.h: Likewise.
8499 * soft-fp/op-2.h: Likewise.
8500 * soft-fp/op-4.h: Likewise.
8501 * soft-fp/op-8.h: Likewise.
8502 * soft-fp/op-common.h: Likewise.
8503 * soft-fp/quad.h: Likewise.
8504 * soft-fp/single.h: Likewise.
8505 * soft-fp/soft-fp.h: Likewise.
8506 * soft-fp/sqrtdf2.c: Likewise.
8507 * soft-fp/sqrtsf2.c: Likewise.
8508 * soft-fp/sqrttf2.c: Likewise.
8509 * soft-fp/subdf3.c: Likewise.
8510 * soft-fp/subsf3.c: Likewise.
8511 * soft-fp/subtf3.c: Likewise.
8512 * soft-fp/truncdfsf2.c: Likewise.
8513 * soft-fp/trunctfdf2.c: Likewise.
8514 * soft-fp/trunctfsf2.c: Likewise.
8515 * soft-fp/trunctfxf2.c: Likewise.
8516 * soft-fp/unorddf2.c: Likewise.
8517 * soft-fp/unordsf2.c: Likewise.
8518 * soft-fp/unordtf2.c: Likewise.
8520 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8522 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8523 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8525 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8527 * elf/dl-libc.c: Clear initfini list after freeing.
8529 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8531 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8532 * soft-fp/addsf3.c: Likewise.
8533 * soft-fp/addtf3.c: Likewise.
8534 * soft-fp/divdf3.c: Likewise.
8535 * soft-fp/divsf3.c: Likewise.
8536 * soft-fp/divtf3.c: Likewise.
8537 * soft-fp/double.h: Likewise.
8538 * soft-fp/eqdf2.c: Likewise.
8539 * soft-fp/eqsf2.c: Likewise.
8540 * soft-fp/eqtf2.c: Likewise.
8541 * soft-fp/extenddftf2.c: Likewise.
8542 * soft-fp/extended.h: Likewise.
8543 * soft-fp/extendsfdf2.c: Likewise.
8544 * soft-fp/extendsftf2.c: Likewise.
8545 * soft-fp/extendxftf2.c: Likewise.
8546 * soft-fp/fixdfdi.c: Likewise.
8547 * soft-fp/fixdfsi.c: Likewise.
8548 * soft-fp/fixdfti.c: Likewise.
8549 * soft-fp/fixsfdi.c: Likewise.
8550 * soft-fp/fixsfsi.c: Likewise.
8551 * soft-fp/fixsfti.c: Likewise.
8552 * soft-fp/fixtfdi.c: Likewise.
8553 * soft-fp/fixtfsi.c: Likewise.
8554 * soft-fp/fixtfti.c: Likewise.
8555 * soft-fp/fixunsdfdi.c: Likewise.
8556 * soft-fp/fixunsdfsi.c: Likewise.
8557 * soft-fp/fixunsdfti.c: Likewise.
8558 * soft-fp/fixunssfdi.c: Likewise.
8559 * soft-fp/fixunssfsi.c: Likewise.
8560 * soft-fp/fixunssfti.c: Likewise.
8561 * soft-fp/fixunstfdi.c: Likewise.
8562 * soft-fp/fixunstfsi.c: Likewise.
8563 * soft-fp/fixunstfti.c: Likewise.
8564 * soft-fp/floatdidf.c: Likewise.
8565 * soft-fp/floatdisf.c: Likewise.
8566 * soft-fp/floatditf.c: Likewise.
8567 * soft-fp/floatsidf.c: Likewise.
8568 * soft-fp/floatsisf.c: Likewise.
8569 * soft-fp/floatsitf.c: Likewise.
8570 * soft-fp/floattidf.c: Likewise.
8571 * soft-fp/floattisf.c: Likewise.
8572 * soft-fp/floattitf.c: Likewise.
8573 * soft-fp/floatundidf.c: Likewise.
8574 * soft-fp/floatundisf.c: Likewise.
8575 * soft-fp/floatunsidf.c: Likewise.
8576 * soft-fp/floatunsisf.c: Likewise.
8577 * soft-fp/floatuntidf.c: Likewise.
8578 * soft-fp/floatuntisf.c: Likewise.
8579 * soft-fp/floatuntitf.c: Likewise.
8580 * soft-fp/fmadf4.c: Likewise.
8581 * soft-fp/fmasf4.c: Likewise.
8582 * soft-fp/fmatf4.c: Likewise.
8583 * soft-fp/gedf2.c: Likewise.
8584 * soft-fp/gesf2.c: Likewise.
8585 * soft-fp/getf2.c: Likewise.
8586 * soft-fp/ledf2.c: Likewise.
8587 * soft-fp/lesf2.c: Likewise.
8588 * soft-fp/letf2.c: Likewise.
8589 * soft-fp/muldf3.c: Likewise.
8590 * soft-fp/mulsf3.c: Likewise.
8591 * soft-fp/multf3.c: Likewise.
8592 * soft-fp/negdf2.c: Likewise.
8593 * soft-fp/negsf2.c: Likewise.
8594 * soft-fp/negtf2.c: Likewise.
8595 * soft-fp/op-1.h: Likewise.
8596 * soft-fp/op-2.h: Likewise.
8597 * soft-fp/op-4.h: Likewise.
8598 * soft-fp/op-8.h: Likewise.
8599 * soft-fp/op-common.h: Likewise.
8600 * soft-fp/quad.h: Likewise.
8601 * soft-fp/single.h: Likewise.
8602 * soft-fp/soft-fp.h: Likewise.
8603 * soft-fp/sqrtdf2.c: Likewise.
8604 * soft-fp/sqrtsf2.c: Likewise.
8605 * soft-fp/sqrttf2.c: Likewise.
8606 * soft-fp/subdf3.c: Likewise.
8607 * soft-fp/subsf3.c: Likewise.
8608 * soft-fp/subtf3.c: Likewise.
8609 * soft-fp/truncdfsf2.c: Likewise.
8610 * soft-fp/trunctfdf2.c: Likewise.
8611 * soft-fp/trunctfsf2.c: Likewise.
8612 * soft-fp/trunctfxf2.c: Likewise.
8613 * soft-fp/unorddf2.c: Likewise.
8614 * soft-fp/unordsf2.c: Likewise.
8615 * soft-fp/unordtf2.c: Likewise.
8617 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8620 * misc/error.c (error_tail): Fix possible buffer overflow.
8622 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8625 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8628 2013-10-14 P. J. McDermott <pj@pehjota.net>
8631 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8632 testing pipefail option.
8634 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8636 * soft-fp/double.h: Indent preprocessor directives inside #if.
8637 * soft-fp/extended.h: Likewise.
8638 * soft-fp/op-2.h: Likewise.
8639 * soft-fp/op-4.h: Likewise.
8640 * soft-fp/op-common.h: Likewise.
8641 * soft-fp/quad.h: Likewise.
8642 * soft-fp/single.h: Likewise.
8643 * soft-fp/soft-fp.h: Likewise.
8645 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8647 * iconv/iconv_prog.c: Fix typos.
8648 * stdio-common/psiginfo-data.h: Likewise.
8650 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8653 * locale/setlocale.c: Fix typo.
8655 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8658 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8659 signaling NaN arguments.
8660 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8661 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8664 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8666 * soft-fp/gesf2.c (__gesf2): Likewise.
8667 * soft-fp/getf2.c (__getf2): Likewise.
8668 * soft-fp/ledf2.c (__ledf2): Likewise.
8669 * soft-fp/lesf2.c (__lesf2): Likewise.
8670 * soft-fp/letf2.c (__letf2): Likewise.
8672 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8673 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8674 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8675 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8676 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8677 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8678 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8679 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8680 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8681 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8682 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8683 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8684 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8685 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8686 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8687 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8688 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8689 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8690 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8691 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8692 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8693 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8694 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8695 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8696 * soft-fp/floattidf.c (__floattidf): Likewise.
8697 * soft-fp/floattisf.c (__floattisf): Likewise.
8698 * soft-fp/floattitf.c (__floattitf): Likewise.
8699 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8700 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8701 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8702 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8703 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8704 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8705 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8706 * soft-fp/gesf2.c (__gesf2): Likewise.
8707 * soft-fp/getf2.c (__getf2): Likewise.
8708 * soft-fp/ledf2.c (__ledf2): Likewise.
8709 * soft-fp/lesf2.c (__lesf2): Likewise.
8710 * soft-fp/letf2.c (__letf2): Likewise.
8712 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8713 Undefine and redefine.
8714 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8715 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8716 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8717 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8718 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8719 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8720 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8721 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8722 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8723 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8724 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8725 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8726 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8727 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8728 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8731 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8732 without decrementing exponent if mantissa >= that for the
8734 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8735 denominator, not >. Decrement exponent in < case instead of
8736 incrementing in >= case.
8737 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8738 without decrementing exponent if mantissa >= that for the
8741 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8742 computing saturated result for unsigned overflow.
8744 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8745 Jeff Law <law@redhat.com>
8747 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8748 (atan2Mp): Add systemtap probe marker.
8749 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8750 (__ieee754_log): Add systemtap probe marker.
8751 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8752 (atanMp): Add systemtap probe marker.
8753 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8754 (tanMp): Add systemtap probe marker.
8755 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8756 (__slowexp): Add systemtap probe marker.
8757 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8758 (__slowpow): Add systemtap probe marker.
8759 * manual/probes.texi: Document probes.
8761 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8764 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8766 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8768 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8769 written to buffer but not flushed.
8770 * libio/iofwrite_u.c: Likewise.
8771 * libio/iopadn.c: Return bytes returned even if EOF was
8773 * libio/iowpadn.c: Likewise.
8774 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8775 if _IO_padn does not write the whole buffer.
8776 [!COMPILE_WPRINTF] (PAD): Likewise.
8778 2013-10-10 David S. Miller <davem@davemloft.net>
8780 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8783 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8785 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8786 instead of FSF address.
8787 * soft-fp/fixdfti.c: Likewise.
8788 * soft-fp/fixsfti.c: Likewise.
8789 * soft-fp/fixtfti.c: Likewise.
8790 * soft-fp/fixunsdfti.c: Likewise.
8791 * soft-fp/fixunssfti.c: Likewise.
8792 * soft-fp/fixunstfti.c: Likewise.
8793 * soft-fp/floattidf.c: Likewise.
8794 * soft-fp/floattisf.c: Likewise.
8795 * soft-fp/floattitf.c: Likewise.
8796 * soft-fp/floatuntidf.c: Likewise.
8797 * soft-fp/floatuntisf.c: Likewise.
8798 * soft-fp/floatuntitf.c: Likewise.
8799 * soft-fp/trunctfxf2.c: Likewise.
8801 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8802 * soft-fp/fixdfti.c: Likewise.
8803 * soft-fp/fixsfti.c: Likewise.
8804 * soft-fp/fixtfti.c: Likewise.
8805 * soft-fp/fixunsdfti.c: Likewise.
8806 * soft-fp/fixunssfti.c: Likewise.
8807 * soft-fp/fixunstfti.c: Likewise.
8808 * soft-fp/floattidf.c: Likewise.
8809 * soft-fp/floattisf.c: Likewise.
8810 * soft-fp/floattitf.c: Likewise.
8811 * soft-fp/floatuntidf.c: Likewise.
8812 * soft-fp/floatuntisf.c: Likewise.
8813 * soft-fp/floatuntitf.c: Likewise.
8814 * soft-fp/trunctfxf2.c: Likewise.
8816 2013-10-10 David S. Miller <davem@davemloft.net>
8818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8820 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8822 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8823 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8824 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8825 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8826 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8827 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8828 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8831 for NaNs before doing comparisons on argument.
8832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8835 2013-10-10 Will Newton <will.newton@linaro.org>
8837 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8838 passed to _int_memalign does not overflow.
8840 2013-10-10 Torvald Riegel <triegel@redhat.com>
8842 * scripts/bench.pl: Add include-sources directive.
8843 * benchtests/README: Update documentation.
8845 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8847 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8848 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8849 instead of FP_INIT_ROUNDMODE.
8850 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8851 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8854 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8855 copy class of input value.
8856 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8857 not handle exceptions.
8858 * soft-fp/negsf2.c (__negsf2): Likewise.
8859 * soft-fp/negtf2.c (__negtf2): Likewise.
8860 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8862 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8864 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8865 semicolon. From Linux kernel.
8867 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8869 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8871 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8874 * manual/socket.texi: Added statement about buffer
8875 for gethostbyname2_r.
8877 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8879 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8880 Use .p2align directive instead, throughout.
8881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8882 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8883 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8884 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8886 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8887 * sysdeps/x86_64/strchr.S: Likewise.
8888 * sysdeps/x86_64/strrchr.S: Likewise.
8890 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8892 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8894 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8896 * sysdeps/generic/math_private.h (__mpsin1): Remove
8898 (__mpcos1): Likewise.
8899 (__mpsin): New argument __range_reduce.
8900 (__mpcos): Likewise.
8901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8902 (slow): Use __mpsin and __mpcos.
8909 (bsloww1): Likewise.
8910 (bsloww2): Likewise.
8913 (csloww1): Likewise.
8914 (csloww2): Likewise.
8915 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8916 range_reduce. Merge in __mpsin1.
8917 (__mpcos): Likewise.
8919 (__mpcos1): Likewise.
8921 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8923 * locale/loadlocale.c (_nl_intern_locale_data): Use
8925 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8926 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8927 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8928 obstack data is appropriately aligned.
8929 (obstack_int32_grow_fast): Likewise.
8930 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8931 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8932 (add_locale_uint32_array): Likewise.
8934 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8936 * benchtests/Makefile: Remove ARGLIST and RET variables.
8937 ($(objpfx)bench-%.c): Pass only function name to the script.
8938 * benchtests/README: Update documentation.
8939 * benchtests/acos-inputs: Add new directives.
8940 * benchtests/acosh-inputs: Likewise.
8941 * benchtests/asin-inputs: Likewise.
8942 * benchtests/asinh-inputs: Likewise.
8943 * benchtests/atan-inputs: Likewise.
8944 * benchtests/atanh-inputs: Likewise.
8945 * benchtests/cos-inputs: Likewise.
8946 * benchtests/cosh-inputs: Likewise.
8947 * benchtests/exp-inputs: Likewise.
8948 * benchtests/log-inputs: Likewise.
8949 * benchtests/pow-inputs: Likewise.
8950 * benchtests/rint-inputs: Likewise.
8951 * benchtests/sin-inputs: Likewise.
8952 * benchtests/sinh-inputs: Likewise.
8953 * benchtests/tan-inputs: Likewise.
8954 * benchtests/tanh-inputs: Likewise.
8955 * scripts/bench.pl: Add support for new directives.
8957 2013-10-07 Alan Modra <amodra@gmail.com>
8959 * README: Fix careless merge.
8961 2013-10-05 Alan Modra <amodra@gmail.com>
8963 * NEWS: Mention powerpc64le support and bugs fixed.
8964 * README: Both big-endian and little-endian powerpc64 supported.
8966 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8968 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8969 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8970 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8971 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8973 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8975 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8978 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8980 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8981 Move -mhard-float appending from
8982 ports/sysdeps/powerpc/powerpc32/Makefile.
8983 [$(with-fp) = yes] (ASFLAGS): Likewise.
8984 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8985 * sysdeps/powerpc/nofpu: Move directory from
8986 ports/sysdeps/powerpc/nofpu.
8987 * sysdeps/powerpc/soft-fp: Move directory from
8988 ports/sysdeps/powerpc/soft-fp.
8989 * sysdeps/powerpc/powerpc32/405: Move directory from
8990 ports/sysdeps/powerpc/powerpc32/405.
8991 * sysdeps/powerpc/powerpc32/440: Move directory from
8992 ports/sysdeps/powerpc/powerpc32/440.
8993 * sysdeps/powerpc/powerpc32/464: Move directory from
8994 ports/sysdeps/powerpc/powerpc32/464.
8995 * sysdeps/powerpc/powerpc32/476: Move directory from
8996 ports/sysdeps/powerpc/powerpc32/476.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8998 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9000 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9002 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9004 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9006 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9007 * README: Update for powerpc-*-linux-gnu software floating point
9010 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9011 case to powerpc/powerpc32*.
9012 * sysdeps/unix/sysv/linux/configure: Regenerated.
9014 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9015 (_FPU_MASK_OM): Define as 0x04.
9016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9024 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9027 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9030 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9031 and setcontext_e500.
9033 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9035 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9037 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9039 * manual/threads.texi (Default Thread Attributes): Fix typo.
9041 2013-10-04 Will Newton <will.newton@linaro.org>
9043 * malloc/Makefile: Add tst-memalign.
9044 * malloc/tst-memalign.c: New file.
9046 * malloc/tst-posix_memalign.c: Add comments.
9047 (do_test): Add comments and call free on all potentially
9048 allocated pointers. Add space after cast.
9050 * malloc/tst-pvalloc.c: Add comments.
9051 (do_test): Add comments and call free on all potentially
9052 allocated pointers. Remove duplicate check for NULL pointer.
9053 Add space after cast.
9055 * malloc/tst-valloc.c: Add comments.
9056 (do_test): Add comments and call free on all potentially
9057 allocated pointers. Remove duplicate check for NULL pointer.
9058 Add space after cast.
9060 2013-10-04 Alan Modra <amodra@gmail.com>
9062 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9063 Use stdint types in rather than __attribute__((mode())).
9064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9066 2013-10-04 Alan Modra <amodra@gmail.com>
9068 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9069 Correct handling of unaligned relocs for little-endian.
9070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9072 2013-10-04 Alan Modra <amodra@gmail.com>
9074 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9075 * configure: Regenerate.
9076 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9077 * shlib-versions: Likewise.
9079 2013-10-04 Alan Modra <amodra@gmail.com>
9081 * string/tester.c (test_memrchr): Increment reported test cycle.
9083 2013-10-04 Alan Modra <amodra@gmail.com>
9085 * string/test-memcpy.c (do_one_test): When reporting errors, print
9086 string address and don't overrun end of string.
9088 2013-10-04 Alan Modra <amodra@gmail.com>
9090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9091 insrdi. Make better use of reg selection to speed exit slightly.
9092 Schedule entry path a little better. Remove useless "are we done"
9093 checks on entry to main loop. Handle wrapping around zero address.
9094 Correct main loop count. Handle single left-over word from main
9095 loop inline rather than by using loop_small. Remove extra word
9096 case in loop_small caused by wrong loop count. Add little-endian
9098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9099 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9101 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9103 support. Avoid rlwimi.
9104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9106 2013-10-04 Alan Modra <amodra@gmail.com>
9108 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9110 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9113 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9114 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9115 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9117 2013-10-04 Alan Modra <amodra@gmail.com>
9119 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9120 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9123 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9124 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9125 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9126 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9127 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9128 use of regs. Use power7 mtocrf. Tidy function tails.
9130 2013-10-04 Alan Modra <amodra@gmail.com>
9132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9133 Formatting. Consistently use rXXX register defines or rN defines.
9134 Use early exit labels that avoid restoring unused non-volatile regs.
9135 Make cr field use more consistent with rWORDn compares. Rename
9136 regs used as shift registers for unaligned loop, using rN defines
9137 for short lifetime/multiple use regs.
9138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9140 addi 1,1,64 to pop stack frame. Simplify return value code.
9141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9143 2013-10-04 Alan Modra <amodra@gmail.com>
9145 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9146 support. Correct typos, formatting. Optimize tail. Use insrdi
9148 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9149 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9150 little-endian support. Correct typos.
9151 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9153 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9154 in loop and entry code to keep "and." results.
9155 (strchr): Add little-endian support. Comment. Move cntlzd
9157 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9159 2013-10-04 Alan Modra <amodra@gmail.com>
9161 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9162 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9163 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9164 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9166 2013-10-04 Alan Modra <amodra@gmail.com>
9168 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9169 (rTMP): Define as r11.
9170 (strcmp): Add little-endian support. Optimise tail.
9171 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9172 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9173 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9174 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9175 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9179 2013-10-04 Alan Modra <amodra@gmail.com>
9181 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9182 little-endian support. Remove unnecessary "are we done" tests.
9183 Handle "s" wrapping around zero and extremely large "size".
9184 Correct main loop count. Handle single left-over word from main
9185 loop inline rather than by using small_loop. Correct comments.
9186 Delete "zero" tail, use "end_max" instead.
9187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9189 2013-10-04 Alan Modra <amodra@gmail.com>
9191 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9192 support. Don't branch over align.
9193 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9194 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9195 support. Rearrange tmp reg use to suit. Comment.
9196 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9198 2013-10-04 Alan Modra <amodra@gmail.com>
9200 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9202 2013-10-04 Alan Modra <amodra@gmail.com>
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9205 conditional form of branch and link when obtaining pc.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9208 2013-10-04 Alan Modra <amodra@gmail.com>
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9215 2013-10-04 Alan Modra <amodra@gmail.com>
9217 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9218 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9219 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9221 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9222 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9223 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9224 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9225 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9226 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9228 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9229 Alistair Popple <alistair@ozlabs.au.ibm.com>
9230 Alan Modra <amodra@gmail.com>
9233 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9234 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9235 _dl_hwcap access for little-endian.
9236 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9237 destroy vmx regs when saving unaligned.
9238 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9239 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9240 destroy vmx regs when saving unaligned.
9242 2013-10-04 Alan Modra <amodra@gmail.com>
9244 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9245 Don't use a union to pack hi/low value.
9247 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9249 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9251 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9254 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9255 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9257 2013-10-04 Alan Modra <amodra@gmail.com>
9259 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9260 constants to usual value for .cst8 section, and remove redundant
9262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9263 constant for 0x1p52. Load little-endian words of double from
9264 correct stack offsets.
9266 2013-10-04 Alan Modra <amodra@gmail.com>
9268 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9269 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9270 words of double from correct stack offsets.
9271 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9272 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9277 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9281 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9282 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9283 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9284 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9285 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9287 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9289 2013-10-04 Alan Modra <amodra@gmail.com>
9291 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9292 64-bit int/double union.
9293 (_FPU_SETCW): Likewise.
9294 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9295 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9297 2013-10-04 Alan Modra <amodra@gmail.com>
9299 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9300 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9302 2013-10-04 Alan Modra <amodra@gmail.com>
9304 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9305 use vector int constants.
9306 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9308 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9310 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9311 array with long long.
9312 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9313 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9314 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9315 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9316 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9317 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9318 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9319 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9320 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9321 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9322 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9323 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9324 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9326 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9328 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9329 (__signbit): Likewise. Correct for little-endian.
9330 (__signbitl): Call __signbit.
9331 (lrint): Correct for little-endian.
9332 (lrintf): Call lrint.
9334 2013-10-04 Alan Modra <amodra@gmail.com>
9336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9337 union 32-bit int array member with 64-bit int array.
9338 (t515, tm256): Double rather than long double.
9339 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9341 2013-10-04 Alan Modra <amodra@gmail.com>
9343 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9345 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9347 version of math_ldbl.h.
9349 2013-10-04 Alan Modra <amodra@gmail.com>
9351 [BZ #15734], [BZ #15735]
9352 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9353 all uses of ieee875 long double macros and unions. Simplify test
9354 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9355 ldbl_extract_mantissa value for ix,iy exponents. Properly
9356 normalize after ldbl_extract_mantissa, and don't add hidden bit
9357 already handled. Don't treat low word of ieee854 mantissa like
9358 low word of IBM long double and mask off bit when testing for
9360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9361 all uses of ieee875 long double macros and unions. Simplify tests
9362 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9363 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9364 two1022, instead use their values. Recognise that tests for large
9365 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9366 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9367 Rewrite all uses of ieee875 long double macros and unions. Simplify
9368 test for 0.0L and nan. Correct negation.
9369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9370 ieee875 long double macros and unions. Correct output for large
9371 magnitude x. Correct absolute value calculation.
9372 (__erfcl): Likewise.
9373 * math/libm-test.inc: Add tests for errors discovered in IBM long
9374 double versions of fmodl, remainderl, erfl and erfcl.
9376 2013-10-04 Alan Modra <amodra@gmail.com>
9378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9379 all uses of ieee854 long double macros and unions. Simplify tests
9380 for long doubles that are fully specified by the high double.
9381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9384 Remove dead code too.
9385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9386 (__ieee754_ynl): Likewise.
9387 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9390 Remove dead code too.
9391 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9393 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9394 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9396 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9401 Comment on variable precision.
9402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9408 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9409 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9411 2013-10-04 Alan Modra <amodra@gmail.com>
9413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9414 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9415 all uses of ieee854 long double macros and unions.
9416 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9419 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9429 Simplify sign and nan test too.
9430 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9435 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9445 2013-10-04 Alan Modra <amodra@gmail.com>
9447 * stdio-common/printf_size.c (__printf_size): Don't use
9448 union ieee854_long_double in fpnum union.
9449 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9450 signbit macro to retrieve sign from long double.
9451 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9452 retrieve sign from long double.
9453 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9454 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9455 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9456 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9457 * math/test-misc.c (main): Don't use union ieee854_long_double.
9459 2013-10-04 Alan Modra <amodra@gmail.com>
9462 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9463 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9464 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9465 calculation. Remove unnecessary test for denormal exponent.
9466 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9467 Correct handling of denormals. Avoid undefined shift behaviour.
9468 Correct normalisation of low mantissa when low double is denormal.
9469 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9470 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9471 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9472 Correct normalisation of low mantissa. Test for overflow of high
9473 mantissa and normalise.
9474 (ldbl_nearbyint): Use more readable constant for two52.
9475 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9476 (__mpn_construct_long_double): Fix test for overflow of high
9477 mantissa and correct normalisation. Avoid undefined shift.
9479 2013-10-04 Alan Modra <amodra@gmail.com>
9481 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9482 (union ibm_extended_long_double): Define as an array of ieee754_double.
9483 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9484 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9485 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9486 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9495 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9497 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9498 page size instead of calling getpagesize.
9500 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9501 (LOCFILE_ALIGN_MASK): Likewise.
9502 (LOCFILE_ALIGN_UP): Likewise.
9503 (LOCFILE_ALIGNED_P): Likewise.
9504 * locale/programs/ld-collate.c (collate_output): Use the new
9505 macros instead of __alignof__ (int32_t).
9506 * locale/weight.h (findidx): Likewise.
9508 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9511 * manual/string.texi: Fix strncat and wcsncat.
9513 2013-10-03 Brooks Moses <bmoses@google.com>
9516 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9517 * Makerules: ...here, and adjust associated comments.
9519 2013-10-02 Will Newton <will.newton@linaro.org>
9521 * malloc/Makefile: Add tst-pvalloc.
9522 * malloc/tst-pvalloc.c: New file.
9524 2013-10-02 Will Newton <will.newton@linaro.org>
9526 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9527 improve test coverage.
9529 2013-10-02 Will Newton <will.newton@linaro.org>
9531 * malloc/Makefile: Add tst-posix_memalign.
9532 * malloc/tst-posix_memalign.c: New file.
9534 2013-10-01 Eric Blake <eblake@redhat.com>
9536 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9537 Use __THROWNL rather than __THROW on static functions.
9539 2013-09-30 Petr Machata <pmachata@redhat.com>
9541 * elf/elf.h (R_AARCH64_ABS16): New macro.
9542 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9543 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9544 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9545 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9546 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9547 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9548 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9549 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9550 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9551 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9552 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9553 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9554 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9555 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9556 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9557 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9558 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9559 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9560 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9561 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9562 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9563 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9564 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9565 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9566 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9567 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9568 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9569 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9570 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9571 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9572 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9573 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9574 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9575 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9576 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9577 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9578 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9579 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9580 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9581 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9582 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9583 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9584 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9585 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9586 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9587 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9588 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9589 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9590 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9591 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9592 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9593 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9594 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9595 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9596 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9597 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9598 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9599 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9600 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9601 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9602 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9603 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9604 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9605 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9606 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9607 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9608 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9609 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9610 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9611 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9612 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9613 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9614 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9615 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9616 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9617 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9618 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9619 (R_AARCH64_TLSDESC_LDR): Likewise.
9620 (R_AARCH64_TLSDESC_ADD): Likewise.
9621 (R_AARCH64_TLSDESC_CALL): Likewise.
9623 2013-09-30 Andreas Schwab <schwab@suse.de>
9626 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9627 the nss database lookup.
9628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9631 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9633 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9635 2013-09-28 P. J. McDermott <pj@pehjota.net>
9637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9638 ${Bash-specific parameter/pattern/string} parameter expansion.
9639 * sysdeps/unix/make-syscalls.sh: Likewise.
9641 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9643 * sysdeps/sh/stackguard-macros.h: New file.
9645 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9649 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9650 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9651 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9652 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9654 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9656 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9657 Fix thread ID register.
9659 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9661 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9662 [POSIX || UNIX98]: Require rather than permitting all symbols from
9664 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9665 element of struct sched_param.
9666 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9667 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9668 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9669 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9672 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9674 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9675 argument calculation.
9677 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9679 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9681 [POSIX] (pthread_attr_t): Do not require type.
9682 [POSIX] (pthread_cond_t): Likewise.
9683 [POSIX] (pthread_condattr_t): Likewise.
9684 [POSIX] (pthread_key_t): Likewise.
9685 [POSIX] (pthread_mutex_t): Likewise.
9686 [POSIX] (pthread_mutexattr_t): Likewise.
9687 [POSIX] (pthread_once_t): Likewise.
9688 [POSIX] (pthread_t): Likewise.
9689 [POSIX-based standards] (pthread_atfork): Expect function.
9691 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9692 Richard Sandiford <richard@codesourcery.com>
9694 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9695 (swap_endianness_p): New extern variable.
9696 (set_big_endian): New inline function.
9697 (maybe_swap_uint32): Likewise.
9698 (maybe_swap_uint32_array): Likewise.
9699 (maybe_swap_uint32_obstack): Likewise.
9700 * locale/programs/locfile.c: Include <stdbool.h>.
9701 (swap_endianness_p): New variable.
9702 (add_locale_uint32): Call maybe_swap_uint32.
9703 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9704 (write_locale_data): Call maybe_swap_uint32_array.
9705 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9707 (obstack_int32_grow_fast): Likewise.
9708 (output_weightwc): Call maybe_swap_uint32_obstack.
9709 (collate_output): Likewise.
9710 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9711 (OPT_LITTLE_ENDIAN): Likewise.
9712 (options): Add --little-endian and --big-endian options.
9713 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9714 * locale/programs/locarchive.c: Include "locfile.h".
9718 (create_archive): Use the new macros to access fields of
9719 structures directly mapped from or written to locale archives.
9720 (oldlocrecentcmp): Likewise.
9721 (enlarge_archive): Likewise.
9722 (insert_name): Likewise.
9723 (add_alias): Likewise.
9724 (add_locale): Likewise.
9725 (delete_locales_from_archive): Likewise.
9726 (show_archive_content): Likewise.
9727 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9730 2013-09-24 Roland McGrath <roland@hack.frob.com>
9732 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9733 http://www.gnu.org/doc/freemanuals.texi.
9734 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9736 2013-09-24 Will Newton <will.newton@linaro.org>
9738 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9741 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9743 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9746 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9748 * manual/threads.texi (POSIX Threads): Fix a typo.
9750 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9753 * string/tst-strcoll-overflow.c: New test case.
9754 * string/Makefile (xtests): Add tst-strcoll-overflow.
9755 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9756 cache if string sizes may cause integer overflow.
9759 * string/strcoll_l.c (coll_seq): New members rule, idx,
9760 save_idx and back_us.
9761 (get_next_seq_nocache): New function.
9762 (do_compare_nocache): New function.
9763 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9766 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9769 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9770 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9771 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9774 * elf/Makefile (tests): Add tst-ptrguard1.
9775 (tests-static): Add tst-ptrguard1-static.
9776 (tst-ptrguard1-ARGS): Define.
9777 (tst-ptrguard1-static-ARGS): Define.
9778 * elf/tst-ptrguard1.c: New file.
9779 * elf/tst-ptrguard1-static.c: New file.
9780 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9781 * sysdeps/i386/stackguard-macros.h: Likewise.
9782 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9783 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9784 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9785 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9786 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9787 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9789 2013-09-23 Hector Marco <hecmargi@upv.es>
9790 Ismael Ripoll <iripoll@disca.upv.es>
9791 Carlos O'Donell <carlos@redhat.com>
9794 * sysdeps/generic/stackguard-macros.h: Define
9795 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9796 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9797 Define __pointer_chk_guard_local.
9798 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9799 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9801 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9804 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9806 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9808 * include/string.h (__ffs): Declare as hidden.
9809 * string/ffs.c (__ffs): Define as hidden.
9810 * sysdeps/i386/ffs.c (__ffs): Likewise.
9811 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9812 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9813 * sysdeps/s390/ffs.c (__ffs): Likewise.
9814 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9816 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9818 * NEWS: Mention malloc probes.
9820 * malloc/arena.c (new_heap): New memory_heap_new probe.
9821 (grow_heap): New memory_heap_more probe.
9822 (shrink_heap): New memory_heap_less probe.
9823 (heap_trim): New memory_heap_free probe.
9824 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9825 (systrim): New memory_sbrk_less probe.
9826 * manual/probes.texi: Document them.
9828 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9829 * manual/probes.texi: Document it.
9831 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9832 (__libc_realloc): Add memory_realloc_retry probe.
9833 (__libc_memalign): Add memory_memalign_retry probe.
9834 (__libc_valloc): Add memory_valloc_retry probe.
9835 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9836 (__libc_calloc): Add memory_calloc_retry probe.
9837 * manual/probes.texi: Document them.
9839 * malloc/arena.c (get_free_list): Add probe
9840 memory_arena_reuse_free_list.
9841 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9842 and memory_arena_reuse.
9843 (arena_get2) [!PER_THREAD]: Likewise.
9844 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9845 memory_arena_reuse_realloc.
9846 * manual/probes.texi: Document them.
9848 * malloc/malloc.c (__libc_free): Add
9849 memory_mallopt_free_dyn_thresholds probe.
9850 (__libc_mallopt): Add multiple memory_mallopt probes.
9851 * manual/probes.texi: Document them.
9853 * malloc/malloc.c: Include stap-probe.h.
9854 (__libc_mallopt): Add memory_mallopt probe.
9855 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9856 * manual/probes.texi: New.
9857 * manual/Makefile (chapters): Add probes.
9858 * manual/threads.texi: Set next node.
9860 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9863 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9864 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9865 Add `Chinese' to `nan' entry name.
9867 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9869 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9870 (POLYNOMIAL): Likewise.
9871 (TAYLOR_SINCOS): Likewise.
9872 (TAYLOR_SLOW): Likewise.
9873 (__sin): Use TAYLOR_SINCOS.
9875 (slow): Use TAYLOR_SLOW.
9880 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9882 * stdlib/strtod_l.c: Fix buffer overrun.
9884 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9886 * benchtests/Makefile (bench): Add sincos.
9887 * benchtests/bench-sincos.c: New file.
9889 * math/libm-test.inc (cos_test_data): New test inputs.
9890 (sin_test_data): Likewise.
9892 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9900 (bsloww1): Likewise.
9901 (bsloww2): Likewise.
9903 (csloww1): Likewise.
9904 (csloww2): Likewise.
9906 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9915 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9917 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9918 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9919 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9920 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9921 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9922 * elf/cache.c (print_entry): Handle the new cache flags.
9924 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9925 Aldy Hernandez <aldyh@redhat.com>
9927 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9928 Change condition to [_SOFT_FLOAT].
9929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9941 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9944 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9947 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9949 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9950 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9951 (__longjmp): Use LOAD_GP to load saved GPRs.
9952 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9953 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9954 (__sigsetjmp): Use SAVE_GP to save GPRs.
9956 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9957 Do not append -msoft-float.
9958 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9960 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9962 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9964 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9967 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9968 (_FPU_GETCW): Use initial "__" on variable and field names but not
9969 on macro parameter name.
9970 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9971 parentheses around reference to macro parameter.
9973 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9975 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9977 (ctype_startup): Use uint32_t in cast and sizeof for
9980 2013-09-11 Jia Liu <proljc@gmail.com>
9982 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9984 [__FreeBSD__]: Likewise.
9986 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9989 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9990 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9991 (strchr): Remove __strchr_sse42 ifunc selection.
9992 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9993 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9995 2013-09-11 Will Newton <will.newton@linaro.org>
9997 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9998 parameter to RES. Remove hardcoded 1000 value.
9999 * benchtests/bench-skeleton.c (main): Pass RES parameter
10000 to TIMING_INIT and multiply result by 1000.
10002 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10006 2013-09-11 Andreas Schwab <schwab@suse.de>
10008 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10010 (O_TMPFILE) [__USE_GNU]: Define.
10011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10014 2013-09-11 Will Newton <will.newton@linaro.org>
10017 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10020 2013-09-11 Will Newton <will.newton@linaro.org>
10023 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10026 2013-09-11 Will Newton <will.newton@linaro.org>
10029 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10032 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10034 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10040 2013-09-10 Allan McRae <allan@archlinux.org>
10043 * manual/arith.texi (Parsing of Floats): Clarify
10047 * manual/install.texi (Running make install): Mention
10049 * INSTALL: Regenerated.
10051 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10053 * csu/init-first.c (_init): Remove the !SHARED condition around
10054 FPU control word initialization.
10055 * elf/dl-support.c (_dl_fpu_control): New variable.
10056 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10057 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10058 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10059 * math/test-fpucw-static.c: New file.
10060 * math/test-fpucw-ieee.c: New file.
10061 * math/test-fpucw-ieee-static.c: New file.
10062 * math/Makefile (tests): Add `test-fpucw-ieee' and
10064 (tests-static): New variable.
10065 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10067 [($(build-shared),yes)]
10068 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10070 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10073 2013-09-09 Allan McRae <allan@archlinux.org>
10076 * manual/string.texi (Collation Functions): Fix typo in
10078 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10081 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10084 * libio/memstream.c (open_memstream): Fix memory leak.
10085 * libio/wmemstream.c (open_wmemstream): Likewise.
10088 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10090 2013-09-09 Will Newton <will.newton@linaro.org>
10092 * malloc/Makefile: Add tst-realloc to tests.
10093 * malloc/tst-realloc.c: New file.
10095 2013-09-09 Allan McRae <allan@archlinux.org>
10098 * COPYING: Update from GNU website to fix FSF address.
10099 * COPYING.LIB: Likewise.
10101 2013-09-06 David S. Miller <davem@davemloft.net>
10103 * po/zh_TW.po: Update Chinese (traditional) translation from
10104 translation project.
10106 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10107 Joseph Myers <joseph@codesourcery.com>
10109 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10111 (obstack_chunk_alloc): New macro.
10112 (obstack_chunk_free): Likewise.
10113 (record_offset): New function.
10114 (init_locale_data): Likewise.
10115 (align_locale_data): Likewise.
10116 (add_locale_empty): Likewise.
10117 (add_locale_raw_data): Likewise.
10118 (add_locale_raw_obstack): Likewise.
10119 (add_locale_string): Likewise.
10120 (add_locale_wstring): Likewise.
10121 (add_locale_uint32): Likewise.
10122 (add_locale_uint32_array): Likewise.
10123 (add_locale_char): Likewise.
10124 (start_locale_structure): Likewise.
10125 (end_locale_structure): Likewise.
10126 (start_locale_prelude): Likewise.
10127 (end_locale_prelude): Likewise.
10128 (write_locale_data): Take locale_file structure rather than an
10130 * locale/programs/locfile.h: Include "obstack.h".
10131 (struct locale_file): Change to store locale file contents instead
10133 (init_locale_data): New prototype.
10134 (align_locale_data): Likewise.
10135 (add_locale_empty): Likewise.
10136 (add_locale_raw_data): Likewise.
10137 (add_locale_raw_obstack): Likewise.
10138 (add_locale_string): Likewise.
10139 (add_locale_wstring): Likewise.
10140 (add_locale_uint32): Likewise.
10141 (add_locale_uint32_array): Likewise.
10142 (add_locale_char): Likewise.
10143 (start_locale_structure): Likewise.
10144 (end_locale_structure): Likewise.
10145 (start_locale_prelude): Likewise.
10146 (end_locale_prelude): Likewise.
10147 (write_locale_data): Update prototype.
10148 * locale/programs/3level.h (struct TABLE): Remove result field.
10149 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10150 Use new locale_file interface.
10151 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10152 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10153 * locale/programs/ld-address.c (address_output): Use new
10154 locale_file interface.
10155 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10157 (collate_finish): Don't call collseq_table_finalize.
10158 (collate_output): Use new locale_file interface.
10159 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10161 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10162 (TABLE): Move defines earlier in file.
10163 (ELEMENT): Likewise.
10164 (DEFAULT): Likewise.
10165 (wctrans_table_add): Move macro and inline function earlier in
10167 (struct wctype_table): Move type earlier in file.
10168 (add_locale_wctype_table): New static prototype.
10169 (struct locale_ctype_t): Use logical types instead of struct iovec
10170 pointers for members.
10171 (ctype_output): Use new locale_file interface.
10172 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10173 new locale_file interface.
10174 (allocate_arrays): Update for use of new locale_file interface.
10175 * locale/programs/ld-identification.c (identification_output): Use
10176 new locale_file interface.
10177 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10178 * locale/programs/ld-messages.c (messages_output): Likewise.
10179 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10180 * locale/programs/ld-name.c (name_output): Likewise.
10181 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10182 * locale/programs/ld-paper.c (paper_output): Likewise.
10183 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10184 * locale/programs/ld-time.c (time_output): Likewise.
10186 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10188 * benchtests/Makefile: Add memrchr benchmark.
10189 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10190 benchmark as memrchr.
10191 * benchtests/bench-memrchr-ifunc.c: New file.
10192 * benchtests/bench-memrchr.c: New file.
10194 2013-09-06 Will Newton <will.newton@linaro.org>
10196 * benchtests/Makefile (string-bench): Add memcpy.
10198 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10199 Cong Wang <amwang@redhat.com>
10202 * sysdeps/unix/sysv/linux/bits/in.h
10203 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10204 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10205 before __USE_KERNEL_IPV6_DEFS uses.
10206 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10208 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10209 sockaddr_in6, or ipv6_mreq.
10211 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10213 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10214 memory access for final bytes in some large inputs.
10215 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10217 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10219 * string/test-memrchr.c: New file.
10220 * string/test-memrchr-ifunc.c: New file.
10221 * string/Makefile: Add new memrchr testcase.
10223 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10225 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10226 fanotify_init returns EPERM.
10228 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10230 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10232 (top level): Treat second token from macro or constant entries for
10233 allowed headers as allowed.
10234 * include/complex.h: Condition internal declarations on
10236 * include/fenv.h: Condition include of <stdbool.h> and internal
10237 declarations on [!_ISOMAC].
10239 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10242 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10244 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10246 * configure.in (--enable-versioning): Remove configure option.
10247 (libc_cv_asm_symver_directive): Remove configure test.
10248 (libc_cv_ld_version_script_option): Likewise.
10249 (VERSIONING): Remove variable and AC_SUBST.
10250 (DO_VERSIONING): Remove AC_DEFINE.
10251 * configure: Regenerated.
10252 * config.h.in (DO_VERSIONING): Remove macro.
10253 * Makerules [$(versioning) = yes]: Change conditionals to
10254 [$(build-shared) = yes].
10255 * config.make.in (versioning): Remove variable.
10256 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10257 [$(build-shared) = yes].
10258 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10259 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10260 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10261 [$(build-shared) = yes].
10262 * extra-lib.mk [$(versioning) = yes]: Likewise.
10263 * hurd/Makefile [$(versioning) = yes]: Likewise.
10264 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10266 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10268 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10269 [SHARED && !NO_HIDDEN].
10270 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10272 [SHARED && DO_VERSIONING]: Likewise..
10273 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10274 [$(build-shared) = yes].
10275 * manual/install.texi (--disable-versioning): Remove
10277 * INSTALL: Regenerated.
10278 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10280 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10281 [$(build-shared) = yes].
10282 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10283 * sysdeps/i386/i686/multiarch/strstr-c.c
10284 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10285 [SHARED && !NO_HIDDEN].
10286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10287 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10288 * sysdeps/powerpc/powerpc32/dl-machine.c
10289 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10290 * sysdeps/powerpc/powerpc32/sysdep.h
10291 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10292 to [SHARED && PIC && !NO_HIDDEN].
10293 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10294 conditional to [SHARED].
10296 2013-09-04 Will Newton <will.newton@linaro.org>
10298 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10299 * benchtests/bench-string.h: Include bench-timing.h instead
10300 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10301 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10302 call to HP_TIMING_DIFF_INIT.
10303 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10304 instead of hp-timing.h macros.
10305 * benchtests/bench-memchr.c: Likewise.
10306 * benchtests/bench-memcmp.c: Likewise.
10307 * benchtests/bench-memcpy.c: Likewise.
10308 * benchtests/bench-memmem.c: Likewise.
10309 * benchtests/bench-memmove.c: Likewise.
10310 * benchtests/bench-memset.c: Likewise.
10311 * benchtests/bench-rawmemchr.c: Likewise.
10312 * benchtests/bench-strcasecmp.c: Likewise.
10313 * benchtests/bench-strcasestr.c: Likewise.
10314 * benchtests/bench-strcat.c: Likewise.
10315 * benchtests/bench-strchr.c: Likewise.
10316 * benchtests/bench-strcmp.c: Likewise.
10317 * benchtests/bench-strcpy.c: Likewise.
10318 * benchtests/bench-strcpy_chk.c: Likewise.
10319 * benchtests/bench-strlen.c: Likewise.
10320 * benchtests/bench-strncasecmp.c: Likewise.
10321 * benchtests/bench-strncat.c: Likewise.
10322 * benchtests/bench-strncmp.c: Likewise.
10323 * benchtests/bench-strncpy.c: Likewise.
10324 * benchtests/bench-strnlen.c: Likewise.
10325 * benchtests/bench-strpbrk.c: Likewise.
10326 * benchtests/bench-strrchr.c: Likewise.
10327 * benchtests/bench-strspn.c: Likewise.
10328 * benchtests/bench-strstr.c: Likewise.
10330 2013-09-04 Will Newton <will.newton@linaro.org>
10332 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10334 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10337 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10338 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10339 * math/libm-test.inc (lgamma_test_data): Add more tests.
10340 * sysdeps/i386/fpu/libm-test-ulps: Update.
10341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10343 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10345 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10349 Add strcmp-sse2-unaligned
10350 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10352 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10354 * Versions.def (libc): Add GLIBC_2.19.
10356 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10358 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10359 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10361 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10364 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10365 intermediate calculations in recurrence.
10366 (__ieee754_ynf): Likewise.
10367 * math/libm-test.inc (jn_test_data): Do not allow spurious
10368 underflow exception. Add more tests.
10369 (yn_test_data): Add more tests.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10375 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10377 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10379 * csu/init-first.c: Fix then/than typos.
10380 * locale/programs/ld-collate.c: Likewise.
10381 * locale/programs/linereader.h: Likewise.
10382 * manual/charset.texi: Likewise.
10383 * manual/filesys.texi: Likewise.
10384 * manual/stdio.texi: Likewise.
10385 * manual/string.texi: Likewise.
10386 * stdlib/fmtmsg.c: Likewise.
10387 * sysdeps/i386/stpncpy.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10389 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10391 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10393 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10395 * elf/dl-open.c: Fix typos.
10396 * iconvdata/gbbig5.c: Likewise.
10397 * iconvdata/iso-2022-jp.c: Likewise.
10398 * iconv/gconv_int.h: Likewise.
10399 * iconv/loop.c: Likewise.
10400 * nis/rpcsvc/nis.h: Likewise.
10401 * resolv/ns_name.c: Likewise.
10402 * stdio-common/vfscanf.c: Likewise.
10403 * streams/stropts.h: Likewise.
10404 * sunrpc/rpc_thread.c: Likewise.
10405 * sysdeps/i386/strpbrk.S: Likewise.
10406 * sysdeps/ieee754/k_standard.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10409 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10410 * sysdeps/mach/hurd/profil.c: Likewise.
10411 * sysdeps/s390/dl-procinfo.h: Likewise.
10412 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10413 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10414 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10415 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10418 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10420 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10423 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10425 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10426 aix specific files.
10427 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10428 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10429 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10430 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10432 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10433 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10436 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10437 Roland McGrath <roland@hack.frob.com>
10439 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10440 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10442 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10444 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10445 __executable_start symbol instead of _start.
10447 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10449 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10450 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10452 * sysdeps/gnu/ldsodefs.h: ... this new file.
10454 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10455 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10456 instead of ELFOSABI_LINUX.
10458 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10459 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10460 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10461 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10463 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10464 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10465 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10467 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10468 (ibm_extended_long_double): Add ieee_nan member.
10469 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10470 (do_test): New function.
10472 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10474 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10475 functions, renamed from truncdfsf_test, trunctfsf_test,
10477 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10479 (do_test): Run all these.
10481 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10483 * argp/argp-help.c: Fix typos.
10484 * argp/argp-parse.c: Likewise.
10485 * debug/backtracesyms.c: Likewise.
10486 * elf/elf.h: Likewise.
10487 * malloc/malloc.c: Likewise.
10488 * nis/nis_print.c: Likewise.
10489 * resolv/res_comp.c: Likewise.
10490 * stdlib/stdlib.h: Likewise.
10491 * sunrpc/clnt_tcp.c: Likewise.
10492 * sunrpc/clnt_udp.c: Likewise.
10493 * sunrpc/clnt_unix.c: Likewise.
10494 * sysdeps/unix/bsd/ptsname.c: Likewise.
10495 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10503 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10505 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10507 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10510 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10513 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10514 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10515 ($(objpfx)bug-dl-leaf): New rule.
10516 ($(objpfx)bug-dl-leaf.so): Likewise.
10517 ($(objpfx)bug-dl-leaf.out): Likewise.
10518 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10519 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10520 * dlfcn/bug-dl-leaf.c: New test.
10521 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10522 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10523 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10524 (dlclose): Likewise.
10525 (dlmopen): Likewise.
10527 2013-08-27 Roland McGrath <roland@hack.frob.com>
10529 * include/netdb.h [!_ISOMAC]:
10530 Don't include <tls.h>.
10531 (h_errno, __libc_h_errno): Move declaration and macros out of
10534 * include/resolv.h [_RESOLV_H_]:
10535 Don't include <tls.h>.
10536 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10537 * resolv/res_libc.c: Don't include <tls.h>.
10538 (_res): Use __attribute__ ((nocommon)) in place of
10539 __attribute__ ((section (".bss"))).
10541 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10542 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10544 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10546 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10547 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10549 * resolv/res_mkquery.c: Include <sys/time.h>.
10551 * inet/ifreq.c: Moved to ...
10552 * sysdeps/unix/ifreq.c: ... here.
10553 * inet/ifreq.c: New file, true stub version.
10555 * socket/sa_len.c: New file.
10556 * socket/Makefile (aux): Add it.
10557 * sysdeps/unix/sysv/linux/Makefile
10558 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10559 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10560 and #include <socket/sa_len.c>.
10561 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10562 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10564 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10565 * bits/socket.h: ... here.
10567 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10568 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10569 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10571 2013-08-27 Andreas Schwab <schwab@suse.de>
10574 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10575 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10576 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10577 * string/test-strcasecmp.c (test_main): Run tests in several
10579 * string/test-strncasecmp.c (test_main): Likewise.
10581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10582 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10583 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10585 (__strncasecmp_ssse3) [PIC]: Likewise.
10587 2013-08-26 Roland McGrath <roland@hack.frob.com>
10589 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10591 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10592 instead of explicitly declaring xdecrypt.
10593 * nis/nss_nis/nis-publickey.c: Likewise.
10595 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10598 * nscd/aicache.c: Include res_hconf.h.
10599 (addhstaiX): Initialize res_hconf.
10601 2013-08-26 Andreas Schwab <schwab@suse.de>
10603 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10604 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10606 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10608 * nscd/aicache.c (addhstaiX): Fix indentation.
10610 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10612 * configure.ac: Quote $build_pt_chown test.
10613 * configure: Regenerated.
10615 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10618 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10619 * math/s_cexpf.c (__cexpf): Likewise.
10620 * math/s_cexpl.c (__cexpl): Likewise.
10621 * math/libm-test.inc (cexp_test_data): Correct expected return
10622 value for NaN + i0. Add another test.
10624 2013-08-22 David S. Miller <davem@davemloft.net>
10626 * po/ca.po: Update Catalan translation from translation project.
10627 * po/uk.po: Add Ukrainian translations from translation project.
10629 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10632 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10633 is infinite, not alongside NaN test.
10634 * math/s_fdimf.c (__fdimf): Likewise.
10635 * math/s_fdiml.c (__fdiml): Likewise.
10636 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10637 errno is unchanged.
10639 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10641 * argp/argp-help.c: Fix typos.
10642 * crypt/speeds.c: Likewise.
10643 * csu/check_fds.c: Likewise.
10644 * elf/dl-load.c: Likewise.
10645 * elf/dl-open.c: Likewise.
10646 * elf/reldep3.c: Likewise.
10647 * elf/reldep.c: Likewise.
10648 * elf/sprof.c: Likewise.
10649 * iconv/iconv_charmap.c: Likewise.
10650 * iconv/skeleton.c: Likewise.
10651 * iconv/strtab.c: Likewise.
10652 * io/lockf64.c: Likewise.
10653 * libio/libioP.h: Likewise.
10654 * resolv/gai_notify.c: Likewise.
10655 * resolv/ns_name.c: Likewise.
10656 * resolv/ns_samedomain.c: Likewise.
10657 * resolv/res_send.c: Likewise.
10658 * stdlib/random.c: Likewise.
10659 * sunrpc/rpc/xdr.h: Likewise.
10660 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10661 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10662 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10663 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10664 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10668 * sysdeps/mach/hurd/check_fds.c: Likewise.
10669 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10670 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10671 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10672 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10673 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10674 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10675 * sysdeps/pthread/aio_notify.c: Likewise.
10676 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10677 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10678 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10680 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10682 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10684 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10685 version if bit_Slow_SSE4_2 is set.
10686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10687 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10689 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10692 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10693 trampoline stack frame information.
10694 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10695 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10696 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10697 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10698 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10699 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10700 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10701 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10703 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10704 interrupting a syscall and set with option SA_SIGINFO.
10706 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10709 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10710 argument is infinite.
10711 * math/s_cprojf.c (__cprojf): Likewise.
10712 * math/s_cprojl.c (__cprojl): Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10714 * math/libm-test.inc (cproj_test_data): Add more tests.
10716 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10719 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10720 size. Use __ffs to determine corresponding shift.
10722 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10723 Roland McGrath <roland@hack.frob.com>
10725 * Makefile (INSTALL): Remove trailing blank lines from output of
10728 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10730 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10731 Align 32 bit compat elf_greg to 8 bytes.
10733 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10735 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10737 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10739 * string/strcoll_l.c (coll_seq): New structure.
10740 (get_next_seq_cached): New function.
10741 (get_next_seq): New function.
10742 (do_compare): New function.
10743 (STRCOLL): Use GNU style definition. Simplify implementation
10744 by using get_next_seq, get_next_seq_cached and do_compare.
10746 2013-08-16 Florian Weimer <fweimer@redhat.com>
10750 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10752 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10754 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10755 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10756 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10758 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10759 GETDENTS_64BIT_ALIGNED.
10760 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10761 * manual/filesys.texi (Reading/Closing Directory): Document
10762 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10764 * manual/conf.texi (Limits for Files): Add portability note to
10765 NAME_MAX, PATH_MAX.
10766 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10768 2013-08-13 Andreas Schwab <schwab@suse.de>
10771 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10773 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10774 LDBL_MAX_EXP >= 16384]: Add tests for it.
10776 2013-08-12 David S. Miller <davem@davemloft.net>
10778 * version.h (RELEASE): Set to "development".
10779 (VERSION): Set to "2.18.90".
10780 * NEWS: Add 2.19 section.
10782 2013-08-03 David S. Miller <davem@davemloft.net>
10784 * po/ko.po: Update Korean translation from translation project.
10786 2013-08-01 David S. Miller <davem@davemloft.net>
10788 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10789 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10792 2013-07-30 David S. Miller <davem@davemloft.net>
10794 * po/fr.po: Update French translation from translation project.
10796 2013-07-28 David S. Miller <davem@davemloft.net>
10798 * po/cs.po: Update Czech translation from translation project.
10800 * po/sv.po: Update Swedish translation from translation project.
10802 2013-07-27 David S. Miller <davem@davemloft.net>
10804 * po/eo.po: Update Esperanto translation from translation project.
10806 * po/vi.po: Update Vietnamese translation from translation project.
10808 * po/de.po: Update German translation from translation project.
10810 2013-07-26 David S. Miller <davem@davemloft.net>
10812 * po/bg.po: Update Bulgarian translation from translation project.
10814 * po/nl.po: Update Dutch translation from translation project.
10815 * po/pl.po: Update Polish translation from translation project.
10816 * po/ru.po: Update Russian translation from translation project.
10818 2013-07-24 David S. Miller <davem@davemloft.net>
10820 * po/libc.pot: Update.
10822 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10825 variable page size.
10826 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10827 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10828 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10830 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10832 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10834 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10835 Andreas Schwab <schwab@suse.de>
10836 Roland McGrath <roland@hack.frob.com>
10837 Joseph Myers <joseph@codesourcery.com>
10838 Carlos O'Donell <carlos@redhat.com>
10841 * config.h.in: Define HAVE_PT_CHOWN.
10842 * config.make.in (build-pt-chown): New variable.
10843 * configure.in (--enable-pt_chown): New configure option.
10844 * configure: Regenerate.
10845 * login/Makefile: Include Makeconfig. Build pt_chown only if
10846 build-pt-chown is enabled.
10847 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10848 pt_chown to fix pty ownership.
10849 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10851 * manual/install.texi (Configuring and compiling): Mention
10852 --enable-pt_chown. Add @findex for grantpt.
10853 * INSTALL: Regenerate.
10855 2013-07-20 David S. Miller <davem@davemloft.net>
10857 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10858 difference between 32-bit and 64-bit.
10860 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10863 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10864 Avoid system header dependency with -ffreestanding.
10865 ($(objpfx)bits/syscall%d): Likewise.
10867 2013-07-13 David S. Miller <davem@davemloft.net>
10869 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10870 underflows from atanl/atan2l due to bug 15319.
10871 (casinh_test_data): Likewise.
10873 2013-07-07 David S. Miller <davem@davemloft.net>
10875 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10877 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10879 * sysdeps/i386/fpu/libm-test-ulps: Update.
10880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10882 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10884 * configure.in (--enable-lock-elision): Fix message text.
10885 * INSTALL: Regenerate.
10886 * configure: Regenerate.
10888 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10892 2013-07-03 Andreas Jaeger <aj@suse.de>
10894 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10896 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10897 (ptrace_peeksiginfo_args): Add.
10898 (__ptrace_peeksiginfo_flags): Add.
10899 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10900 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10903 2013-07-03 Allan McRae <allan@archlinux.org>
10905 * sysdeps/i386/fpu/libm-test-ulps: Update.
10907 2013-07-02 David S. Miller <davem@davemloft.net>
10909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10911 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10915 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10917 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10920 2013-07-02 Andi Kleen <ak@linux.intel.com>
10922 * config.h.in (ENABLE_LOCK_ELISION): Add.
10923 * configure.in (--enable-lock-elision): Add option.
10924 * manual/install.texi: Document --enable lock elision.
10925 * configure: Regenerate
10926 * INSTALL: Regenerate.
10928 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10930 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10931 SSE4.2 strcasecmp for libc.a.
10932 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10934 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10937 * soft-fp/op-common.h (_FP_FMA): New macro.
10938 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10939 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10940 (_FP_MUL_MEAT_1_imm): ... here.
10941 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10942 (_FP_MUL_MEAT_1_wide): ... here.
10943 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10944 (_FP_MUL_MEAT_1_hard): ... here.
10945 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10946 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10947 (_FP_MUL_MEAT_2_wide): ... here.
10948 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10949 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10950 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10951 (_FP_MUL_MEAT_2_gmp): ... here.
10952 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10953 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10954 (_FP_MUL_MEAT_4_wide): ... here.
10955 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10956 (_FP_MUL_MEAT_4_gmp): ... here.
10957 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10958 (_FP_WFRACBITS_DW_S): Likewise.
10959 (_FP_WFRACXBITS_DW_S): Likewise.
10960 (_FP_HIGHBIT_DW_S): Likewise.
10961 (FP_FMA_S): Likewise.
10962 (_FP_FRAC_HIGH_DW_S): Likewise.
10963 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10964 (_FP_WFRACBITS_DW_D): Likewise.
10965 (_FP_WFRACXBITS_DW_D): Likewise.
10966 (_FP_HIGHBIT_DW_D): Likewise.
10967 (FP_FMA_D): Likewise.
10968 (_FP_FRAC_HIGH_DW_D): Likewise.
10969 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10970 (_FP_WFRACBITS_DW_E): Likewise.
10971 (_FP_WFRACXBITS_DW_E): Likewise.
10972 (_FP_HIGHBIT_DW_E): Likewise.
10973 (FP_FMA_E): Likewise.
10974 (_FP_FRAC_HIGH_DW_E): Likewise.
10975 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10976 (_FP_WFRACBITS_DW_Q): Likewise.
10977 (_FP_WFRACXBITS_DW_Q): Likewise.
10978 (_FP_HIGHBIT_DW_Q): Likewise.
10979 (FP_FMA_Q): Likewise.
10980 (_FP_FRAC_HIGH_DW_Q): Likewise.
10981 * soft-fp/fmasf4.c: New file.
10982 * soft-fp/fmadf4.c: Likewise.
10983 * soft-fp/fmatf4.c: Likewise.
10985 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10988 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10990 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10992 (index_Slow_SSE4_2): Likewise.
10993 (index_Prefer_PMINUB_for_stringop): Likewise.
10994 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10995 bit_Slow_SSE4_2 is set.
10996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10999 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11001 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11002 rtld_global._dl_hwcap2.
11003 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11005 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11006 POWER8 feature descriptions defined in _dl_hwcap2.
11007 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11008 string handling for POWER8 feature bits.
11009 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11010 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11011 _dl_powerpc_cap_flags.
11012 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11013 * sysdeps/powerpc/rtld-global-offsets.sym
11014 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11015 _dl_hwcap2 in the rtld_global_ro structure.
11017 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11019 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11020 hardware capabilities in support of AT_HWCAP2.
11021 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11022 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11024 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11025 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11026 explicitly the unknown a_type display mechanism is used.
11027 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11028 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11030 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11031 to macro prototype for AT_HWCAP2 support.
11032 * sysdeps/i386/dl-procinfo.h: Likewise.
11033 * sysdeps/s390/dl-procinfo.h: Likewise.
11034 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11035 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11036 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11037 return -1 for unknown a_type display fallback.
11038 * sysdeps/sparc/dl-procinfo.h: Likewise.
11039 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11042 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11045 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11047 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11050 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11051 mprotect making __stack_prot writable.
11053 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11054 Joseph Myers <joseph@codesourcery.com>
11056 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11057 as being properly aligned.
11059 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11061 * dlfcn/modstatic5.c: New file.
11062 * dlfcn/tststatic5.c: New file.
11063 * dlfcn/Makefile (tests): Add tststatic5.
11064 (tests-static): Likewise.
11065 (modules-names): Add modstatic5.
11066 (tststatic5-ENV): New variable.
11067 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11070 * elf/dl-support.c (_dl_main_map): New variable.
11071 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11072 (_dl_nns, _dl_load_adds): Set to 1.
11073 (_dl_initial_searchlist): Refer to _dl_main_map.
11074 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11075 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11076 call to _dl_get_origin.
11077 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11079 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11080 * dlfcn/modstatic3.c: New file.
11081 * dlfcn/tststatic3.c: New file.
11082 * dlfcn/tststatic4.c: New file.
11083 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11084 (tests-static): Likewise.
11085 (modules-names): Add modstatic3.
11086 (tststatic3-ENV, tststatic4-ENV): New variables.
11087 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11088 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11090 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11092 * configure.in (CC): Require GCC version 4.4 or later.
11093 * configure: Regenerated.
11094 * manual/install.texi (Tools for Compilation): Update GCC version
11096 * INSTALL: Regenerated.
11098 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11101 * string/test-memcmp.c (check2): New.
11102 (main): Call check2.
11104 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11106 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11109 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11111 (dl_open_worker) [!SHARED]: ... here.
11113 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11115 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11117 2013-06-25 Richard Henderson <rth@redhat.com>
11119 * locale/programs/locarchive.c: Include <libc-internal.h>
11121 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11123 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11124 trailing whitespace removed.
11126 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11129 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11130 * locale/programs/locarchive.c: Include libc-mmap.h.
11131 (prepare_address_space): Take two new outputs (the mmap base and len).
11132 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11134 (create_archive): Declare new mmap base and len values for
11135 prepare_address_space, and store the result in ah.
11136 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11137 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11138 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11139 Declare new mmap base and len values for
11140 prepare_address_space, and store the result in new_ah.
11141 (open_archive): Declare new mmap base and len values for
11142 prepare_address_space, and store the result in ah.
11143 (close_archive): If ah->mmap_base is not NULL, use that and
11144 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11145 * sysdeps/generic/libc-mmap.h: New file.
11147 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11149 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11150 (ALIGN_UP): Likewise.
11151 (PTR_ALIGN_DOWN): Likewise.
11152 (PTR_ALIGN_UP): Likewise.
11154 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11156 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11157 entry mapped to PPC_PLATFORM_POWER8.
11158 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11160 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11161 (_dl_string_platform): Add case for exporting platform position for
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11164 search path to sysdeps/powerpc/powerpc32/power8 directory.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11166 search path to sysdeps/powerpc/powerpc64/power8 directory.
11167 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11168 power7 directories.
11169 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11170 power7 directories.
11172 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11174 * INSTALL: Regenerate.
11176 * nscd/connections.c (nscd_init): Fix comment.
11178 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11183 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11184 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11186 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11188 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11190 (DL_DST_REQ_STATIC): Remove macro.
11192 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11195 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11196 with a shift of 0 bits.
11198 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11200 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11203 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11206 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11208 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11210 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11211 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11212 accepts -fno-tree-loop-distribute-patterns.
11213 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11214 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11216 * string/memset.c (memset): Likewise.
11217 * string/test-memmove.c (simple_memmove): Disable loop transformation
11219 * string/test-memset.c (simple_memset): Likewise.
11220 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11221 * benchtests/bench-memset.c (simple_memset): Likewise.
11222 * configure: Regenerated.
11224 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11226 * math/test-misc.c (main): Ignore fesetround failure when failures
11227 of subsequent rounding tests would be ignored.
11230 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11231 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11232 * math/fegetenv.c (__fegetenv): Return 0.
11233 * math/fegetexcept.c (fegetexcept): Return 0.
11234 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11236 * math/feholdexcpt.c (feholdexcept): Return 0.
11237 * math/fesetenv.c (__fesetenv): Return 0.
11238 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11239 argument FE_TONEAREST.
11240 * math/feupdateenv.c (__feupdateenv): Return 0.
11241 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11243 2013-06-18 Roland McGrath <roland@hack.frob.com>
11245 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11246 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11247 ($(objpfx)rtld-%.os rules): Use them.
11249 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11251 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11254 2013-06-17 Roland McGrath <roland@hack.frob.com>
11256 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11257 length of target pattern, then descending length of dependency pattern.
11258 * configure.in (AWK): Require gawk 3.1.2 or newer.
11259 * manual/install.texi (Tools for Compilation): Say that we do.
11260 * configure: Regenerated.
11262 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11263 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11264 * scripts/sysd-rules.awk: ... this new script.
11265 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11266 than a glob-style pattern.
11268 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11270 * math/test-misc.c (main): Do not treat incorrectly rounded
11271 conversions as failure unless ROUNDING_TESTS passes.
11273 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11276 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11277 restore exception state around main square root computation, then
11278 check for inexactness explicitly.
11280 * math/libm-test.inc (fma_test_data): Add another test.
11282 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 * manual/threads.texi (Non-POSIX Extensions): New document
11285 node. Document pthread_getattr_default_np and
11286 pthread_setattr_default_np.
11288 * Versions.def (libpthread): Add GLIBC_2.18.
11289 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11298 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11309 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11312 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11314 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11315 H.J. Lu <hjl.tools@gmail.com>
11318 * sysdeps/x86_64/rtld-memset.c: Remove file.
11319 * sysdeps/x86_64/rtld-memset.S: New file.
11321 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11323 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11324 (test_in_one_mode): Take arguments for whether the rounding mode
11325 is supported for each floating-point type.
11326 (do_test): Pass new arguments to test_in_one_mode using
11329 2013-06-13 Roland McGrath <roland@hack.frob.com>
11331 * posix/tst-waitid.c (do_test): Distinguish different instances of
11332 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11333 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11334 before entering the kernel for waitpid.
11336 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11338 * NEWS: Fix note on clock function precision. Text by Roland
11341 2013-06-13 Roland McGrath <roland@hack.frob.com>
11343 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11344 it into place only when and if the sanity check passes.
11346 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11348 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11349 output for whether conversion result is exact. Take argument
11350 indicating whether type is IBM long double.
11351 (round_for_all): Change need_exact field to ibm_ld.
11352 * stdlib/tst-strtod-round.c (struct exactness): New type.
11353 (struct test): Change bool ld_ok field to struct exactness exact.
11354 (TEST): Update all definitions for change to field.
11355 (tests): Regenerate array contents.
11356 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11357 field value. Check for IBM long double here.
11358 (do_test): Update calls to test_in_one_mode.
11360 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11363 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11364 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11366 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11369 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11370 generated by the compiler on loop optimizations.
11371 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11372 general definitions.
11374 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11376 * math/bug-nextafter.c: Include <math-tests.h>.
11377 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11379 * math/bug-nexttoward.c: Include <math-tests.h>.
11380 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11382 * math/test-misc.c: Include <math-tests.h>.
11383 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11386 2013-06-12 Andreas Jaeger <aj@suse.de>
11388 * po/ia.po: Update Interlingua translation from translation
11391 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11393 * include/fenv.h: Include stdbool.h.
11394 (struct rm_ctx): New structure.
11395 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11397 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11398 (SET_RESTORE_ROUNDF): Likewise.
11399 (SET_RESTORE_ROUNDL): Likewise.
11400 (SET_RESTORE_ROUND_NOEX): Likewise.
11401 (SET_RESTORE_ROUND_NOEXF): Likewise.
11402 (SET_RESTORE_ROUND_NOEXL): Likewise.
11403 (SET_RESTORE_ROUND_53BIT): Likewise.
11404 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11405 (libc_feresetround_noexf_ctx): Likewise.
11406 (libc_feresetround_noexl_ctx): Likewise.
11407 (libc_feholdsetround_53bit_ctx): Likewise.
11408 (libc_feresetround_53bit_ctx): Likewise.
11409 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11410 (libc_feholdexcept_setround_sse_ctx): New function.
11411 (libc_fesetenv_sse_ctx): Likewise.
11412 (libc_feupdateenv_sse_ctx): Likewise.
11413 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11414 (libc_feholdexcept_setround_387_ctx): Likewise.
11415 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11416 (libc_feholdsetround_387_prec_ctx): Likewise.
11417 (libc_feholdsetround_387_ctx): Likewise.
11418 (libc_feholdsetround_387_53bit_ctx): Likewise.
11419 (libc_feholdsetround_sse_ctx): Likewise.
11420 (libc_feresetround_sse_ctx): Likewise.
11421 (libc_feresetround_387_ctx): Likewise.
11422 (libc_feupdateenv_387_ctx): Likewise.
11423 (libc_feholdexcept_setroundf_ctx): Define macro.
11424 (libc_fesetenvf_ctx): Likewise.
11425 (libc_feupdateenvf_ctx): Likewise.
11426 (libc_feholdsetroundf_ctx): Likewise.
11427 (libc_feresetroundf_ctx): Likewise.
11428 (libc_feholdexcept_setround_ctx): Likewise.
11429 (libc_fesetenv_ctx): Likewise.
11430 (libc_feupdateenv_ctx): Likewise.
11431 (libc_feholdsetround_ctx): Likewise.
11432 (libc_feresetround_ctx): Likewise.
11433 (libc_feholdexcept_setroundl_ctx): Likewise.
11434 (libc_feupdateenvl_ctx): Likewise.
11435 (libc_feholdsetroundl_ctx): Likewise.
11436 (libc_feresetroundl_ctx): Likewise.
11437 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11438 (libc_feresetround_53bit_ctx): Likewise.
11440 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11442 * locale/iso-639.def: Convert to UTF-8.
11444 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11446 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11447 (EXCEPTION_TESTS_double): Likewise.
11448 (EXCEPTION_TESTS_long_double): Likewise.
11449 (EXCEPTION_TESTS): Likewise.
11450 * math/libm-test.inc (test_exceptions): Only test exceptions if
11451 EXCEPTION_TESTS (FLOAT).
11453 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11455 * benchtests/Makefile (string-bench): Add strcpy_chk and
11457 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11458 * benchtests/bench-stpcpy_chk.c: New file.
11459 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11460 * benchtests/bench-strcpy_chk.c: New file.
11461 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11463 (do_test): Likewise.
11465 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11467 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11468 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11469 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11470 with tabs where appropriate.
11471 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11473 [PPC_PLATFORM_PPC440]: Likewise.
11474 [PPC_PLATFORM_PPC464]: Likewise.
11475 [PPC_PLATFORM_PPC476]: Likewise.
11476 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11477 ppc464, and ppc476 platform strings merging from ports/
11480 2013-06-11 Andreas Schwab <schwab@suse.de>
11483 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11484 (from_ucs4_idx): Regenerate.
11485 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11486 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11487 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11488 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11489 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11490 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11491 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11492 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11493 from FROM_LOOP and TO_LOOP specific macros.
11494 (BODY): Handle combining characters.
11495 * iconvdata/BIG5HKSCS.irreversible: Update.
11496 * iconvdata/BIG5HKSCS.precomposed: New file.
11497 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11499 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11501 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11503 * include/sys/time.h: Fix indentation and add copyright header.
11505 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11506 (do_test): Likewise.
11507 * string/test-memchr.c (do_one_test): Likewise.
11508 (do_test): Likewise.
11509 * string/test-memcmp.c (do_one_test): Likewise.
11510 (do_test): Likewise.
11511 * string/test-memcpy.c (do_one_test): Likewise.
11512 (do_test): Likewise.
11513 * string/test-memmem.c (do_one_test): Likewise.
11514 (do_test): Likewise.
11515 (do_random_tests): Likewise.
11516 * string/test-memmove.c (do_one_test): Likewise.
11517 (do_test): Likewise.
11518 * string/test-memset.c (do_one_test): Likewise.
11519 (do_test): Likewise.
11520 * string/test-rawmemchr.c (do_one_test): Likewise.
11521 (do_test): Likewise.
11522 * string/test-strcasecmp.c (do_one_test): Likewise.
11523 (do_test): Likewise.
11524 * string/test-strcasestr.c (do_one_test): Likewise.
11525 (do_test): Likewise.
11526 * string/test-strcat.c (do_one_test): Likewise.
11527 (do_test): Likewise.
11528 * string/test-strchr.c (do_one_test): Likewise.
11529 (do_test): Likewise.
11530 * string/test-strcmp.c (do_one_test): Likewise.
11531 (do_test): Likewise.
11532 * string/test-strcpy.c (do_one_test): Likewise.
11533 (do_test): Likewise.
11534 * string/test-string.h: Likewise.
11535 (test_init): Likewise.
11536 * string/test-strlen.c (do_one_test): Likewise.
11537 (do_test): Likewise.
11538 * string/test-strncasecmp.c (do_one_test): Likewise.
11539 (do_test): Likewise.
11540 * string/test-strncat.c (do_one_test): Likewise.
11541 (do_test): Likewise.
11542 * string/test-strncmp.c (do_one_test): Likewise.
11543 (do_test_limit): Likewise.
11544 (do_test): Likewise.
11545 * string/test-strncpy.c (do_one_test): Likewise.
11546 (do_test): Likewise.
11547 * string/test-strnlen.c (do_one_test): Likewise.
11548 (do_test): Likewise.
11549 * string/test-strpbrk.c (do_one_test): Likewise.
11550 (do_test): Likewise.
11551 * string/test-strrchr.c (do_one_test): Likewise.
11552 (do_test): Likewise.
11553 * string/test-strspn.c (do_one_test): Likewise.
11554 (do_test): Likewise.
11555 * string/test-strstr.c (do_one_test): Likewise.
11556 (do_test): Likewise.
11558 * benchtests/Makefile (string-bench): Add string benchmarks.
11559 * benchtests/bench-bcopy-ifunc.c: New file.
11560 * benchtests/bench-bcopy.c: New file.
11561 * benchtests/bench-bzero-ifunc.c: New file.
11562 * benchtests/bench-bzero.c: New file.
11563 * benchtests/bench-memccpy-ifunc.c: New file.
11564 * benchtests/bench-memccpy.c: New file.
11565 * benchtests/bench-memchr-ifunc.c: New file.
11566 * benchtests/bench-memchr.c: New file.
11567 * benchtests/bench-memcmp-ifunc.c: New file.
11568 * benchtests/bench-memcmp.c: New file.
11569 * benchtests/bench-memmem-ifunc.c: New file.
11570 * benchtests/bench-memmem.c: New file.
11571 * benchtests/bench-memmove-ifunc.c: New file.
11572 * benchtests/bench-memmove.c: New file.
11573 * benchtests/bench-mempcpy-ifunc.c: New file.
11574 * benchtests/bench-mempcpy.c: New file.
11575 * benchtests/bench-memset-ifunc.c: New file.
11576 * benchtests/bench-memset.c: New file.
11577 * benchtests/bench-rawmemchr-ifunc.c: New file.
11578 * benchtests/bench-rawmemchr.c: New file.
11579 * benchtests/bench-stpcpy-ifunc.c: New file.
11580 * benchtests/bench-stpcpy.c: New file.
11581 * benchtests/bench-stpncpy-ifunc.c: New file.
11582 * benchtests/bench-stpncpy.c: New file.
11583 * benchtests/bench-strcasecmp-ifunc.c: New file.
11584 * benchtests/bench-strcasecmp.c: New file.
11585 * benchtests/bench-strcasestr-ifunc.c: New file.
11586 * benchtests/bench-strcasestr.c: New file.
11587 * benchtests/bench-strcat-ifunc.c: New file.
11588 * benchtests/bench-strcat.c: New file.
11589 * benchtests/bench-strchr-ifunc.c: New file.
11590 * benchtests/bench-strchr.c: New file.
11591 * benchtests/bench-strchrnul-ifunc.c: New file.
11592 * benchtests/bench-strchrnul.c: New file.
11593 * benchtests/bench-strcmp-ifunc.c: New file.
11594 * benchtests/bench-strcmp.c: New file.
11595 * benchtests/bench-strcpy-ifunc.c: New file.
11596 * benchtests/bench-strcpy.c: New file.
11597 * benchtests/bench-strcspn-ifunc.c: New file.
11598 * benchtests/bench-strcspn.c: New file.
11599 * benchtests/bench-strlen-ifunc.c: New file.
11600 * benchtests/bench-strlen.c: New file.
11601 * benchtests/bench-strncasecmp-ifunc.c: New file.
11602 * benchtests/bench-strncasecmp.c: New file.
11603 * benchtests/bench-strncat-ifunc.c: New file.
11604 * benchtests/bench-strncat.c: New file.
11605 * benchtests/bench-strncmp-ifunc.c: New file.
11606 * benchtests/bench-strncmp.c: New file.
11607 * benchtests/bench-strncpy-ifunc.c: New file.
11608 * benchtests/bench-strncpy.c: New file.
11609 * benchtests/bench-strnlen-ifunc.c: New file.
11610 * benchtests/bench-strnlen.c: New file.
11611 * benchtests/bench-strpbrk-ifunc.c: New file.
11612 * benchtests/bench-strpbrk.c: New file.
11613 * benchtests/bench-strrchr-ifunc.c: New file.
11614 * benchtests/bench-strrchr.c: New file.
11615 * benchtests/bench-strspn-ifunc.c: New file.
11616 * benchtests/bench-strspn.c: New file.
11617 * benchtests/bench-strstr-ifunc.c: New file.
11618 * benchtests/bench-strstr.c: New file.
11620 * benchtests/Makefile: Disable parallel execution of targets.
11621 (string-bench): Add memcpy.
11622 (benchset): New variable to store a list of benchmark sets.
11623 (bench-func): Renamed from bench.
11624 (bench-set): New target.
11625 (bench): Depend on bench-func and bench-set.
11626 * benchtests/README: Add section on benchmark sets.
11627 * benchtests/bench-memcpy-ifunc.c: New file.
11628 * benchtests/bench-memcpy.c: New file.
11629 * benchtests/bench-string.h: New file.
11631 2013-06-11 Andreas Schwab <schwab@suse.de>
11634 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11635 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11636 values in the triple.
11637 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11638 terminator in the group key.
11640 2013-06-11 Andreas Jaeger <aj@suse.de>
11642 * po/zh_TW.po: Update Chinese (traditional) translation from
11643 translation project.
11645 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11647 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11648 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11649 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11650 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11651 (clock_getcpuclockid): Likewise.
11652 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11653 Add weak_alias and libc_hidden_def.
11654 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11655 * rt/clock_gettime.c (clock_gettime): Rename to
11656 __clock_gettime. Add weak_alias and libc_hidden_def.
11657 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11658 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11659 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11660 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11661 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11663 * rt/clock_settime.c (clock_settime): Rename to
11664 __clock_settime. Add weak_alias and libc_hidden_def.
11665 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11667 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11669 * mach/err_boot.sub: Remove trailing whitespace.
11670 * mach/err_ipc.sub: Likewise.
11671 * mach/err_mach.sub: Likewise.
11673 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11674 (ROUNDING_TESTS_double): Likewise.
11675 (ROUNDING_TESTS_long_double): Likewise.
11676 (ROUNDING_TESTS): Likewise.
11677 * math/libm-test.inc: Include <math-tests.h>.
11678 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11679 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11680 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11681 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11683 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11685 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11688 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11690 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11691 otherwise empty TRANS lines.
11692 * sysdeps/gnu/errlist.c: Regenerated.
11694 * catgets/gencat.c (error_print): Use (void) in function
11696 * crypt/crypt_util.c (__init_des): Likewise.
11697 * crypt/speeds.c (Stop): Likewise.
11699 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11700 * inet/ruserpass.c (token): Likewise.
11701 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11702 * intl/localealias.c (extend_alias_table): Likewise.
11703 * intl/plural-exp.c (init_germanic_plural): Likewise.
11704 * libio/fcloseall.c (__fcloseall): Likewise.
11705 * libio/genops.c (_IO_flush_all): Likewise.
11706 (_IO_flush_all_linebuffered): Likewise.
11707 (_IO_cleanup): Likewise.
11708 (_IO_iter_begin): Likewise.
11709 (_IO_iter_end): Likewise.
11710 (_IO_list_lock): Likewise.
11711 (_IO_list_unlock): Likewise.
11712 (_IO_list_resetlock): Likewise.
11713 * libio/getchar.c (getchar): Likewise.
11714 * libio/getchar_u.c (getchar_unlocked): Likewise.
11715 * libio/getwchar.c (getwchar): Likewise.
11716 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11717 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11718 * login/getpt.c (__getpt): Likewise.
11719 * login/tst-utmp.c (main): Likewise.
11720 * malloc/hooks.c (__malloc_check_init): Likewise.
11721 * malloc/malloc.c (__malloc_stats): Likewise.
11722 * malloc/mtrace.c (tr_break): Likewise.
11723 (mtrace): Likewise.
11724 (muntrace): Likewise.
11725 * misc/fstab.c (endfsent): Likewise.
11726 * misc/getclktck.c (__getclktck): Likewise.
11727 * misc/getdtsz.c (__getdtablesize): Likewise.
11728 * misc/gethostid.c (gethostid): Likewise.
11729 * misc/getpagesize.c (__getpagesize): Likewise.
11730 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11731 (__get_nprocs): Likewise.
11732 (__get_phys_pages): Likewise.
11733 (__get_avphys_pages): Likewise.
11734 * misc/getttyent.c (getttyent): Likewise.
11735 (setttyent): Likewise.
11736 (endttyent): Likewise.
11737 * misc/getusershell.c (getusershell): Likewise.
11738 (endusershell): Likewise.
11739 (setusershell): Likewise.
11740 (initshells): Likewise.
11741 * misc/hsearch.c (__hdestroy): Likewise.
11742 * misc/sync.c (sync): Likewise.
11743 * misc/syslog.c (closelog_internal): Likewise.
11744 (closelog): Likewise.
11745 * misc/ttyslot.c (ttyslot): Likewise.
11746 * misc/vhangup.c (vhangup): Likewise.
11747 * posix/fork.c (__fork): Likewise.
11748 * posix/getegid.c (__getegid): Likewise.
11749 * posix/geteuid.c (__geteuid): Likewise.
11750 * posix/getgid.c (__getgid): Likewise.
11751 * posix/getpid.c (__getpid): Likewise.
11752 * posix/getppid.c (__getppid): Likewise.
11753 * posix/getuid.c (__getuid): Likewise.
11754 * posix/pause.c (pause): Likewise.
11755 * posix/setpgrp.c (setpgrp): Likewise.
11756 * posix/setsid.c (__setsid): Likewise.
11757 * posix/test-vfork.c (noop): Likewise.
11758 * resolv/gethnamaddr.c (_endhtent): Likewise.
11759 (_gethtent): Likewise.
11760 (ht_endhostent): Likewise.
11761 (gethostent): Likewise.
11762 (dns_service): Likewise.
11763 * stdlib/drand48.c (drand48): Likewise.
11764 * stdlib/lrand48.c (lrand48): Likewise.
11765 * stdlib/mrand48.c (mrand48): Likewise.
11766 * stdlib/rand.c (rand): Likewise.
11767 * stdlib/random.c (__random): Likewise.
11768 * stdlib/setenv.c (clearenv): Likewise.
11769 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11770 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11771 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11772 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11773 (__get_nprocs): Likewise.
11774 (__get_phys_pages): Likewise.
11775 (__get_avphys_pages): Likewise.
11776 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11777 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11778 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11779 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11780 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11781 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11782 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11783 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11784 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11785 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11786 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11787 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11788 * sysdeps/posix/clock.c (clock): Likewise.
11789 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11790 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11791 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11792 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11793 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11795 (__get_nprocs_conf): Likewise.
11796 (__get_phys_pages): Likewise.
11797 (__get_avphys_pages): Likewise.
11798 * time/clock.c (clock): Likewise.
11799 * time/tzset.c (__tzname_max): Likewise.
11801 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11803 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11804 (__bswap_32): Do not use "register".
11805 * crypt/crypt.c (_ufc_doit_r): Likewise.
11806 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11807 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11808 * gmon/gmon.c (__monstartup): Likewise.
11809 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11810 * hurd/hurdmalloc.c (more_memory): Likewise.
11811 (malloc): Likewise.
11813 (realloc): Likewise.
11814 (malloc_fork_prepare): Likewise.
11815 (malloc_fork_parent): Likewise.
11816 (malloc_fork_child): Likewise.
11817 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11818 (_svcauth_des): Likewise.
11819 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11820 * inet/inet_net.c (inet_network): Likewise.
11821 * inet/inet_netof.c (inet_netof): Likewise.
11822 * inet/rcmd.c (__validuser2_sa): Likewise.
11823 * io/fts.c (fts_open): Likewise.
11824 (fts_load): Likewise.
11825 (fts_close): Likewise.
11826 (fts_read): Likewise.
11827 (fts_children): Likewise.
11828 (fts_build): Likewise.
11829 (fts_stat): Likewise.
11830 (fts_sort): Likewise.
11831 (fts_alloc): Likewise.
11832 (fts_lfree): Likewise.
11833 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11834 (_IO_file_xsgetn): Likewise.
11835 (_IO_file_xsgetn_mmap): Likewise.
11836 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11837 (_IO_cookie_write): Likewise.
11838 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11839 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11840 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11841 * malloc/obstack.c (_obstack_begin): Likewise.
11842 (_obstack_begin_1): Likewise.
11843 (_obstack_newchunk): Likewise.
11844 (_obstack_allocated_p): Likewise.
11845 (obstack_free): Likewise.
11846 (_obstack_memory_used): Likewise.
11847 * misc/getttyent.c (getttynam): Likewise.
11848 (getttyent): Likewise.
11851 * misc/getusershell.c (initshells): Likewise.
11852 * misc/syslog.c (__vsyslog_chk): Likewise.
11853 * misc/ttyslot.c (ttyslot): Likewise.
11854 * nis/nis_hash.c (__nis_hash): Likewise.
11855 * posix/fnmatch_loop.c (FCT): Likewise.
11856 * posix/getconf.c (print_all): Likewise.
11858 * posix/getopt.c (exchange): Likewise.
11859 * posix/glob.c (globfree): Likewise.
11860 (prefix_array): Likewise.
11861 (__glob_pattern_type): Likewise.
11862 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11863 (NS_GET32): Likewise.
11864 (NS_PUT16): Likewise.
11865 (NS_PUT32): Likewise.
11866 * resolv/gethnamaddr.c (getanswer): Likewise.
11867 (gethostbyname2): Likewise.
11868 (gethostbyaddr): Likewise.
11869 (_gethtent): Likewise.
11870 (_gethtbyname2): Likewise.
11871 (_gethtbyaddr): Likewise.
11872 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11873 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11874 * resolv/res_init.c (__res_vinit): Likewise.
11875 (net_mask): Likewise.
11876 * resolv/res_mkquery.c (outchar): Likewise.
11878 * stdio-common/printf_fp.c (outchar): Likewise.
11880 * stdio-common/printf_fphex.c (outchar): Likewise.
11882 * stdio-common/printf_size.c (outchar): Likewise.
11884 * stdio-common/test_rdwr.c (main): Likewise.
11885 * stdio-common/tfformat.c (matches): Likewise.
11886 * stdio-common/vfprintf.c (outchar): Likewise.
11887 (printf_unknown): Likewise.
11888 (buffered_vfprintf): Likewise.
11889 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11890 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11891 (ReadFile): Likewise.
11892 * stdlib/qsort.c (SWAP): Likewise.
11893 (_quicksort): Likewise.
11894 * stdlib/setenv.c (__add_to_environ): Likewise.
11895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11896 * stdlib/strtol_l.c (__strtol_l): Likewise.
11897 * stdlib/tst-strtod.c (main): Likewise.
11898 * stdlib/tst-strtol.c (main): Likewise.
11899 * stdlib/tst-strtoll.c (main): Likewise.
11900 * string/bits/string2.h (__strcmp_cc): Likewise.
11901 (__strcmp_cg): Likewise.
11902 (__strcspn_c1): Likewise.
11903 (__strcspn_c2): Likewise.
11904 (__strcspn_c3): Likewise.
11905 (__strspn_c1): Likewise.
11906 (__strspn_c2): Likewise.
11907 (__strspn_c3): Likewise.
11908 (__strsep_1c): Likewise.
11909 (__strsep_2c): Likewise.
11910 (__strsep_3c): Likewise.
11911 * string/memccpy.c (__memccpy): Likewise.
11912 * string/stpcpy.c (__stpcpy): Likewise.
11913 * string/strcmp.c (strcmp): Likewise.
11914 * string/strrchr.c (strrchr): Likewise.
11915 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11917 * sysdeps/mach/hurd/getcwd.c
11918 (_hurd_canonicalize_directory_name_internal): Likewise.
11919 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11920 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11921 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11922 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11923 Likewise, in both definitions.
11924 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11926 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11927 64] (__bswap_64): Likewise.
11928 * time/test_time.c (main): Likewise.
11929 * time/tzfile.c (__tzfile_read): Likewise.
11930 (__tzfile_compute): Likewise.
11931 * time/tzset.c (__tzset_parse_tz): Likewise.
11932 (tzset_internal): Likewise.
11933 (compute_change): Likewise.
11934 * wcsmbs/wcscat.c (__wcscat): Likewise.
11935 * wcsmbs/wcschr.c (wcschr): Likewise.
11936 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11937 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11938 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11939 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11940 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11941 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11942 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11943 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11944 * wcsmbs/wmemset.c (wmemset): Likewise.
11946 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11948 * scripts/config.guess: Update to version 2013-05-16.
11949 * scripts/config.sub: Update to version 2013-04-24.
11950 * scripts/install-sh: Update to version 2011-11-20.07.
11951 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11952 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11954 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11956 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11957 * elf/sln.c: Likewise.
11958 * hurd/hurd/ioctl.h: Likewise.
11959 * hurd/hurdmalloc.c: Likewise.
11960 * hurd/xattr.c: Likewise.
11961 * include/shlib-compat.h: Likewise.
11962 * inet/ruserpass.c: Likewise.
11963 * libio/iofgets_u.c: Likewise.
11964 * libio/iofgetws_u.c: Likewise.
11965 * locale/programs/ld-identification.c: Likewise.
11966 * locale/programs/ld-time.c: Likewise.
11967 * mach/msg-destroy.c: Likewise.
11968 * nss/nss_files/files-netgrp.c: Likewise.
11969 * resolv/res_data.c: Likewise.
11970 * soft-fp/op-1.h: Likewise.
11971 * soft-fp/op-2.h: Likewise.
11972 * soft-fp/op-4.h: Likewise.
11973 * soft-fp/op-common.h: Likewise.
11974 * stdio-common/printf_fphex.c: Likewise.
11975 * stdlib/strtod_l.c: Likewise.
11976 * sunrpc/rpc/clnt.h: Likewise.
11977 * sysdeps/generic/framestate.c: Likewise.
11978 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11979 * sysdeps/i386/bsd-setjmp.S: Likewise.
11980 * sysdeps/i386/__longjmp.S: Likewise.
11981 * sysdeps/i386/setjmp.S: Likewise.
11982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11987 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11991 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11992 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11995 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11998 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11999 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12000 * sysdeps/ieee754/support.c: Likewise.
12001 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12002 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12003 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12004 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12005 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12006 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12007 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12008 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12009 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12010 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12011 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12012 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12013 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12014 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12015 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12016 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12017 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12020 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12022 * posix/transbug.c: Remove executable mode.
12024 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12026 * crypt/speeds.c: Remove trailing whitespace.
12027 * dlfcn/default.c: Likewise.
12028 * elf/ifuncdep2.c: Likewise.
12029 * elf/ifuncmain1.c: Likewise.
12030 * elf/ifuncmain1vis.c: Likewise.
12031 * elf/testobj.h: Likewise.
12032 * elf/tst-stackguard1.c: Likewise.
12033 * gmon/sys/gmon.h: Likewise.
12034 * hurd/hurdmsg.c: Likewise.
12035 * hurd/new-fd.c: Likewise.
12036 * hurd/ports-get.c: Likewise.
12037 * iconvdata/ibm1008_420.c: Likewise.
12038 * inet/tst-getni1.c: Likewise.
12039 * inet/tst-getni2.c: Likewise.
12040 * libio/ioungetc.c: Likewise.
12041 * libio/wfiledoalloc.c: Likewise.
12042 * manual/libm-err-tab.pl: Likewise.
12043 * math/w_dremf.c: Likewise.
12044 * misc/ftruncate.c: Likewise.
12045 * posix/bug-glob2.c: Likewise.
12046 * posix/tst-pcre.c: Likewise.
12047 * posix/wait4.c: Likewise.
12048 * resolv/README: Likewise.
12049 * resolv/res_debug.h: Likewise.
12050 * resolv/tst-inet_ntop.c: Likewise.
12051 * setjmp/bug269-setjmp.c: Likewise.
12052 * soft-fp/extended.h: Likewise.
12053 * soft-fp/op-1.h: Likewise.
12054 * soft-fp/op-2.h: Likewise.
12055 * soft-fp/op-4.h: Likewise.
12056 * soft-fp/op-8.h: Likewise.
12057 * soft-fp/testit.c: Likewise.
12058 * stdio-common/bug16.c: Likewise.
12059 * stdlib/random.c: Likewise.
12060 * sunrpc/rpcsvc/rquota.x: Likewise.
12061 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12067 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12068 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12069 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12070 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12071 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12072 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12073 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12074 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12075 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12076 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12080 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12082 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12083 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12084 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12085 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12086 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12090 * sysdeps/ieee754/s_lib_version.c: Likewise.
12091 * sysdeps/mach/hurd/check_fds.c: Likewise.
12092 * sysdeps/mach/hurd/getsockname.c: Likewise.
12093 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12094 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12095 * sysdeps/powerpc/bits/link.h: Likewise.
12096 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12097 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12098 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12099 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12100 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12101 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12102 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12103 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12104 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12105 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12106 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12107 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12108 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12109 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12110 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12111 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12113 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12114 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12115 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12118 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12120 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12121 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12122 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12123 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12124 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12125 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12126 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12127 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12128 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12130 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12131 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12132 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12133 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12134 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12135 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12136 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12137 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12138 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12139 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12140 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12141 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12142 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12143 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12144 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12145 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12148 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12149 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12150 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12151 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12152 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12154 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12155 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12156 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12157 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12158 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12159 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12160 * sysdeps/powerpc/sysdep.h: Likewise.
12161 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12162 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12163 * sysdeps/sh/dl-trampoline.S: Likewise.
12164 * sysdeps/sh/memset.S: Likewise.
12165 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12166 * sysdeps/sh/strlen.S: Likewise.
12167 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12168 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12169 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12170 * sysdeps/sparc/sparc32/rem.S: Likewise.
12171 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12172 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12173 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12174 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12175 * sysdeps/sparc/sparc32/urem.S: Likewise.
12176 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12177 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12178 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12179 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12181 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12182 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12183 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12184 * sysdeps/unix/bsd/times.c: Likewise.
12185 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12186 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12190 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12191 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12196 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12197 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12199 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12200 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12201 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12202 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12203 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12204 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12205 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12206 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12207 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12208 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12209 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12210 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12211 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12213 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12214 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12215 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12216 * sysdeps/x86_64/strcspn.S: Likewise.
12218 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12220 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12221 generated file. Regenerate properly from gen-translit.pl.
12222 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12223 locale/C-translit.h.
12225 2013-06-05 Andreas Schwab <schwab@suse.de>
12228 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12229 week as 6 instead of -1.
12230 * time/tst-strptime.c (day_tests): Add test case.
12232 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12234 * sysdeps/generic/math_private.h
12235 (libc_feholdexcept_setround_53bit): Replace with
12236 libc_feholdsetround_53bit.
12237 (libc_feupdateenv_53bit): Replace with
12238 libc_feresetround_53bit.
12239 (SET_RESTORE_ROUND_53BIT): Adjust.
12241 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12243 * string/test-strchrnul.c: Add copyright header.
12245 * posix/tst-getaddrinfo4.c: Increase test timeout.
12247 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12250 * math/libm-test.inc (MAX_EXP): Remove
12252 (ulp): Use MIN_EXP - MANT_DIG.
12253 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12255 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12257 * po/be.po: Revert last change.
12258 * po/zh_CN.po: Likewise.
12259 * po/header.pot: Likewise.
12261 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12263 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12264 link-libc-deps to empty as target-specific variable.
12265 * Makerules (link-libc-args): New variable.
12266 (libc-for-link): Likewise.
12267 (link-libc-deps): Likewise.
12268 (lib%.so): Depend on $(link-libc-deps). Link with
12270 (build-module): Link with $(link-libc-args).
12271 (build-module-asneeded): Likewise.
12272 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12274 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12275 target-specific variable.
12276 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12277 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12278 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12280 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12282 ($(objpfx)libpcprofile.so): Likewise.
12283 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12285 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12286 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12287 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12289 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12290 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12291 * login/Makefile ($(objpfx)libutil.so): Likewise.
12292 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12293 * math/Makefile ($(objpfx)libm.so): Likewise.
12294 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12295 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12296 variable instead of depending directly on libc.
12297 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12298 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12300 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12302 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12303 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12304 ($(objpfx)libanl.so): Likewise.
12305 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12307 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12309 * sysdeps/i386/fpu/Makefile: Remove file.
12310 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12311 ($(objpfx)libm.so): Remove dependency on ld.so.
12313 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12316 * nis/yp_xdr.c (XDRMAXNAME): Define.
12317 (XDRMAXRECORD): Define.
12318 (xdr_domainname): Use XDRMAXNAME.
12319 (xdr_mapname): Likewise.
12320 (xdr_peername): Likewise.
12321 (xdr_keydat): Use XDRMAXRECORD.
12322 (xdr_valdat): Likewise.
12324 2013-05-30 Jeff Law <law@redhat.com>
12327 * manual/errno.texi (ESTALE): Update to account for more than
12328 just NFS file systems.
12329 * sysdeps/gnu/errlist.c: Regenerated.
12331 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12334 * elf/Makefile (tests): Add tst-null-argv.
12335 (modules-names): Add tst-null-argv-lib.
12336 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12337 (tst-null-argv-ENV): Set environment for tst-null-argv.
12338 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12339 (RTLD_PROGNAME): New macro.
12340 * elf/tst-null-argv.c: New test case.
12341 * elf/tst-null-argv-lib.c: Library for test case.
12342 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12343 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12344 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12345 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12346 * elf/dl-init.c (call_init): Likewise.
12347 (_dl_init): Likewise.
12348 * elf/dl-load.c (print_search_path): Likewise.
12349 (_dl_map_object): Likewise.
12350 * elf/dl-lookup.c (do_lookup_x): Likewise.
12351 (add_dependency): Likewise.
12352 (_dl_lookup_symbol_x): Likewise.
12353 (_dl_debug_bindings): Likewise.
12354 * elf/dl-open.c (_dl_show_scope): Likewise.
12355 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12356 * elf/dl-version.c (match_symbol): Likewise.
12357 (_dl_check_map_versions): Likewise.
12358 * elf/rtld.c (dl_main): Likewise.
12359 (print_unresolved): Use RTLD_PROGNAME.
12360 (print_missing_version): Likewise.
12361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12362 (elf_machine_rela): Likewise.
12363 * sysdeps/powerpc/powerpc32/dl-machine.c
12364 (__process_machine_rela): Likewise.
12365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12367 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12369 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12371 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12378 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12380 * po/be.po: Add descriptive title.
12381 * po/zh_CN.po: Likewise.
12382 * po/header.pot: Likewise.
12384 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12386 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12388 (enlarge_archive): Likewise.
12390 2013-05-28 Ben North <ben@redfrontdoor.org>
12392 * manual/arith.texi (frexp): It is the magnitude of the return
12393 value which lies in [0.5, 1), not the return value itself.
12395 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12399 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12401 * stdio-common/bug26.c (main): Correct fscanf template.
12403 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12404 declare _dl_skip_args.
12406 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12409 * manual/platform.texi: Add missing @end deftypefun.
12411 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12415 bit of mantissa of 2^16382.
12416 * math/libm-test.inc (hypot_test_data): Add more tests.
12418 * math/libm-test.inc: Add drem and pow10 to list of tested
12420 (pow10_test): New function.
12421 (drem_test): Likewise.
12422 (drem_test_tonearest): Likewise.
12423 (drem_test_towardzero): Likewise.
12424 (drem_test_downward): Likewise.
12425 (drem_test_upward): Likewise.
12426 (main): Call the new functions.
12428 * math/libm-test.inc (finite_test_data): Remove.
12429 (finite_test): Run tests from isfinite_test_data.
12430 (gamma_test_data): Remove.
12431 (gamma_test): Run tests from lgamma_test_data.
12432 * sysdeps/i386/fpu/libm-test-ulps: Update.
12433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12435 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12437 * manual/platform.texi: Add PowerPC PPR function set documentation.
12438 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12441 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12443 * math/libm-test.inc (MAX_EXP): Define.
12445 (ulp): New function.
12446 (check_float_internal): Use ULPDIFF.
12447 (cpow_test): Disable failing test.
12448 (check_ulp): Test ulp() implemetnation.
12449 (main): Call check_ulp before starting tests.
12451 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12453 * math/gen-libm-test.pl (generate_testfile): Do not handle
12454 START_DATA and END_DATA.
12455 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12457 (acos_tonearest_test_data): Likewise.
12458 (acos_towardzero_test_data): Likewise.
12459 (acos_downward_test_data): Likewise.
12460 (acos_upward_test_data): Likewise.
12461 (acosh_test_data): Likewise.
12462 (asin_test_data): Likewise.
12463 (asin_tonearest_test_data): Likewise.
12464 (asin_towardzero_test_data): Likewise.
12465 (asin_downward_test_data): Likewise.
12466 (asin_upward_test_data): Likewise.
12467 (asinh_test_data): Likewise.
12468 (atan_test_data): Likewise.
12469 (atanh_test_data): Likewise.
12470 (atan2_test_data): Likewise.
12471 (cabs_test_data): Likewise.
12472 (cacos_test_data): Likewise.
12473 (cacosh_test_data): Likewise.
12474 (carg_test_data): Likewise.
12475 (casin_test_data): Likewise.
12476 (casinh_test_data): Likewise.
12477 (catan_test_data): Likewise.
12478 (catanh_test_data): Likewise.
12479 (cbrt_test_data): Likewise.
12480 (ccos_test_data): Likewise.
12481 (ccosh_test_data): Likewise.
12482 (ceil_test_data): Likewise.
12483 (cexp_test_data): Likewise.
12484 (cimag_test_data): Likewise.
12485 (clog_test_data): Likewise.
12486 (clog10_test_data): Likewise.
12487 (conj_test_data): Likewise.
12488 (copysign_test_data): Likewise.
12489 (cos_test_data): Likewise.
12490 (cos_tonearest_test_data): Likewise.
12491 (cos_towardzero_test_data): Likewise.
12492 (cos_downward_test_data): Likewise.
12493 (cos_upward_test_data): Likewise.
12494 (cosh_test_data): Likewise.
12495 (cosh_tonearest_test_data): Likewise.
12496 (cosh_towardzero_test_data): Likewise.
12497 (cosh_downward_test_data): Likewise.
12498 (cosh_upward_test_data): Likewise.
12499 (cpow_test_data): Likewise.
12500 (cproj_test_data): Likewise.
12501 (creal_test_data): Likewise.
12502 (csin_test_data): Likewise.
12503 (csinh_test_data): Likewise.
12504 (csqrt_test_data): Likewise.
12505 (ctan_test_data): Likewise.
12506 (ctan_tonearest_test_data): Likewise.
12507 (ctan_towardzero_test_data): Likewise.
12508 (ctan_downward_test_data): Likewise.
12509 (ctan_upward_test_data): Likewise.
12510 (ctanh_test_data): Likewise.
12511 (ctanh_tonearest_test_data): Likewise.
12512 (ctanh_towardzero_test_data): Likewise.
12513 (ctanh_downward_test_data): Likewise.
12514 (ctanh_upward_test_data): Likewise.
12515 (erf_test_data): Likewise.
12516 (erfc_test_data): Likewise.
12517 (exp_test_data): Likewise.
12518 (exp_tonearest_test_data): Likewise.
12519 (exp_towardzero_test_data): Likewise.
12520 (exp_downward_test_data): Likewise.
12521 (exp_upward_test_data): Likewise.
12522 (exp10_test_data): Likewise.
12523 (exp2_test_data): Likewise.
12524 (expm1_test_data): Likewise.
12525 (fabs_test_data): Likewise.
12526 (fdim_test_data): Likewise.
12527 (finite_test_data): Likewise.
12528 (floor_test_data): Likewise.
12529 (fma_test_data): Likewise.
12530 (fma_towardzero_test_data): Likewise.
12531 (fma_downward_test_data): Likewise.
12532 (fma_upward_test_data): Likewise.
12533 (fmax_test_data): Likewise.
12534 (fmin_test_data): Likewise.
12535 (fmod_test_data): Likewise.
12536 (fpclassify_test_data): Likewise.
12537 (frexp_test_data): Likewise.
12538 (gamma_test_data): Likewise.
12539 (hypot_test_data): Likewise.
12540 (ilogb_test_data): Likewise.
12541 (isfinite_test_data): Likewise.
12542 (isgreater_test_data): Likewise.
12543 (isgreaterequal_test_data): Likewise.
12544 (isinf_test_data): Likewise.
12545 (isless_test_data): Likewise.
12546 (islessequal_test_data): Likewise.
12547 (islessgreater_test_data): Likewise.
12548 (isnan_test_data): Likewise.
12549 (isnormal_test_data): Likewise.
12550 (issignaling_test_data): Likewise.
12551 (isunordered_test_data): Likewise.
12552 (j0_test_data): Likewise.
12553 (j1_test_data): Likewise.
12554 (jn_test_data): Likewise.
12555 (ldexp_test_data): Likewise.
12556 (lgamma_test_data): Likewise.
12557 (lrint_test_data): Likewise.
12558 (lrint_tonearest_test_data): Likewise.
12559 (lrint_towardzero_test_data): Likewise.
12560 (lrint_downward_test_data): Likewise.
12561 (lrint_upward_test_data): Likewise.
12562 (llrint_test_data): Likewise.
12563 (llrint_tonearest_test_data): Likewise.
12564 (llrint_towardzero_test_data): Likewise.
12565 (llrint_downward_test_data): Likewise.
12566 (llrint_upward_test_data): Likewise.
12567 (log_test_data): Likewise.
12568 (log10_test_data): Likewise.
12569 (log1p_test_data): Likewise.
12570 (log2_test_data): Likewise.
12571 (logb_test_data): Likewise.
12572 (logb_downward_test_data): Likewise.
12573 (lround_test_data): Likewise.
12574 (llround_test_data): Likewise.
12575 (modf_test_data): Likewise.
12576 (nearbyint_test_data): Likewise.
12577 (nextafter_test_data): Likewise.
12578 (nexttoward_test_data): Likewise.
12579 (pow_test_data): Likewise.
12580 (pow_tonearest_test_data): Likewise.
12581 (pow_towardzero_test_data): Likewise.
12582 (pow_downward_test_data): Likewise.
12583 (pow_upward_test_data): Likewise.
12584 (remainder_test_data): Likewise.
12585 (remainder_tonearest_test_data): Likewise.
12586 (remainder_towardzero_test_data): Likewise.
12587 (remainder_downward_test_data): Likewise.
12588 (remainder_upward_test_data): Likewise.
12589 (remquo_test_data): Likewise.
12590 (rint_test_data): Likewise.
12591 (rint_tonearest_test_data): Likewise.
12592 (rint_towardzero_test_data): Likewise.
12593 (rint_downward_test_data): Likewise.
12594 (rint_upward_test_data): Likewise.
12595 (round_test_data): Likewise.
12596 (scalb_test_data): Likewise.
12597 (scalbn_test_data): Likewise.
12598 (scalbln_test_data): Likewise.
12599 (signbit_test_data): Likewise.
12600 (sin_test_data): Likewise.
12601 (sin_tonearest_test_data): Likewise.
12602 (sin_towardzero_test_data): Likewise.
12603 (sin_downward_test_data): Likewise.
12604 (sin_upward_test_data): Likewise.
12605 (sincos_test_data): Likewise.
12606 (sinh_test_data): Likewise.
12607 (sinh_tonearest_test_data): Likewise.
12608 (sinh_towardzero_test_data): Likewise.
12609 (sinh_downward_test_data): Likewise.
12610 (sinh_upward_test_data): Likewise.
12611 (sqrt_test_data): Likewise.
12612 (tan_test_data): Likewise.
12613 (tan_tonearest_test_data): Likewise.
12614 (tan_towardzero_test_data): Likewise.
12615 (tan_downward_test_data): Likewise.
12616 (tan_upward_test_data): Likewise.
12617 (tanh_test_data): Likewise.
12618 (tgamma_test_data): Likewise.
12619 (trunc_test_data): Likewise.
12620 (y0_test_data): Likewise.
12621 (y1_test_data): Likewise.
12622 (yn_test_data): Likewise.
12623 (significand_test_data): Likewise.
12625 * math/gen-libm-test.pl (@functions): Remove variable.
12626 (generate_testfile): Don't handle START and END lines.
12627 * math/libm-test.inc (START): New macro.
12629 (END_COMPLEX): Likewise.
12630 (acos_test): Use END macro without arguments.
12631 (acos_test_tonearest): Likewise.
12632 (acos_test_towardzero): Likewise.
12633 (acos_test_downward): Likewise.
12634 (acos_test_upward): Likewise.
12635 (acosh_test): Likewise.
12636 (asin_test): Likewise.
12637 (asin_test_tonearest): Likewise.
12638 (asin_test_towardzero): Likewise.
12639 (asin_test_downward): Likewise.
12640 (asin_test_upward): Likewise.
12641 (asinh_test): Likewise.
12642 (atan_test): Likewise.
12643 (atanh_test): Likewise.
12644 (atan2_test): Likewise.
12645 (cabs_test): Likewise.
12646 (cacos_test): Use END_COMPLEX macro without arguments.
12647 (cacosh_test): Likewise.
12648 (carg_test): Use END macro without arguments.
12649 (casin_test): Use END_COMPLEX macro without arguments.
12650 (casinh_test): Likewise.
12651 (catan_test): Likewise.
12652 (catanh_test): Likewise.
12653 (cbrt_test): Use END macro without arguments.
12654 (ccos_test): Use END_COMPLEX macro without arguments.
12655 (ccosh_test): Likewise.
12656 (ceil_test): Use END macro without arguments.
12657 (cexp_test): Use END_COMPLEX macro without arguments.
12658 (cimag_test): Use END macro without arguments.
12659 (clog_test): Use END_COMPLEX macro without arguments.
12660 (clog10_test): Likewise.
12661 (conj_test): Likewise.
12662 (copysign_test): Use END macro without arguments.
12663 (cos_test): Likewise.
12664 (cos_test_tonearest): Likewise.
12665 (cos_test_towardzero): Likewise.
12666 (cos_test_downward): Likewise.
12667 (cos_test_upward): Likewise.
12668 (cosh_test): Likewise.
12669 (cosh_test_tonearest): Likewise.
12670 (cosh_test_towardzero): Likewise.
12671 (cosh_test_downward): Likewise.
12672 (cosh_test_upward): Likewise.
12673 (cpow_test): Use END_COMPLEX macro without arguments.
12674 (cproj_test): Likewise.
12675 (creal_test): Use END macro without arguments.
12676 (csin_test): Use END_COMPLEX macro without arguments.
12677 (csinh_test): Likewise.
12678 (csqrt_test): Likewise.
12679 (ctan_test): Likewise.
12680 (ctan_test_tonearest): Likewise.
12681 (ctan_test_towardzero): Likewise.
12682 (ctan_test_downward): Likewise.
12683 (ctan_test_upward): Likewise.
12684 (ctanh_test): Likewise.
12685 (ctanh_test_tonearest): Likewise.
12686 (ctanh_test_towardzero): Likewise.
12687 (ctanh_test_downward): Likewise.
12688 (ctanh_test_upward): Likewise.
12689 (erf_test): Use END macro without arguments.
12690 (erfc_test): Likewise.
12691 (exp_test): Likewise.
12692 (exp_test_tonearest): Likewise.
12693 (exp_test_towardzero): Likewise.
12694 (exp_test_downward): Likewise.
12695 (exp_test_upward): Likewise.
12696 (exp10_test): Likewise.
12697 (exp2_test): Likewise.
12698 (expm1_test): Likewise.
12699 (fabs_test): Likewise.
12700 (fdim_test): Likewise.
12701 (finite_test): Likewise.
12702 (floor_test): Likewise.
12703 (fma_test): Likewise.
12704 (fma_test_towardzero): Likewise.
12705 (fma_test_downward): Likewise.
12706 (fma_test_upward): Likewise.
12707 (fmax_test): Likewise.
12708 (fmin_test): Likewise.
12709 (fmod_test): Likewise.
12710 (fpclassify_test): Likewise.
12711 (frexp_test): Likewise.
12712 (gamma_test): Likewise.
12713 (hypot_test): Likewise.
12714 (ilogb_test): Likewise.
12715 (isfinite_test): Likewise.
12716 (isgreater_test): Likewise.
12717 (isgreaterequal_test): Likewise.
12718 (isinf_test): Likewise.
12719 (isless_test): Likewise.
12720 (islessequal_test): Likewise.
12721 (islessgreater_test): Likewise.
12722 (isnan_test): Likewise.
12723 (isnormal_test): Likewise.
12724 (issignaling_test): Likewise.
12725 (isunordered_test): Likewise.
12726 (j0_test): Likewise.
12727 (j1_test): Likewise.
12728 (jn_test): Likewise.
12729 (ldexp_test): Likewise.
12730 (lgamma_test): Likewise.
12731 (lrint_test): Likewise.
12732 (lrint_test_tonearest): Likewise.
12733 (lrint_test_towardzero): Likewise.
12734 (lrint_test_downward): Likewise.
12735 (lrint_test_upward): Likewise.
12736 (llrint_test): Likewise.
12737 (llrint_test_tonearest): Likewise.
12738 (llrint_test_towardzero): Likewise.
12739 (llrint_test_downward): Likewise.
12740 (llrint_test_upward): Likewise.
12741 (log_test): Likewise.
12742 (log10_test): Likewise.
12743 (log1p_test): Likewise.
12744 (log2_test): Likewise.
12745 (logb_test): Likewise.
12746 (logb_test_downward): Likewise.
12747 (lround_test): Likewise.
12748 (llround_test): Likewise.
12749 (modf_test): Likewise.
12750 (nearbyint_test): Likewise.
12751 (nextafter_test): Likewise.
12752 (nexttoward_test): Likewise.
12753 (pow_test): Likewise.
12754 (pow_test_tonearest): Likewise.
12755 (pow_test_towardzero): Likewise.
12756 (pow_test_downward): Likewise.
12757 (pow_test_upward): Likewise.
12758 (remainder_test): Likewise.
12759 (remainder_test_tonearest): Likewise.
12760 (remainder_test_towardzero): Likewise.
12761 (remainder_test_downward): Likewise.
12762 (remainder_test_upward): Likewise.
12763 (remquo_test): Likewise.
12764 (rint_test): Likewise.
12765 (rint_test_tonearest): Likewise.
12766 (rint_test_towardzero): Likewise.
12767 (rint_test_downward): Likewise.
12768 (rint_test_upward): Likewise.
12769 (round_test): Likewise.
12770 (scalb_test): Likewise.
12771 (scalbn_test): Likewise.
12772 (scalbln_test): Likewise.
12773 (signbit_test): Likewise.
12774 (sin_test): Likewise.
12775 (sin_test_tonearest): Likewise.
12776 (sin_test_towardzero): Likewise.
12777 (sin_test_downward): Likewise.
12778 (sin_test_upward): Likewise.
12779 (sincos_test): Likewise.
12780 (sinh_test): Likewise.
12781 (sinh_test_tonearest): Likewise.
12782 (sinh_test_towardzero): Likewise.
12783 (sinh_test_downward): Likewise.
12784 (sinh_test_upward): Likewise.
12785 (sqrt_test): Likewise.
12786 (tan_test): Likewise.
12787 (tan_test_tonearest): Likewise.
12788 (tan_test_towardzero): Likewise.
12789 (tan_test_downward): Likewise.
12790 (tan_test_upward): Likewise.
12791 (tanh_test): Likewise.
12792 (tgamma_test): Likewise.
12793 (trunc_test): Likewise.
12794 (y0_test): Likewise.
12795 (y1_test): Likewise.
12796 (yn_test): Likewise.
12797 (significand_test): Likewise.
12799 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12802 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12804 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12807 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12808 __ppc_mdoio and __ppc_mdoom.
12809 * manual/platform.texi: Document new functions __ppc_yield,
12810 __ppc_mdoio and __ppc_mdoom.
12812 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12814 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12815 (main): Mention "tls" pseudo-hwcap is legacy.
12816 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12818 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12820 * math/gen-libm-test.pl (parse_args): Output only string of
12821 arguments as text for test name, not full call or descriptions of
12822 tests for extra outputs.
12823 (generate_testfile): Do not pass function name to parse_args.
12824 Generate this_func variable from START.
12825 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12827 (struct test_ff_f_data): Likewise.
12828 (test_ff_f_data_nexttoward): Likewise.
12829 (struct test_fi_f_data): Likewise.
12830 (struct test_fl_f_data): Likewise.
12831 (struct test_if_f_data): Likewise.
12832 (struct test_fff_f_data): Likewise.
12833 (struct test_c_f_data): Likewise.
12834 (struct test_f_f1_data): Likewise. Remove field extra_name.
12835 (struct test_fF_f1_data): Likewise.
12836 (struct test_ffI_f1_data): Likewise.
12837 (struct test_c_c_data): Rename test_name field to arg_str.
12838 (struct test_cc_c_data): Likewise.
12839 (struct test_f_i_data): Likewise.
12840 (struct test_ff_i_data): Likewise.
12841 (struct test_f_l_data): Likewise.
12842 (struct test_f_L_data): Likewise.
12843 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12845 (COMMON_TEST_SETUP): New macro.
12846 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12847 (COMMON_TEST_CLEANUP): Likewise.
12848 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12849 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12851 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12852 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12854 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12855 (RUN_TEST_fff_f): Take argument string. Call new setup and
12857 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12858 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12860 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12861 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12863 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12864 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12866 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12867 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12869 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12870 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12872 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12873 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12875 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12876 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12878 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12879 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12881 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12882 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12884 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12885 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12887 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12888 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12890 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12891 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12893 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12894 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12896 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12897 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12899 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12900 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12902 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12904 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12906 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12907 to _sifields.sigfault.
12908 (si_addr_lsb): Define new macro.
12909 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12911 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12913 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12916 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12918 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12920 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12921 loading the domain.
12923 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12925 * math/gen-libm-test.pl (parse_args): Do not include expected
12926 result in test name.
12927 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12928 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12929 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12930 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12931 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12934 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12936 * benchtests/Makefile: Sort function entries.
12938 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12939 tanh, asinh, acosh, atanh.
12940 * benchtests/acos-inputs: New file.
12941 * benchtests/acosh-inputs: New file.
12942 * benchtests/asin-inputs: New file.
12943 * benchtests/asinh-inputs: New file.
12944 * benchtests/atanh-inputs: New file.
12945 * benchtests/cosh-inputs: New file.
12946 * benchtests/log-inputs: New file.
12947 * benchtests/sinh-inputs: New file.
12948 * benchtests/tanh-inputs: New file.
12950 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12953 * posix/tst-getaddrinfo4.c: New test.
12954 * posix/Makefile (tests): Add it.
12956 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12959 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12960 when no services were used.
12961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12962 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12964 2013-05-21 Andreas Schwab <schwab@suse.de>
12967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12968 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12970 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12971 redundant variable declarations and reallocation of buffer when
12972 parsing as IPv6 address. Always set NSS status when called from
12973 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12974 buffer too small. Correct computation of needed size.
12975 * nss/Makefile (tests): Add test-digits-dots.
12976 * nss/test-digits-dots.c: New test.
12978 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12980 * benchtests/Makefile: Remove instructions for adding
12982 * benchtests/README: New file to explain how to execute and
12983 enhance the benchmark tests.
12985 2013-05-21 Andreas Schwab <schwab@suse.de>
12988 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12989 * setjmp/tst-sigsetjmp.c: New test.
12991 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12993 * sysdeps/x86_64/memset.S (memset): New implementation.
12994 (__bzero): Likewise.
12995 (__memset_tail): New function.
12997 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12999 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13000 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13001 __memcpy_sse2_unaligned ifunc selection.
13002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13003 Add memcpy-sse2-unaligned.S.
13004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13005 Add: __memcpy_sse2_unaligned.
13007 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13010 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13011 math_force_eval before restoring floating-point envrionment.
13012 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13015 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13017 (__nearbyintl): Use math_force_eval before restoring
13018 floating-point environment.
13019 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13021 * math/gen-libm-test.pl (special_functions): Remove.
13022 (parse_args): Don't handle TEST_extra. Handle functions with no
13024 * math/libm-test.inc (struct test_sincos_data): Replace with
13025 struct test_fFF_11_data.
13026 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13027 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13028 (sincos_test_data): Change element type to struct
13029 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13030 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13031 RUN_TEST_LOOP_sincos.
13032 * math/README.libm-test: Don't mention special handling of
13033 individual functions.
13034 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13036 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13037 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13038 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13041 * math/gen-libm-test.pl (get_variable): Remove function.
13042 (parse_args): Don't show pointer parameters to call in test
13043 names. Use "extra output N" in test names for extra outputs
13044 rather than naming variables.
13046 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13049 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13050 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13051 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13053 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13055 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13058 * math/gen-libm-test.pl (@tests): Remove variable.
13059 ($count): Likewise.
13060 (new_test): Remove function.
13061 (show_exceptions): New function.
13062 (special_functions): Use show_exceptions instead of new_test.
13063 (parse_args): Likewise.
13064 (generate_testfile): Pass only function name in generated call to
13065 print_max_error or print_complex_max_error.
13066 (get_ulps): Do not handle complex tests specially.
13067 (output_test): Rename to ...
13068 (get_all_ulps_for_test): ... this. Return a string rather than
13069 printing to a file. Require ulps to be present.
13070 (output_ulps): Generate arrays rather than #defines.
13071 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13072 (struct ulp_data): New type.
13073 (BUILD_COMPLEX_ULP): Remove macro.
13074 (compare_ulp_data): New function.
13075 (find_ulps): Likewise.
13076 (find_test_ulps): Likewise.
13077 (find_function_ulps): Likewise.
13078 (find_complex_function_ulps): Likewise.
13079 (print_max_error): Determine allowed ulps using
13080 find_function_ulps.
13081 (print_complex_max_error): Determine allowed ulps using
13082 find_complex_function_ulps.
13083 (check_float_internal): Determine max ulps using find_test_ulps.
13084 (check_float): Do not take max_ulp parameter. Update call to
13085 check_float_internal.
13086 (check_complex): Likewise.
13087 (check_int): Do not take max_ulp parameter.
13088 (check_long): Likewise.
13089 (check_bool): Likewise.
13090 (check_longlong): Likewise.
13091 (struct test_f_f_data): Remove max_ulp field.
13092 (struct test_ff_f_data): Likewise.
13093 (struct test_ff_f_data_nexttoward): Likewise.
13094 (struct test_fi_f_data): Likewise.
13095 (struct test_fl_f_data): Likewise.
13096 (struct test_if_f_data): Likewise.
13097 (struct test_fff_f_data): Likewise.
13098 (struct test_c_f_data): Likewise.
13099 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13100 (struct test_fF_f1_data): Likewise.
13101 (struct test_ffI_f1_data): Likewise.
13102 (struct test_c_c_data): Remove max_ulp field.
13103 (struct test_cc_c_data): Likewise.
13104 (struct test_f_i_data): Likewise.
13105 (struct test_ff_i_data): Likewise.
13106 (struct test_f_l_data): Likewise.
13107 (struct test_f_L_data): Likewise.
13108 (struct test_sincos_data): Likewise.
13109 (RUN_TEST_f_f): Do not handle ulps.
13110 (RUN_TEST_LOOP_f_f): Likewise.
13111 (RUN_TEST_2_f): Likewise.
13112 (RUN_TEST_LOOP_2_f): Likewise.
13113 (RUN_TEST_fff_f): Likewise.
13114 (RUN_TEST_LOOP_fff_f): Likewise.
13115 (RUN_TEST_c_f): Likewise.
13116 (RUN_TEST_LOOP_c_f): Likewise.
13117 (RUN_TEST_f_f1): Likewise.
13118 (RUN_TEST_LOOP_f_f1): Likewise.
13119 (RUN_TEST_fF_f1): Likewise.
13120 (RUN_TEST_LOOP_fF_f1): Likewise.
13121 (RUN_TEST_fI_f1): Likewise.
13122 (RUN_TEST_LOOP_fI_f1): Likewise.
13123 (RUN_TEST_ffI_f1): Likewise.
13124 (RUN_TEST_LOOP_ffI_f1): Likewise.
13125 (RUN_TEST_c_c): Likewise.
13126 (RUN_TEST_LOOP_c_c): Likewise.
13127 (RUN_TEST_cc_c): Likewise.
13128 (RUN_TEST_LOOP_cc_c): Likewise.
13129 (RUN_TEST_f_i): Likewise.
13130 (RUN_TEST_LOOP_f_i): Likewise.
13131 (RUN_TEST_f_i_tg): Likewise.
13132 (RUN_TEST_LOOP_f_i_tg): Likewise.
13133 (RUN_TEST_ff_i_tg): Likewise.
13134 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13135 (RUN_TEST_f_b): Likewise.
13136 (RUN_TEST_LOOP_f_b): Likewise.
13137 (RUN_TEST_f_b_tg): Likewise.
13138 (RUN_TEST_LOOP_f_b_tg): Likewise.
13139 (RUN_TEST_f_l): Likewise.
13140 (RUN_TEST_LOOP_f_l): Likewise.
13141 (RUN_TEST_f_L): Likewise.
13142 (RUN_TEST_LOOP_f_L): Likewise.
13143 (RUN_TEST_sincos): Likewise.
13144 (RUN_TEST_LOOP_sincos): Likewise.
13146 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13150 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13151 main case of finite arguments, set rounding mode to FE_TONEAREST
13152 and discard exceptions.
13153 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13155 (remainder_tonearest_test_data): New variable.
13156 (remainder_test_tonearest): New function.
13157 (remainder_towardzero_test_data): New variable.
13158 (remainder_test_towardzero): New function.
13159 (remainder_downward_test_data): New variable.
13160 (remainder_test_downward): New function.
13161 (remainder_upward_test_data): New variable.
13162 (remainder_test_upward): New function.
13163 (main): Call the new test functions.
13165 * math/libm-test.inc (struct test_f_f1_data): Remove field
13167 (struct test_fF_f1_data): Likewise.
13168 (struct test_ffI_f1_data): Likewise.
13169 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13170 based on value of EXTRA_EXPECTED.
13171 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13172 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13173 EXTRA_VAR based on value of EXTRA_EXPECTED.
13174 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13175 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13176 EXTRA_VAR based on value of EXTRA_EXPECTED.
13177 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13178 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13179 EXTRA_VAR based on value of EXTRA_EXPECTED.
13180 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13181 * math/gen-libm-test.pl (parse_args): Don't output initializers
13182 for extra output values.
13184 * math/libm-test.inc (check_int): Expect result to be exactly
13185 equal to expected value and do not handle ulps.
13186 (check_long): Likewise.
13187 (check_longlong): Likewise.
13189 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13191 (cimag_test_data): Likewise.
13192 (conj_test_data): Likewise.
13193 (copysign_test_data): Likewise.
13194 (cproj_test_data): Likewise.
13195 (creal_test_data): Likewise.
13196 (fabs_test_data): Likewise.
13197 (fdim_test_data): Likewise.
13198 (finite_test_data): Likewise.
13199 (floor_test_data): Likewise.
13200 (fmax_test_data): Likewise.
13201 (fmin_test_data): Likewise.
13202 (fmod_test_data): Likewise.
13203 (fpclassify_test_data): Likewise.
13204 (frexp_test_data): Likewise.
13205 (ilogb_test_data): Likewise.
13206 (isfinite_test_data): Likewise.
13207 (isgreater_test_data): Likewise.
13208 (isgreaterequal_test_data): Likewise.
13209 (isinf_test_data): Likewise.
13210 (isless_test_data): Likewise.
13211 (islessequal_test_data): Likewise.
13212 (islessgreater_test_data): Likewise.
13213 (isnan_test_data): Likewise.
13214 (isnormal_test_data): Likewise.
13215 (issignaling_test_data): Likewise.
13216 (isunordered_test_data): Likewise.
13217 (ldexp_test_data): Likewise.
13218 (lrint_test_data): Likewise.
13219 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13220 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13221 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13222 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13223 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13224 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13226 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13227 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13228 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13229 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13231 (lrint_downward_test_data): Test for "inexact" exceptions.
13232 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13233 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13234 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13236 (lrint_upward_test_data): Test for "inexact" exceptions.
13237 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13239 (llrint_test_data): Test for "inexact" exceptions.
13240 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13241 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13242 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13243 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13244 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13245 (llrint_downward_test_data): Test for "inexact" exceptions.
13246 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13247 (llrint_upward_test_data): Test for "inexact" exceptions.
13248 (logb_test_data): Likewise.
13249 (logb_downward_test_data): Likewise.
13250 (nextafter_test_data): Likewise.
13251 (nexttoward_test_data): Likewise.
13252 (remainder_test_data): Likewise.
13253 (remquo_test_data): Likewise.
13254 (scalbn_test_data): Likewise.
13255 (scalbln_test_data): Likewise.
13256 (signbit_test_data): Likewise.
13257 (sqrt_test_data): Likewise.
13258 (significand_test_data): Likewise.
13260 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13263 * benchtests/bench-modf.c (struct args): Mark arg0 as
13265 * scripts/bench.pl: Mark members of struct args as volatile.
13267 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13270 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13271 negative infinity on POWER6 or lower.
13272 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13274 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13277 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13278 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13279 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13280 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13281 (_FP_SETQNAN): New macro.
13282 (_FP_SETQNAN_SEMIRAW): Likewise.
13283 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13284 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13285 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13286 (FP_EXTEND): Use _FP_FRAC_SNANP.
13287 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13288 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13295 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13297 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13298 with DIVIDE_BY_ZERO_EXCEPTION.
13299 (gamma_test_data): Likewise.
13300 (lgamma_test_data): Likewise.
13301 (log_test_data): Likewise.
13302 (log10_test_data): Likewise.
13303 (log2_test_data): Likewise.
13304 (tgamma_test_data): Likewise.
13306 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13307 (acos_test_tonearest): Likewise.
13308 (acos_test_towardzero): Likewise.
13309 (acos_test_downward): Likewise.
13310 (acos_test_upward): Likewise.
13311 (acosh_test): Likewise.
13312 (asin_test): Likewise.
13313 (asin_test_tonearest): Likewise.
13314 (asin_test_towardzero): Likewise.
13315 (asin_test_downward): Likewise.
13316 (asin_test_upward): Likewise.
13317 (asinh_test): Likewise.
13318 (atan_test): Likewise.
13319 (atanh_test): Likewise.
13320 (atan2_test): Likewise.
13321 (cabs_test): Likewise.
13322 (cacos_test): Likewise.
13323 (cacosh_test): Likewise.
13324 (casin_test): Likewise.
13325 (casinh_test): Likewise.
13326 (catan_test): Likewise.
13327 (catanh_test): Likewise.
13328 (cbrt_test): Likewise.
13329 (ccos_test): Likewise.
13330 (ccosh_test): Likewise.
13331 (cexp_test): Likewise.
13332 (clog_test): Likewise.
13333 (clog10_test): Likewise.
13334 (cos_test): Likewise.
13335 (cos_test_tonearest): Likewise.
13336 (cos_test_towardzero): Likewise.
13337 (cos_test_downward): Likewise.
13338 (cos_test_upward): Likewise.
13339 (cosh_test): Likewise.
13340 (cosh_test_tonearest): Likewise.
13341 (cosh_test_towardzero): Likewise.
13342 (cosh_test_downward): Likewise.
13343 (cosh_test_upward): Likewise.
13344 (cpow_test): Likewise.
13345 (csin_test): Likewise.
13346 (csinh_test): Likewise.
13347 (csqrt_test): Likewise.
13348 (ctan_test): Likewise.
13349 (ctan_test_tonearest): Likewise.
13350 (ctan_test_towardzero): Likewise.
13351 (ctan_test_downward): Likewise.
13352 (ctan_test_upward): Likewise.
13353 (ctanh_test): Likewise.
13354 (ctanh_test_tonearest): Likewise.
13355 (ctanh_test_towardzero): Likewise.
13356 (ctanh_test_downward): Likewise.
13357 (ctanh_test_upward): Likewise.
13358 (erf_test): Likewise.
13359 (erfc_test): Likewise.
13360 (exp_test): Likewise.
13361 (exp_test_tonearest): Likewise.
13362 (exp_test_towardzero): Likewise.
13363 (exp_test_downward): Likewise.
13364 (exp_test_upward): Likewise.
13365 (exp10_test): Likewise.
13366 (exp2_test): Likewise.
13367 (expm1_test): Likewise.
13368 (fmod_test): Likewise.
13369 (gamma_test): Likewise.
13370 (hypot_test): Likewise.
13371 (j0_test): Likewise.
13372 (j1_test): Likewise.
13373 (jn_test): Likewise.
13374 (lgamma_test): Likewise.
13375 (log_test): Likewise.
13376 (log10_test): Likewise.
13377 (log1p_test): Likewise.
13378 (log2_test): Likewise.
13379 (logb_test_downward): Likewise.
13380 (pow_test): Likewise.
13381 (pow_test_tonearest): Likewise.
13382 (pow_test_towardzero): Likewise.
13383 (pow_test_downward): Likewise.
13384 (pow_test_upward): Likewise.
13385 (remainder_test): Likewise.
13386 (remquo_test): Likewise.
13387 (sin_test): Likewise.
13388 (sin_test_tonearest): Likewise.
13389 (sin_test_towardzero): Likewise.
13390 (sin_test_downward): Likewise.
13391 (sin_test_upward): Likewise.
13392 (sincos_test): Likewise.
13393 (sinh_test): Likewise.
13394 (sinh_test_tonearest): Likewise.
13395 (sinh_test_towardzero): Likewise.
13396 (sinh_test_downward): Likewise.
13397 (sinh_test_upward): Likewise.
13398 (sqrt_test): Likewise.
13399 (tan_test): Likewise.
13400 (tan_test_tonearest): Likewise.
13401 (tan_test_towardzero): Likewise.
13402 (tan_test_downward): Likewise.
13403 (tan_test_upward): Likewise.
13404 (tanh_test): Likewise.
13405 (tgamma_test): Likewise.
13406 (y0_test): Likewise.
13407 (y1_test): Likewise.
13408 (yn_test): Likewise.
13410 * math/gen-libm-test.pl (adjust_arg): Remove function.
13411 (special_function): Remove argument $in_func. Only handle
13412 generating output for tables of tests, not inside functions.
13413 (parse_args): Likewise.
13414 (generate_testfile): Remove variable $in_func. Update call to
13416 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13417 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13418 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13419 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13420 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13421 (MAX_VALUE_INIT): Rename macro to max_value.
13422 (MIN_VALUE_INIT): Rename macro to min_value.
13423 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13424 (plus_zero): Remove variable.
13425 (minus_zero): Likewise.
13426 (plus_infty): Likewise.
13427 (minus_infty): Likewise.
13428 (qnan_value): Likewise.
13429 (max_value): Likewise.
13430 (min_value): Likewise.
13431 (min_subnorm_value): Likewise.
13433 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13435 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13436 uint64_t or uint32_t usage.
13437 * crypt/sha256-block.c: Likewise.
13438 * crypt/sha256-crypt.c: Likewise.
13439 * crypt/sha256.c: Likewise.
13440 * crypt/sha512-block.c: Likewise.
13441 * crypt/sha512-crypt.c: Likewise.
13442 * crypt/sha512.c: Likewise.
13443 * debug/backtrace-tst.c: Likewise.
13444 * debug/pcprofiledump.c: Likewise.
13445 * elf/cache.c: Likewise.
13446 * elf/dl-cache.c: Likewise.
13447 * elf/dl-misc.c: Likewise.
13448 * elf/dl-profile.c: Likewise.
13449 * elf/dl-support.c: Likewise.
13450 * elf/ldconfig.c: Likewise.
13451 * elf/sprof.c: Likewise.
13452 * iconv/dummy-repertoire.c: Likewise.
13453 * iconv/iconv_charmap.c: Likewise.
13454 * iconv/skeleton.c: Likewise.
13455 * iconvdata/8bit-generic.c: Likewise.
13456 * iconvdata/cp737.h: Likewise.
13457 * iconvdata/cp775.h: Likewise.
13458 * iconvdata/ibm1008.h: Likewise.
13459 * iconvdata/ibm1025.h: Likewise.
13460 * iconvdata/ibm1046.h: Likewise.
13461 * iconvdata/ibm1097.h: Likewise.
13462 * iconvdata/ibm1112.h: Likewise.
13463 * iconvdata/ibm1122.h: Likewise.
13464 * iconvdata/ibm1123.h: Likewise.
13465 * iconvdata/ibm1124.h: Likewise.
13466 * iconvdata/ibm1129.h: Likewise.
13467 * iconvdata/ibm1130.h: Likewise.
13468 * iconvdata/ibm1132.h: Likewise.
13469 * iconvdata/ibm1133.h: Likewise.
13470 * iconvdata/ibm1137.h: Likewise.
13471 * iconvdata/ibm1140.h: Likewise.
13472 * iconvdata/ibm1141.h: Likewise.
13473 * iconvdata/ibm1142.h: Likewise.
13474 * iconvdata/ibm1143.h: Likewise.
13475 * iconvdata/ibm1144.h: Likewise.
13476 * iconvdata/ibm1145.h: Likewise.
13477 * iconvdata/ibm1146.h: Likewise.
13478 * iconvdata/ibm1147.h: Likewise.
13479 * iconvdata/ibm1148.h: Likewise.
13480 * iconvdata/ibm1149.h: Likewise.
13481 * iconvdata/ibm1153.h: Likewise.
13482 * iconvdata/ibm1154.h: Likewise.
13483 * iconvdata/ibm1155.h: Likewise.
13484 * iconvdata/ibm1156.h: Likewise.
13485 * iconvdata/ibm1157.h: Likewise.
13486 * iconvdata/ibm1158.h: Likewise.
13487 * iconvdata/ibm1160.h: Likewise.
13488 * iconvdata/ibm1161.h: Likewise.
13489 * iconvdata/ibm1162.h: Likewise.
13490 * iconvdata/ibm1163.h: Likewise.
13491 * iconvdata/ibm1164.h: Likewise.
13492 * iconvdata/ibm1166.h: Likewise.
13493 * iconvdata/ibm1167.h: Likewise.
13494 * iconvdata/ibm12712.h: Likewise.
13495 * iconvdata/ibm1390.h: Likewise.
13496 * iconvdata/ibm1399.h: Likewise.
13497 * iconvdata/ibm16804.h: Likewise.
13498 * iconvdata/ibm4517.h: Likewise.
13499 * iconvdata/ibm4899.h: Likewise.
13500 * iconvdata/ibm4909.h: Likewise.
13501 * iconvdata/ibm4971.h: Likewise.
13502 * iconvdata/ibm5347.h: Likewise.
13503 * iconvdata/ibm803.h: Likewise.
13504 * iconvdata/ibm856.h: Likewise.
13505 * iconvdata/ibm901.h: Likewise.
13506 * iconvdata/ibm902.h: Likewise.
13507 * iconvdata/ibm9030.h: Likewise.
13508 * iconvdata/ibm9066.h: Likewise.
13509 * iconvdata/ibm921.h: Likewise.
13510 * iconvdata/ibm922.h: Likewise.
13511 * iconvdata/ibm9448.h: Likewise.
13512 * iconvdata/isiri-3342.h: Likewise.
13513 * iconvdata/jis0201.h: Likewise.
13514 * include/link.h: Likewise.
13515 * include/netdb.h: Likewise.
13516 * inet/check_native.c: Likewise.
13517 * inet/check_pf.c: Likewise.
13518 * inet/getipv4sourcefilter.c: Likewise.
13519 * inet/getnameinfo.c: Likewise.
13520 * inet/getsourcefilter.c: Likewise.
13521 * inet/htonl.c: Likewise.
13522 * inet/setipv4sourcefilter.c: Likewise.
13523 * inet/setsourcefilter.c: Likewise.
13524 * inet/test-inet6_opt.c: Likewise.
13525 * inet/tst-network.c: Likewise.
13526 * locale/C-collate.c: Likewise.
13527 * locale/C-ctype.c: Likewise.
13528 * locale/C-time.c: Likewise.
13529 * locale/C-translit.h: Likewise.
13530 * locale/loadarchive.c: Likewise.
13531 * locale/programs/3level.h: Likewise.
13532 * locale/programs/charmap.c: Likewise.
13533 * locale/programs/charmap.h: Likewise.
13534 * locale/programs/ld-address.c: Likewise.
13535 * locale/programs/ld-collate.c: Likewise.
13536 * locale/programs/ld-ctype.c: Likewise.
13537 * locale/programs/ld-identification.c: Likewise.
13538 * locale/programs/ld-measurement.c: Likewise.
13539 * locale/programs/ld-messages.c: Likewise.
13540 * locale/programs/ld-monetary.c: Likewise.
13541 * locale/programs/ld-name.c: Likewise.
13542 * locale/programs/ld-numeric.c: Likewise.
13543 * locale/programs/ld-paper.c: Likewise.
13544 * locale/programs/ld-telephone.c: Likewise.
13545 * locale/programs/ld-time.c: Likewise.
13546 * locale/programs/linereader.c: Likewise.
13547 * locale/programs/locale.c: Likewise.
13548 * locale/programs/locarchive.c: Likewise.
13549 * locale/programs/locfile.h: Likewise.
13550 * locale/programs/repertoire.c: Likewise.
13551 * locale/programs/simple-hash.c: Likewise.
13552 * locale/programs/simple-hash.h: Likewise.
13553 * malloc/memusage.c: Likewise.
13554 * malloc/memusagestat.c: Likewise.
13555 * nis/nis_defaults.c: Likewise.
13556 * nis/nis_hash.c: Likewise.
13557 * nis/nis_print.c: Likewise.
13558 * nis/nis_xdr.c: Likewise.
13559 * nscd/connections.c: Likewise.
13560 * nscd/hstcache.c: Likewise.
13561 * nscd/nscd_gethst_r.c: Likewise.
13562 * nscd/nscd_getserv_r.c: Likewise.
13563 * nscd/nscd_helper.c: Likewise.
13564 * nscd/servicescache.c: Likewise.
13565 * nss/makedb.c: Likewise.
13566 * nss/nss_db/db-XXX.c: Likewise.
13567 * nss/nss_db/db-initgroups.c: Likewise.
13568 * nss/nss_db/db-netgrp.c: Likewise.
13569 * nss/nss_files/files-network.c: Likewise.
13570 * nss/nss_files/files-parse.c: Likewise.
13571 * posix/bug-regex5.c: Likewise.
13572 * posix/fnmatch_loop.c: Likewise.
13573 * posix/regcomp.c: Likewise.
13574 * posix/regexec.c: Likewise.
13575 * posix/tst-rfc3484-2.c: Likewise.
13576 * posix/tst-rfc3484-3.c: Likewise.
13577 * posix/tst-rfc3484.c: Likewise.
13578 * resolv/nss_dns/dns-canon.c: Likewise.
13579 * resolv/nss_dns/dns-network.c: Likewise.
13580 * resolv/res_init.c: Likewise.
13581 * resolv/res_mkquery.c: Likewise.
13582 * resolv/tst-aton.c: Likewise.
13583 * stdlib/cxa_atexit.c: Likewise.
13584 * stdlib/cxa_finalize.c: Likewise.
13585 * stdlib/gen-fpioconst.c: Likewise.
13586 * stdlib/strtol_l.c: Likewise.
13587 * string/tst-endian.c: Likewise.
13588 * sunrpc/auth_des.c: Likewise.
13589 * sunrpc/clnt_udp.c: Likewise.
13590 * sunrpc/rtime.c: Likewise.
13591 * sunrpc/svcauth_des.c: Likewise.
13592 * sunrpc/xdr.c: Likewise.
13593 * sunrpc/xdr_intXX_t.c: Likewise.
13594 * sunrpc/xdr_rec.c: Likewise.
13595 * sysdeps/generic/ldconfig.h: Likewise.
13596 * sysdeps/generic/ldsodefs.h: Likewise.
13597 * sysdeps/generic/memusage.h: Likewise.
13598 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13608 * sysdeps/posix/getaddrinfo.c: Likewise.
13609 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13610 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13611 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13612 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13613 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13614 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13615 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13616 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13617 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13618 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13619 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13620 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13621 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13622 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13623 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13624 * sysdeps/x86_64/dl-tls.h: Likewise.
13625 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13626 * time/alt_digit.c: Likewise.
13627 * time/era.c: Likewise.
13628 * wcsmbs/tst-c16c32-1.c: Likewise.
13630 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13632 * math/libm-test.inc (struct test_sincos_data): New type.
13633 (RUN_TEST_LOOP_sincos): New macro.
13634 (sincos_test_data): New variable.
13635 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13637 2013-05-16 Richard Henderson <rth@redhat.com>
13639 * math/atest-exp2.c (LIMB64): New macro.
13640 (CONSTSZ): New macro.
13641 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13643 (print_mpn_fp): ... to function scope.
13644 (read_mpn_hex): Remove.
13645 (get_log2): Remove.
13646 (exp2_mpn): Use mp_log2.
13647 (main): Use mp_exp1.
13649 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13651 * math/libm-test.inc: Remove comment about not testing "inexact"
13653 (INEXACT_EXCEPTION): New macro.
13654 (NO_INEXACT_EXCEPTION): Likewise.
13655 (INVALID_EXCEPTION_OK): Update value.
13656 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13657 (OVERFLOW_EXCEPTION_OK): Likewise.
13658 (UNDERFLOW_EXCEPTION_OK): Likewise.
13659 (IGNORE_ZERO_INF_SIGN): Likewise.
13660 (ERRNO_UNCHANGED): Likewise.
13661 (ERRNO_EDOM): Likewise.
13662 (ERRNO_ERANGE): Likewise.
13663 (test_exceptions): Handle testing "inexact" exceptions.
13664 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13665 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13666 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13667 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13669 (rint_towardzero_test_data): Likewise.
13670 (rint_downward_test_data): Likewise.
13671 (rint_upward_test_data): Likewise.
13673 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13674 with OVERFLOW_EXCEPTION.
13675 (exp10_test_data): Likewise.
13676 (exp2_test_data): Likewise.
13677 (expm1_test_data): Likewise.
13678 (lgamma_test_data): Likewise.
13679 (pow_test_data): Likewise.
13680 (tgamma_test_data): Likewise.
13681 (yn_test_data): Remove duplicate test of overflow.
13683 * math/libm-test.inc (struct test_cc_c_data): New type.
13684 (RUN_TEST_LOOP_cc_c): New macro.
13685 (cpow_test_data): New variable.
13686 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13688 * math/libm-test.inc (struct test_f_L_data): New type.
13689 (RUN_TEST_LOOP_f_L): New macro.
13690 (llrint_test_data): New variable.
13691 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13692 (llrint_tonearest_test_data): New variable.
13693 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13694 (llrint_towardzero_test_data): New variable.
13695 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13696 (llrint_downward_test_data): New variable.
13697 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13698 (llrint_upward_test_data): New variable.
13699 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13700 (llround_test_data): New variable.
13701 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13703 2013-05-13 Peter Collingbourne <pcc@google.com>
13705 * math/atest-exp2.c (get_log2): Remove const attribute.
13707 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13709 * math/libm-test.inc (struct test_f_l_data): New type.
13710 (RUN_TEST_LOOP_f_l): New macro.
13711 (lrint_test_data): New variable.
13712 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13713 (lrint_tonearest_test_data): New variable.
13714 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13715 (lrint_towardzero_test_data): New variable.
13716 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13717 (lrint_downward_test_data): New variable.
13718 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13719 (lrint_upward_test_data): New variable.
13720 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13721 (lround_test_data): New variable.
13722 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13724 2013-05-15 Peter Collingbourne <pcc@google.com>
13726 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13727 (EXTRACT_WORDS64) Use where appropriate.
13728 (INSERT_WORDS64) Likewise.
13730 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13731 constraints with x constraints.
13732 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13734 * malloc/obstack.c (_obstack_compat): Add initializer.
13736 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13738 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13739 si_trapno and add si_addr_lsb to _sifields.sigfault.
13740 (si_trapno): Remove macro.
13741 (si_addr_lsb): Define new macro.
13742 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13744 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13746 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13747 instead of TEST_f_l.
13748 (llrint_test_tonearest): Likewise.
13749 (llrint_test_towardzero): Likewise.
13750 (llrint_test_downward): Likewise.
13751 (llrint_test_upward): Likewise.
13752 (llround_test): Likewise.
13754 * math/libm-test.inc (struct test_f_i_data): Add comment.
13755 (RUN_TEST_LOOP_f_b): New macro.
13756 (RUN_TEST_LOOP_f_b_tg): Likewise.
13757 (finite_test_data): New variable.
13758 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13759 (isfinite_test_data): New variable.
13760 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13761 (isinf_test_data): New variable.
13762 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13763 (isnan_test_data): New variable.
13764 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13765 (isnormal_test_data): New variable.
13766 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13767 (issignaling_test_data): New variable.
13768 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13769 (signbit_test_data): New variable.
13770 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13772 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13773 with INVALID_EXCEPTION.
13774 (acosh_test_data): Likewise.
13775 (asin_test_data): Likewise.
13776 (atanh_test_data): Likewise.
13777 (fmod_test_data): Likewise.
13778 (log_test_data): Likewise.
13779 (log10_test_data): Likewise.
13780 (log2_test_data): Likewise.
13781 (pow_test_data): Likewise.
13782 (sqrt_test_data): Likewise.
13783 (y0_test_data): Likewise.
13784 (y1_test_data): Likewise.
13785 (yn_test_data): Likewise.
13787 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13790 * math/libm-test.inc (struct test_ff_i_data): New type.
13791 (RUN_TEST_LOOP_ff_i_tg): New macro.
13792 (isgreater_test_data): New variable.
13793 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13794 (isgreaterequal_test_data): New variable.
13795 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13796 (isless_test_data): New variable.
13797 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13798 (islessequal_test_data): New variable.
13799 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13800 (islessgreater_test_data): New variable.
13801 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13802 (isunordered_test_data): New variable.
13803 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13805 2013-05-14 David S. Miller <davem@davemloft.net>
13807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13809 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13811 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13813 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13815 (struct test_f_i_data): Change type of max_ulp to int.
13817 * math/libm-test.inc (test_ffI_f1_data): New type.
13818 (RUN_TEST_LOOP_ffI_f1): New macro.
13819 (remquo_test_data): New variable.
13820 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13822 * setjmp/tst-setjmp-fp.c: New file.
13823 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13824 (link-libm): New variable.
13825 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13827 * math/libm-test.inc (struct test_f_i_data): New type.
13828 (RUN_TEST_LOOP_f_i): New macro.
13829 (RUN_TEST_LOOP_f_i_tg): Likewise.
13830 (fpclassify_test_data): New variable.
13831 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13832 (ilogb_test_data): New variable.
13833 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13835 * math/libm-test.inc (scalbln_test): Correct function name in END
13838 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13839 (RUN_TEST_LOOP_fI_f1): New macro.
13840 (frexp_test_data): New variable.
13841 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13843 * math/libm-test.inc (struct test_fF_f1_data): New type.
13844 (RUN_TEST_LOOP_fF_f1): New macro.
13845 (modf_test_data): New variable.
13846 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13848 * math/libm-test.inc (struct test_f_f1_data): New type.
13849 (RUN_TEST_LOOP_f_f1): New macro.
13850 (gamma_test_data): New variable.
13851 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13852 (lgamma_test_data): New variable.
13853 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13855 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13857 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13858 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13859 (main): Comment "tls" pseudo-hwcap.
13861 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13863 * math/libm-test.inc (struct test_fl_f_data): New type.
13864 (RUN_TEST_LOOP_fl_f): New variable.
13865 (scalbln_test_data): New variable.
13866 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13868 * math/libm-test.inc (struct test_fi_f_data): New type.
13869 (RUN_TEST_LOOP_fi_f): New macro.
13870 (ldexp_test_data): New variable.
13871 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13872 (scalbn_test_data): New variable.
13873 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13875 * math/libm-test.inc (struct test_c_f_data): New type.
13876 (RUN_TEST_LOOP_c_f): New macro.
13877 (cabs_test_data): New variable.
13878 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13879 (carg_test_data): New variable.
13880 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13881 (cimag_test_data): New variable.
13882 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13883 (creal_test_data): New variable.
13884 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13886 * math/libm-test.inc (struct test_if_f_data): New type.
13887 (RUN_TEST_LOOP_if_f): New macro.
13888 (jn_test_data): New variable.
13889 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13890 (yn_test_data): New variable.
13891 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13893 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13895 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13897 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13898 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13900 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13902 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13903 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13904 (bench-deps): Add bench-timing.h.
13905 * benchtests-bench-skeleton.c: Include bench-timing.h.
13906 (main): Use TIMING_* macros instead of clock_gettime.
13907 * benchtests/bench-timing.h: New file.
13910 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13911 Renamed from _LIB_VERSION.
13912 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13914 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13916 * math/libm-test.inc (struct test_fff_f_data): New type.
13917 (RUN_TEST_LOOP_fff_f): New macro.
13918 (fma_test_data): New variable.
13919 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13920 (fma_towardzero_test_data): New variable.
13921 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13922 (fma_downward_test_data): New variable.
13923 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13924 (fma_upward_test_data): New variable.
13925 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13927 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13928 (struct test_c_c_data): New type.
13929 (RUN_TEST_LOOP_c_c): New macro.
13930 (cacos_test_data): New variable.
13931 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13932 (cacosh_test_data): New variable.
13933 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13934 (casin_test_data): New variable.
13935 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13936 (casinh_test_data): New variable.
13937 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13938 (catan_test_data): New variable.
13939 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13940 (catanh_test_data): New variable.
13941 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13942 (ccos_test_data): New variable.
13943 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13944 (ccosh_test_data): New variable.
13945 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13946 (cexp_test_data): New variable.
13947 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13948 (clog_test_data): New variable.
13949 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13950 (clog10_test_data): New variable.
13951 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13952 (conj_test_data): New variable.
13953 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13954 (cproj_test_data): New variable.
13955 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13956 (csin_test_data): New variable.
13957 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13958 (csinh_test_data): New variable.
13959 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13960 (csqrt_test_data): New variable.
13961 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13962 (ctan_test_data): New variable.
13963 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13964 (ctan_tonearest_test_data): New variable.
13965 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13966 (ctan_towardzero_test_data): New variable.
13967 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13968 (ctan_downward_test_data): New variable.
13969 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13970 (ctan_upward_test_data): New variable.
13971 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13972 (ctanh_test_data): New variable.
13973 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13974 (ctanh_tonearest_test_data): New variable.
13975 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13976 (ctanh_towardzero_test_data): New variable.
13977 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13978 (ctanh_downward_test_data): New variable.
13979 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13980 (ctanh_upward_test_data): New variable.
13981 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13982 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13985 * math/libm-test.inc (struct test_ff_f_data): New type.
13986 (struct test_ff_f_data_nexttoward): Likewise.
13987 (RUN_TEST_LOOP_2_f): New macro.
13988 (RUN_TEST_LOOP_ff_f): Likewise.
13989 (atan2_test_data): New variable.
13990 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13991 (copysign_test_data): New variable.
13992 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13993 (fdim_test_data): New variable.
13994 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13995 (fmax_test_data): New variable.
13996 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13997 (fmin_test_data): New variable.
13998 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13999 (fmod_test_data): New variable.
14000 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14001 (hypot_test_data): New variable.
14002 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14003 (nextafter_test_data): New variable.
14004 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14005 (nexttoward_test_data): New variable.
14006 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14007 (pow_test_data): New variable.
14008 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14009 (pow_tonearest_test_data): New variable.
14010 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14011 (pow_towardzero_test_data): New variable.
14012 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14013 (pow_downward_test_data): New variable.
14014 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14015 (pow_upward_test_data): New variable.
14016 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14017 (remainder_test_data): New variable.
14018 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14019 (scalb_test_data): New variable.
14020 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14021 * sysdeps/i386/fpu/libm-test-ulps: Update.
14023 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14025 * math/libm-test.inc (fma_test): Use max_value instead of local
14027 (nextafter_test): Likewise.
14029 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14030 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14031 (acos_downward_test_data): New variable.
14032 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14033 (acos_upward_test_data): New variable.
14034 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14035 (acosh_test_data): New variable.
14036 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14037 (asin_test_data): New variable.
14038 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14039 (asin_tonearest_test_data): New variable.
14040 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14041 (asin_towardzero_test_data): New variable.
14042 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14043 (asin_downward_test_data): New variable.
14044 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14045 (asin_upward_test_data): New variable.
14046 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14047 (asinh_test_data): New variable.
14048 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14049 (atan_test_data): New variable.
14050 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14051 (atanh_test_data): New variable.
14052 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14053 (cbrt_test_data): New variable.
14054 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14055 (ceil_test_data): New variable.
14056 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14057 (cos_test_data): New variable.
14058 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14059 (cos_tonearest_test_data): New variable.
14060 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14061 (cos_towardzero_test_data): New variable.
14062 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14063 (cos_downward_test_data): New variable.
14064 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14065 (cos_upward_test_data): New variable.
14066 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14067 (cosh_test_data): New variable.
14068 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14069 (cosh_tonearest_test_data): New variable.
14070 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14071 (cosh_towardzero_test_data): New variable.
14072 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14073 (cosh_downward_test_data): New variable.
14074 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14075 (cosh_upward_test_data): New variable.
14076 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14077 (erf_test_data): New variable.
14078 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14079 (erfc_test_data): New variable.
14080 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14081 (exp_test_data): New variable.
14082 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14083 (exp_tonearest_test_data): New variable.
14084 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14085 (exp_towardzero_test_data): New variable.
14086 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14087 (exp_downward_test_data): New variable.
14088 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14089 (exp_upward_test_data): New variable.
14090 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14091 (exp10_test_data): New variable.
14092 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14093 (exp2_test_data): New variable.
14094 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14095 (expm1_test_data): New variable.
14096 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14097 (fabs_test_data): New variable.
14098 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14099 (floor_test_data): New variable.
14100 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14101 (j0_test_data): New variable.
14102 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14103 (j1_test_data): New variable.
14104 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14105 (log_test_data): New variable.
14106 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14107 (log10_test_data): New variable.
14108 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14109 (log1p_test_data): New variable.
14110 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14111 (log2_test_data): New variable.
14112 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14113 (logb_test_data): New variable.
14114 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14115 (logb_downward_test_data): New variable.
14116 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14117 (nearbyint_test_data): New variable.
14118 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14119 (rint_test_data): New variable.
14120 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14121 (rint_tonearest_test_data): New variable.
14122 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14123 (rint_towardzero_test_data): New variable.
14124 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14125 (rint_downward_test_data): New variable.
14126 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14127 (rint_upward_test_data): New variable.
14128 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14129 (round_test_data): New variable.
14130 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14131 (sin_test_data): New variable.
14132 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14133 (sin_tonearest_test_data): New variable.
14134 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14135 (sin_towardzero_test_data): New variable.
14136 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14137 (sin_downward_test_data): New variable.
14138 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14139 (sin_upward_test_data): New variable.
14140 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14141 (sinh_test_data): New variable.
14142 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14143 (sinh_tonearest_test_data): New variable.
14144 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14145 (sinh_towardzero_test_data): New variable.
14146 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14147 (sinh_downward_test_data): New variable.
14148 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14149 (sinh_upward_test_data): New variable.
14150 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14151 (sqrt_test_data): New variable.
14152 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14153 (tan_test_data): New variable.
14154 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14155 (tan_tonearest_test_data): New variable.
14156 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14157 (tan_towardzero_test_data): New variable.
14158 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14159 (tan_downward_test_data): New variable.
14160 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14161 (tan_upward_test_data): New variable.
14162 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14163 (tanh_test_data): New variable.
14164 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14165 (tgamma_test_data): New variable.
14166 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14167 (trunc_test_data): New variable.
14168 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14169 (y0_test_data): New variable.
14170 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14171 (y1_test_data): New variable.
14172 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14173 (significand_test_data): New variable.
14174 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14176 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14179 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14181 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14183 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14185 2013-05-10 Andreas Jaeger <aj@suse.de>
14188 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14189 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14191 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14193 * math/gen-libm-test.pl (adjust_arg): New function.
14194 (special_functions): Handle generating output in both functions
14196 (parse_args): Likewise.
14197 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14198 $in_func argument to parse_args.
14199 * math/libm-test.inc (struct test_f_f_data): New type.
14200 (IF_ROUND_INIT_): New macro.
14201 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14202 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14203 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14204 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14205 (ROUND_RESTORE_): Likewise.
14206 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14207 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14208 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14209 (ROUND_RESTORE_FE_UPWARD): Likewise.
14210 (RUN_TEST_LOOP_f_f): New macro.
14211 (acos_test_data): New variable.
14212 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14213 (acos_tonearest_test_data): New variable.
14214 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14216 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14218 * benchtests/bench-skeleton.c (startup): Fix coding style.
14220 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14223 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14224 negative infinity argument.
14225 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14226 negative infinity argument.
14227 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14228 negative infinity argument.
14229 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14232 2013-05-10 Florian Weimer <fweimer@redhat.com>
14234 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14235 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14236 * iconv/iconv_prog.c (main): Likewise.
14237 * locale/programs/charmap-dir.c (charmap_readdir)
14238 (fopen_uncompressed): Likewise.
14239 * locale/programs/locfile.c (siblings_uncached)
14240 (write_locale_data): Use lstat64 instead of lstat.
14241 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14244 2013-05-10 Andreas Jaeger <aj@suse.de>
14247 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14249 Include <locale.h>.
14251 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14253 * elf/dl-close.c (_dl_close_worker): Add comments.
14255 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14258 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14260 (__ieee754_rem_pio2l): Update comments.
14263 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14265 (__ieee754_rem_pio2l): Update comments.
14267 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14268 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14270 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14273 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14274 (M_PI_34_LOG10El): Likewise.
14275 (M_PI2_LOG10El): Likewise.
14276 (M_PI4_LOG10El): Likewise.
14277 (M_PI_LOG10El): Likewise.
14279 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14283 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14285 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14286 (MINUS_ZERO_INIT): Likewise.
14287 (PLUS_INFTY_INIT): Likewise.
14288 (MINUS_INFTY_INIT): Likewise.
14289 (QNAN_VALUE_INIT): Likewise.
14290 (MAX_VALUE_INIT): Likewise.
14291 (MIN_VALUE_INIT): Likewise.
14292 (MIN_SUBNORM_VALUE_INIT): Likewise.
14293 (plus_zero): Initialize with PLUS_ZERO_INIT.
14294 (minus_zero): Initialize with MINUS_ZERO_INIT.
14295 (plus_infty): Initialize with PLUS_INFTY_INIT.
14296 (minus_infty): Initialize with MINUS_INFTY_INIT.
14297 (qnan_value): Initialize with QNAN_VALUE_INIT.
14298 (max_value): Initialize with MAX_VALUE_INIT.
14299 (min_value): Initialize with MIN_VALUE_INIT.
14300 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14302 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14303 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14304 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14305 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14307 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14308 (RUN_TEST_2_f): Likewise.
14309 (RUN_TEST_ff_f): Likewise.
14310 (RUN_TEST_fi_f): Likewise.
14311 (RUN_TEST_fl_f): Likewise.
14312 (RUN_TEST_fff_f): Likewise.
14313 (RUN_TEST_c_f): Likewise.
14314 (RUN_TEST_f_f1): Likewise.
14315 (RUN_TEST_fF_f1): Likewise.
14316 (RUN_TEST_fI_f1): Likewise.
14317 (RUN_TEST_ffI_f1): Likewise.
14318 (RUN_TEST_c_c): Likewise.
14319 (RUN_TEST_cc_c): Likewise.
14320 (RUN_TEST_f_i): Likewise.
14321 (RUN_TEST_f_i_tg): Likewise.
14322 (RUN_TEST_ff_i_tg): Likewise.
14323 (RUN_TEST_f_b): Likewise.
14324 (RUN_TEST_f_b_tg): Likewise.
14325 (RUN_TEST_f_l): Likewise.
14326 (RUN_TEST_f_L): Likewise.
14327 (RUN_TEST_sincos): Likewise.
14328 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14329 whether to show exceptions. Do not include ");\n" in return
14331 (special_functions): Output call to RUN_TEST_sincos instead of
14332 check_float calls. Update calls to new_test.
14333 (parse_args): Output call to single RUN_TEST_* macro instead of
14334 check_* calls and other assignments. Update calls to new_test.
14340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14341 input to result for tgamma overflow.
14342 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14343 (gamma_coeff): New variable.
14344 (NCOEFF): New macro.
14345 (gamma_positive): New function.
14346 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14347 underflow here. Use gamma_positive instead of exp (lgamma) for
14349 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14350 (gamma_coeff): New variable.
14351 (NCOEFF): New macro.
14352 (gammaf_positive): New function.
14353 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14354 underflow here. Use gamma_positive instead of exp (lgamma) for
14356 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14357 (gamma_coeff): New variable.
14358 (NCOEFF): New macro.
14359 (gammal_positive): New function.
14360 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14361 underflow here. Use gamma_positive instead of exp (lgamma) for
14363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14364 (gamma_coeff): New variable.
14365 (NCOEFF): New macro.
14366 (gammal_positive): New function.
14367 (__ieee754_gammal_r): Handle positive infinity, overflow and
14368 underflow here. Handle NaN the same as positive infinity. Remove
14369 check x < 0xffffffff for negative integers. Use gamma_positive
14370 instead of exp (lgamma) for other arguments.
14371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14372 (gamma_coeff): New variable.
14373 (NCOEFF): New macro.
14374 (gammal_positive): New function.
14375 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14376 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14381 * sysdeps/generic/math_private.h (__gamma_productf): New
14383 (__gamma_product): Likewise.
14384 (__gamma_productl): Likewise.
14385 * math/Makefile (libm-calls): Add gamma_product.
14386 * math/libm-test.inc (tgamma_test): Add more tests.
14387 * sysdeps/i386/fpu/libm-test-ulps: Update.
14388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14390 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14392 * benchtests/bench-skeleton.c (main): Preheat CPU.
14394 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14396 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14398 2013-05-07 Roland McGrath <roland@hack.frob.com>
14400 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14401 and _dl_skip_args_internal.
14403 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14405 * manual/message.texi (Message Translation): Talk about users.
14406 Message to key mapping impacts design.
14408 2013-05-06 Roland McGrath <roland@hack.frob.com>
14410 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14412 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14414 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14415 * sysdeps/wordsize-64/glob64.c: ... here.
14417 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14418 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14421 * debug/getlogin_r_chk.c: Moved to ...
14422 * login/getlogin_r_chk.c: ... here.
14423 * debug/Makefile (routines): Move getlogin_r_chk to ...
14424 * login/Makefile (routines): ... here.
14425 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14426 * login/Versions (libc: GLIBC_2.4): ... here.
14428 * io/poll.c (__poll): Renamed from poll.
14429 Add libc_hidden_def.
14430 (poll): Define as weak alias.
14432 * debug/ptsname_r_chk.c: Moved to ...
14433 * login/ptsname_r_chk.c: ... here.
14434 * debug/Makefile (routines): Move ptsname_r_chk to ...
14435 * login/Makefile (routines): ... here.
14436 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14437 * login/Versions (libc: GLIBC_2.4): ... here.
14439 * posix/getlogin.c: Moved to ...
14440 * login/getlogin.c: ... here.
14441 * posix/getlogin_r.c: Moved to ...
14442 * login/getlogin_r.c: ... here.
14443 * posix/getlogin_r.c: Moved to ...
14444 * login/getlogin_r.c: ... here.
14445 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14446 * login/Makefile (routines): ... here.
14447 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14448 * login/Versions (libc: GLIBC_2.0): ... here.
14450 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14451 (setrlimit): Define as weak alias.
14453 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14454 Call __ names for open, ftruncate, and close.
14455 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14456 (truncate): Define as weak alias.
14458 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14460 * math/gen-libm-test.pl (parse_args): Initialize x before each
14461 test of frexp, modf and remquo.
14463 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14464 test signgam value.
14466 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14470 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14474 2013-05-06 Roland McGrath <roland@hack.frob.com>
14476 * elf/dl-writev.h: New file.
14477 * elf/dl-misc.c: Include it.
14478 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14479 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14481 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14483 * math/libm-test.inc (noXFails): Remove variable.
14484 (noXPasses): Likewise.
14485 (BUILD_COMPLEX_INT): Remove macro.
14486 (print_screen): Remove xfail argument.
14487 (print_screen_max_error): Likewise.
14488 (update_stats): Likewise.
14489 (print_max_error): Likewise. Update calls to other affected
14491 (print_complex_max_error): Likewise.
14492 (test_single_exception): Update calls to print_screen.
14493 (test_single_errno): Likewise.
14494 (check_float_internal): Remove xfail argument. Update calls to
14495 other affected functions.
14496 (check_float): Likewise.
14497 (check_complex): Likewise.
14498 (check_int): Likewise.
14499 (check_long): Likewise.
14500 (check_bool): Likewise.
14501 (check_longlong): Likewise.
14502 (main): Don't print noXFails and noXPasses.
14503 * math/gen-libm-test.pl (top level): Don't mention expected
14504 failure handling in comment.
14505 (new_test): Don't handle expected failures.
14506 (parse_args): Don't mention expected failure handling in comment.
14507 (generate_testfile): Don't handle expected failures.
14508 (parse_ulps): Likewise.
14509 (print_ulps_file): Likewise.
14510 (get_failure): Remove function.
14511 (output_test): Don't handle expected failures.
14512 * make/README.libm-test: Don't mention expected failure handling.
14514 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14515 (minus_zero): Likewise.
14516 (plus_infty): Likewise.
14517 (minus_infty): Likewise.
14518 (qnan_value): Likewise.
14519 (max_value): Likewise.
14520 (min_value): Likewise.
14521 (min_subnorm_value): Likewise.
14522 (initialize): Do not initialize those variables dynamically.
14524 2013-05-03 Roland McGrath <roland@hack.frob.com>
14526 * io/open.c (__open_2): Moved to ...
14527 * io/open_2.c: ... this new file.
14528 * io/open64.c (__open64_2): Moved to ...
14529 * io/open64_2.c: ... this new file.
14530 * io/openat.c (__openat_2): Moved to ...
14531 * io/openat_2.c: ... this new file.
14532 * io/openat64.c (__openat64_2): Moved to ...
14533 * io/openat64_2.c: ... this new file.
14534 * io/Makefile (routines): Add them.
14535 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14536 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14537 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14538 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14539 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14540 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14541 (__openat64): Add hidden_ver.
14542 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14543 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14545 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14546 Separately conditionalize setting of GLRO(dl_sysinfo) so
14547 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14548 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14550 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14552 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14553 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14555 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14556 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14557 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14558 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14559 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14561 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14563 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14564 test signgam value.
14566 * math/libm-test.inc (hypot_test): Do not use
14567 IGNORE_ZERO_INF_SIGN.
14569 2013-05-03 Andreas Jaeger <aj@suse.de>
14571 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14573 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14574 (PF_MAX): Adjust for VSOCK change.
14576 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14580 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14583 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14584 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14585 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14587 2013-05-02 David S. Miller <davem@davemloft.net>
14589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14591 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14593 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14595 2013-05-01 Roland McGrath <roland@hack.frob.com>
14597 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14599 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14602 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14603 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14604 Use __attribute__ ((__gnu_inline__)).
14605 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14606 Don't use __attribute__ ((__gnu_inline__)).
14608 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14611 * math/s_catan.c (__catan): Handle small real or imaginary part of
14612 input specially to avoid spurious underflow.
14613 * math/s_catanf.c (__catanf): Likewise.
14614 * math/s_catanh.c (__catanh): Likewise.
14615 * math/s_catanhf.c (__catanhf): Likewise.
14616 * math/s_catanhl.c (__catanhl): Likewise.
14617 * math/s_catanl.c (__catanl): Likewise.
14618 * math/libm-test.inc (catan_test): Add more tests.
14619 (catanh_test): Likewise.
14620 * sysdeps/i386/fpu/libm-test-ulps: Update.
14621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14623 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14627 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14630 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14631 accurately for denominator in atan2.
14632 * math/s_catanf.c (__catanf): Likewise.
14633 * math/s_catanh.c (__catanh): Likewise.
14634 * math/s_catanhf.c (__catanhf): Likewise.
14635 * math/s_catanhl.c (__catanhl): Likewise.
14636 * math/s_catanl.c (__catanl): Likewise.
14637 * math/libm-test.inc (catan_test): Add more tests.
14638 (catanh_test): Likewise.
14639 * sysdeps/i386/fpu/libm-test-ulps: Update.
14640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14642 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14644 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14646 * benchtests/Makefile (bench): Remove slow benchmarks.
14647 * benchtests/atan-inputs: Add slow benchmark inputs.
14648 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14649 (BENCH_FUNC): Accept variant offset.
14651 * benchtests/bench-skeleton.c (main): Run benchmark for each
14653 * benchtests/cos-inputs: Add slow benchmark inputs.
14654 * benchtests/exp-inputs: Likewise.
14655 * benchtests/pow-inputs: Likewise.
14656 * benchtests/sin-inputs: Likewise.
14657 * benchtests/slowatan-inputs: Remove.
14658 * benchtests/slowatan.c: Remove.
14659 * benchtests/slowcos-inputs: Remove.
14660 * benchtests/slowcos.c: Remove.
14661 * benchtests/slowexp-inputs: Remove.
14662 * benchtests/slowexp.c: Remove.
14663 * benchtests/slowpow-inputs: Remove.
14664 * benchtests/slowpow.c: Remove.
14665 * benchtests/slowsin-inputs: Remove.
14666 * benchtests/slowsin.c: Remove.
14667 * benchtests/slowtan-inputs: Remove.
14668 * benchtests/slowtan.c: Remove.
14669 * benchtests/tan-inputs: Add slow benchmark inputs.
14670 * scripts/bench.pl: Parse comments and directives.
14672 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14674 ($(objpfx)bench-%.c): Remove *-ITER.
14675 * benchtests/bench-modf.c: Remove definition of ITER.
14676 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14677 (main): Loop for DURATION seconds instead of fixed number of
14679 * scripts/bench.pl: Don't expect iterations in parameters.
14681 2013-04-29 Roland McGrath <roland@hack.frob.com>
14683 * io/fchdir.c (__fchdir): Renamed from fchdir.
14684 (fchdir): Define as weak alias.
14686 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14688 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14689 (ERRNO_EDOM): Likewise.
14690 (ERRNO_ERANGE): Likewise.
14691 (noErrnoTests): New variable.
14692 (init_max_error): Set errno to 0.
14693 (test_single_errno): New function.
14694 (test_errno): Likewise.
14695 (check_float_internal): Call test_errno. Set errno to 0.
14696 (check_complex): Refer to errno tests in comment.
14697 (check_int): Call test_errno. Set errno to 0.
14698 (check_long): Likewise.
14699 (check_bool): Likewise.
14700 (check_longlong): Likewise.
14701 (cos_test): Use ERRNO_* flags for errno tests instead of
14703 (expm1_test): Likewise.
14704 (fmod_test): Likewise.
14705 (ilogb_test): Likewise.
14706 (lgamma_test): Likewise.
14707 (pow_test): Likewise.
14708 (remainder_test): Likewise.
14709 (sin_test): Likewise.
14710 (tan_test): Likewise.
14711 (yn_test): Likewise.
14712 (initialize): Set errno to 0.
14713 (main): Print number of errno tests.
14714 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14716 2013-04-29 Andreas Jaeger <aj@suse.de>
14719 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14723 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14724 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14728 * stdlib/random.c (__initstate): Return NULL if
14732 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14733 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14736 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14740 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14742 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14743 of individual tests.
14744 (casin_test): Likewise.
14745 (casinh_test): Likewise.
14747 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14750 * math/s_catan.c (__catan): Handle arguments with large real or
14751 imaginary part separately without squaring.
14752 * math/s_catanf.c (__catanf): Likewise.
14753 * math/s_catanh.c (__catanh): Likewise.
14754 * math/s_catanhf.c (__catanhf): Likewise.
14755 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14757 (__catanhl): Handle arguments with large real or imaginary part
14758 separately without squaring.
14759 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14761 (__catanl): Handle arguments with large real or imaginary part
14762 separately without squaring.
14763 * math/libm-test.inc (catan_test): Add more tests.
14764 (catanh_test): Likewise.
14765 * sysdeps/i386/fpu/libm-test-ulps: Update.
14766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768 2013-04-27 Andreas Jaeger <aj@suse.de>
14771 * stdlib/stdlib.h: Update guards for qecvt.
14772 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14775 2013-04-27 Allan McRae <allan@archlinux.org>
14777 * sysdeps/i386/fpu/libm-test-ulps: Update.
14779 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14782 * math/s_catan.c: Include <float.h>.
14783 (__catan): Ensure underflow exception occurs for underflowed
14785 * math/s_catanf.c: Include <float.h>.
14786 (__catanf): Ensure underflow exception occurs for underflowed
14788 * math/s_catanh.c: Include <float.h>.
14789 (__catanh): Ensure underflow exception occurs for underflowed
14791 * math/s_catanhf.c: Include <float.h>.
14792 (__catanhf): Ensure underflow exception occurs for underflowed
14794 * math/s_catanhl.c: Include <float.h>.
14795 (__catanhl): Ensure underflow exception occurs for underflowed
14797 * math/s_catanl.c: Include <float.h>.
14798 (__catanl): Ensure underflow exception occurs for underflowed
14800 * math/libm-test.inc (catan_test): Add more tests.
14801 (catanh_test): Likewise.
14804 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14805 underflowed result.
14806 * math/s_ccoshf.c (__ccoshf): Likewise.
14807 * math/s_ccoshl.c (__ccoshl): Likewise.
14808 * math/s_csin.c (__csin): Likewise.
14809 * math/s_csinf.c (__csinf): Likewise.
14810 * math/s_csinh.c (__csinh): Likewise.
14811 * math/s_csinhf.c (__csinhf): Likewise.
14812 * math/s_csinhl.c (__csinhl): Likewise.
14813 * math/s_csinl.c (__csinl): Likewise.
14814 * math/libm-test.inc (ccos_test): Add more tests.
14815 (ccosh_test): Likewise.
14816 (csin_test): Likewise.
14817 (csinh_test): Likewise.
14819 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14821 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14822 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14823 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14824 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14825 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14826 powerpc/power5+/fpu folders.
14827 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14830 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14834 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14836 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14837 additions to variable.
14838 [$(config-machine) = x86_64] (modules-names): Likewise.
14839 ($(objpfx)tst-audit3): Remove dependency.
14840 ($(objpfx)tst-audit3.out): Likewise.
14841 ($(objpfx)tst-audit4): Likewise.
14842 ($(objpfx)tst-audit4.out): Likewise.
14843 ($(objpfx)tst-audit5): Likewise.
14844 ($(objpfx)tst-audit5.out): Likewise.
14845 ($(objpfx)tst-audit6): Likewise.
14846 ($(objpfx)tst-audit6.out): Likewise.
14847 ($(objpfx)tst-audit7): Likewise.
14848 ($(objpfx)tst-audit7.out): Likewise.
14849 (tst-audit3-ENV): Remove variable.
14850 (tst-audit4-ENV): Likewise.
14851 (tst-audit5-ENV): Likewise.
14852 (tst-audit6-ENV): Likewise.
14853 (tst-audit7-ENV): Likewise.
14854 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14855 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14856 addition to variable.
14857 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14858 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14859 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14860 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14861 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14862 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14863 tst-audit3, tst-audit4 and tst-audit5.
14864 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14865 tst-audit6 and tst-audit7.
14866 [$(subdir) = elf] (modules-names): Add audit modules for those
14868 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14869 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14870 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14871 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14872 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14873 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14874 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14875 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14876 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14877 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14878 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14879 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14880 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14881 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14882 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14883 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14885 [$(subdir) = elf && $(config-cflags-avx) = yes]
14886 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14887 [$(subdir) = elf && $(config-cflags-avx) = yes]
14888 (CFLAGS-tst-auditmod4a.c): Likewise.
14889 [$(subdir) = elf && $(config-cflags-avx) = yes]
14890 (CFLAGS-tst-auditmod4b.c): Likewise.
14891 [$(subdir) = elf && $(config-cflags-avx) = yes]
14892 (CFLAGS-tst-auditmod6b.c): Likewise.
14893 [$(subdir) = elf && $(config-cflags-avx) = yes]
14894 (CFLAGS-tst-auditmod6c.c): Likewise.
14895 [$(subdir) = elf && $(config-cflags-avx) = yes]
14896 (CFLAGS-tst-auditmod7b.c): Likewise.
14897 * elf/tst-audit3.c: Move to ...
14898 * sysdeps/x86_64/tst-audit3.c: ... here.
14899 * elf/tst-audit4.c: Move to ...
14900 * sysdeps/x86_64/tst-audit4.c: ... here.
14901 * elf/tst-audit5.c: Move to ...
14902 * sysdeps/x86_64/tst-audit5.c: ... here.
14903 * elf/tst-audit6.c: Move to ...
14904 * sysdeps/x86_64/tst-audit6.c: ... here.
14905 * elf/tst-audit7.c: Move to ...
14906 * sysdeps/x86_64/tst-audit7.c: ... here.
14907 * elf/tst-auditmod3a.c: Move to ...
14908 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14909 * elf/tst-auditmod3b.c: Move to ...
14910 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14911 * elf/tst-auditmod4a.c: Move to ...
14912 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14913 * elf/tst-auditmod4b.c: Move to ...
14914 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14915 * elf/tst-auditmod5a.c: Move to ...
14916 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14917 * elf/tst-auditmod5b.c: Move to ...
14918 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14919 * elf/tst-auditmod6a.c: Move to ...
14920 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14921 * elf/tst-auditmod6b.c: Move to ...
14922 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14923 * elf/tst-auditmod6c.c: Move to ...
14924 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14925 * elf/tst-auditmod7a.c: Move to ...
14926 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14927 * elf/tst-auditmod7b.c: Move to ...
14928 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14930 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14933 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14934 define unconditionally.
14935 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14936 define unconditionally.
14937 (INT8_C, INT16_C, etc.): Likewise.
14939 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14941 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14942 __ehdr_start with hidden visibility.
14944 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14946 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14948 * math/libm-test.inc (cos_test): Use accurate hex constants.
14949 (sincost_test): Likewise.
14951 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14953 * math/libm-test.inc (catan_test): Add more tests.
14954 (catanh_test): Likewise.
14956 * math/s_catanf.c (__catanf): Use suffixed floating-point
14958 * math/s_catanhf.c (__catanhf): Likewise.
14959 * math/s_catanhl.c (__catanhl): Likewise.
14960 * math/s_catanl.c (__catanl): Likewise.
14963 * math/s_catan.c (__catan): Calculate imaginary part of result
14964 with log1p not log unless computing log of number close to 0.
14965 * math/s_catanf.c (__catanf): Likewise.
14966 * math/s_catanl.c (__catanl): Likewise.
14967 * math/s_catanh.c (__catanh): Calculate real part of result with
14968 log1p not log unless computing log of number close to 0.
14969 * math/s_catanhf.c (__catanhf): Likewise.
14970 * math/s_catanhl.c (__catanhl): Likewise.
14971 * math/libm-test.inc (catan_test): Add more tests.
14972 (catanh_test): Likewise.
14973 * sysdeps/i386/fpu/libm-test-ulps: Update.
14974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14976 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14978 * benchtests/Makefile: Mention files in which fast and slow
14979 paths of math functions are implemented.
14981 2013-04-23 Roland McGrath <roland@hack.frob.com>
14983 * sysdeps/posix/timespec_get.c: New file.
14985 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14989 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14991 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14992 powerpc/power5/fpu folders.
14993 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14994 * benchtests/Makefile: Add modf testcase.
14995 * benchtests/bench-modf.c: New file: Benchmark test for mo
14997 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15000 * time/Makefile (tests): Add tst-strptime-whitespace.
15001 * time/strptime_l.c (get_number): Use ISSPACE.
15002 (__strptime_internal): Likewise.
15003 * time/tst-strptime-whitespace.c: New test case.
15005 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15007 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15009 (_nss_files_init): Set it here.
15011 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15013 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15014 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15017 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15019 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15021 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15023 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15026 2013-04-21 David S. Miller <davem@davemloft.net>
15028 * po/ru.po: Update Russion translation from translation project.
15030 2013-04-17 Adam Conrad <adconrad@0c3.net>
15032 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15035 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15037 * configure.in: Remove i386 configure warning. Remove i386 case.
15038 * configure: Regenerate.
15039 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15040 Add example to error message.
15041 * sysdeps/i386/configure: Regenerate.
15043 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15045 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15047 * benchtests/cos-inputs: New file.
15048 * benchtests/slowcos-inputs: New file.
15049 * benchtests/slowcos.c: New file.
15050 * benchtests/slowtan-inputs: New file.
15051 * benchtests/slowtan.c: New file.
15052 * benchtests/tan-inputs: New file.
15054 2013-04-16 Roland McGrath <roland@hack.frob.com>
15056 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15059 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15061 * benchtests/Makefile: Include cppflags-iterator.mk to add
15062 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15064 * Makefile.in (bench-clean): New target.
15065 * benchtests/Makefile (bench-clean): Likewise.
15067 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15069 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15071 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15073 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15075 2013-04-15 Andreas Schwab <schwab@suse.de>
15077 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15079 * nscd/pwdcache.c (cache_addpw): Likewise.
15080 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15083 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15085 * benchtests/Makefile (bench): Write all output to
15086 bench-out.tmp together.
15088 2013-04-15 Andreas Schwab <schwab@suse.de>
15090 * nscd/nscd.c (main): Don't fork again after closing files.
15092 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15094 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15096 * benchtests/Rules (bench-deps): Collect dependencies into a
15097 single variable. Add Makefile to dependencies.
15098 ($(objpfx)bench-%.c): Depend on bench-deps.
15100 2013-04-12 Roland McGrath <roland@hack.frob.com>
15101 Xavier Roche <roche+kml2@exalead.com>
15104 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15105 just that it's a file descriptor.
15106 * manual/llio.texi (Synchronizing AIO Operations): Update description
15107 for EBADF error from aio_fsync.
15109 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15111 * Rules (bench): Move target definition...
15112 * benchtests/Makefile: ... here.
15114 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15116 * math/libm-test.inc (cos_test): Fix PI/2 test.
15117 (sincos_test): Likewise.
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15119 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15121 2013-04-11 Andreas Schwab <schwab@suse.de>
15124 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15125 accept exponent character only when digits were seen.
15126 * stdio-common/Makefile (tests): Add bug26.
15127 * stdio-common/bug26.c: New file.
15130 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15133 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15135 * Makeconfig (rtld-prefix): Define built linker prefix.
15136 * Rules (run-bench): Use it.
15137 * math/Makefile (run-regen-ulps): Likewise.
15139 * Rules (bench): Remove eval.
15141 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15142 Roland McGrath <roland@hack.frob.com>
15143 Ondrej Bilka <neleai@seznam.cz>
15146 * time/getdate.c: Include ctype.h and alloca.h.
15147 (__getdate_r): Trim leading and trailing spaces of input.
15148 * time/tst-getdate.c (tests): Add tests with leading and
15151 2013-04-08 Roland McGrath <roland@hack.frob.com>
15154 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15155 when computing value.
15157 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15159 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15160 Use testrun.sh to run libm tests.
15163 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15165 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15168 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15170 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15172 * Makefile.in (regen-ulps): New target.
15173 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15174 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15175 [ifneq (no,$(PERL)] (regen-ulps): New target.
15176 [ifeq (no,$(PERL)] (regen-ulps): New target.
15177 * math/libm-test.inc (ulps_file_name): Define.
15178 (output_dir): New variable.
15179 (options): Add "output-dir" option.
15180 (parse_opt): Handle 'o' case.
15181 (main): If output_dir is non-NULL use it as a prefix
15183 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15185 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15187 [BZ #10060, #10062]
15188 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15189 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15190 fail configure if __sync_val_compare_and_swap is not inlined.
15191 * sysdeps/i386/configure: Regenerate.
15192 * configure.in: Build for i686 when configured for i386.
15193 * configure: Regenerate.
15194 * README: Remove i386 reference.
15196 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15198 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15199 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15201 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15203 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15204 (lmsnanval): New variables.
15205 (F): Add conversion tests.
15206 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15207 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15209 * stdio-common/tstdiomisc.c (F): Properly collect individual
15212 [BZ #14686, #15336]
15213 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15214 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15215 Instead, use input NaN values or generate a qNaN by arithmetic
15216 operation. Also fix bugs to comply with the standard.
15217 * math/libm-test.inc (remainder_test): Add more tests.
15219 [BZ #15335, #15342]
15220 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15222 input NaN values or generate a qNaN by arithmetic operation.
15224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15227 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15230 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15233 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15234 underflowed result.
15235 * math/s_cexpf.c (__cexpf): Likewise.
15236 * math/s_cexpl.c (__cexpl): Likewise.
15237 * math/libm-test.inc (cexp_test): Add more tests.
15239 2013-04-03 Andreas Schwab <schwab@suse.de>
15242 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15243 order arrays from heap if bigger than alloca cutoff.
15245 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15247 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15248 (SNAN_TESTS_double): Refer to GCC PR56831.
15249 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15252 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15254 * Rules (bench): Move bench.out after the run is complete.
15256 * Rules (bench): Echo currently running benchmark.
15258 * benchtests/Makefile (bench): Add atan and slowatan.
15259 * benchtests/atan-inputs: New file.
15260 * benchtests/slowatan-inputs: New file.
15261 * benchtests/slowatan.c: New file.
15263 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15264 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15268 * sysdeps/unix/sysv/linux/kernel-features.h
15269 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15270 __ASSUME_XFS_RESTRICTED_CHOWN.
15271 * sysdeps/unix/sysv/linux/pathconf.c
15272 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15273 Save and restore errno.
15275 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15278 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15279 arguments using __kernel_casinh.
15280 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15281 arguments using __kernel_casinhf.
15282 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15283 arguments using __kernel_casinhl.
15284 * math/libm-test.inc (cacosh_test): Add more tests.
15285 * sysdeps/i386/fpu/libm-test-ulps: Update.
15286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15288 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15290 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15293 * bench/Makefile (bench): Add sin and slowsin.
15294 * benchtests/sin-inputs: New file.
15295 * benchtests/slowsin-inputs: New file.
15296 * benchtests/slowsin.c: New file.
15298 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15299 (bench): Add slowexp and slowpow.
15300 (exp-ITER): Increase iterations.
15301 (pow-ITER): Likewise.
15302 * benchtests/exp-inputs: Change input.
15303 * benchtests/pow-inputs: Likewise.
15304 * benchtests/slowexp-inputs: New file.
15305 * benchtests/slowexp.c: New file.
15306 * benchtests/slowpow-inputs: New file.
15307 * benchtests/slowpow.c: New file.
15309 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15311 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15313 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15314 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15315 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15316 * benchtests/Makefile: Add rint benchtest.
15317 * benchtests/rint-inputs: Input for rint benchtest.
15319 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15321 * Versions.def (libm): Add GLIBC_2.18.
15322 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15323 hidden libm prototypes.
15324 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15325 * math/Makefile (libm-calls): Add s_issignaling.
15326 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15327 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15328 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15330 * math/math.h [__USE_GNU] (issignaling): New macro.
15331 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15332 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15334 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15337 * manual/arith.texi (issignaling): New section.
15338 * manual/libm-err-tab.pl (@all_functions): Update comment.
15339 * math/gen-libm-test.pl (parse_args): Apply special handling for
15341 * math/libm-test.inc (print_float, issignaling_test): New
15343 (check_float_internal): Add issignaling checks.
15344 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15345 default definition.
15346 * sysdeps/powerpc/math-tests.h: New file.
15347 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15349 * math/test-snan.c (TEST_FUNC): Likewise.
15351 2013-03-30 David S. Miller <davem@davemloft.net>
15353 * po/de.po: Update from translation team.
15355 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15358 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15359 imaginary part less than 1.0 and real part less than 0.5
15361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15363 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15364 (cacos_test): Add more tests.
15365 (casin_test): Likewise.
15366 (casinh_test): Likewise.
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15370 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15372 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15373 ONE with its value.
15375 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15376 (__pow_mp): Replace ONE and MONE with their values.
15377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15380 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15381 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15384 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15386 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15387 (__pow_mp): Replace ZERO and MZERO with their values.
15388 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15390 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15392 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15393 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15396 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15398 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15400 2013-03-28 Roland McGrath <roland@hack.frob.com>
15402 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15403 Declare with __attribute__ ((weak)).
15404 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15405 Call __call_tls_dtors only if it's not NULL.
15407 2013-03-28 Roland McGrath <roland@hack.frob.com>
15409 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15410 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15411 magic __ehdr_start linker symbol if it's defined.
15412 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15413 them up here if it was already done.
15415 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15416 (_dl_aux_init): Use const in cast when setting it.
15417 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15418 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15419 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15421 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15423 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15424 * csu/libc-tls.c: Nor here.
15425 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15427 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15428 (__libc_message): Never call vsyslog.
15430 2013-03-28 Alan Modra <amodra@gmail.com>
15432 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15434 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15437 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15444 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15447 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15448 Don't add gid passed as argument.
15450 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15452 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15455 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15456 imaginary part between 1.0 and 1.5 and real part less than 0.5
15458 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15459 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15460 * math/libm-test.inc (cacos_test): Add more tests.
15461 (casin_test): Likewise.
15462 (casinh_test): Likewise.
15463 * sysdeps/i386/fpu/libm-test-ulps: Update.
15464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15466 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15468 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15471 (denorm): Likewise.
15472 (__dbl_mp): Likewise.
15473 (add_magnitudes): Likewise.
15474 (sub_magnitudes): Likewise.
15482 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15484 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15485 (__dubcos): Likewise.
15486 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15487 (__ieee754_acos): Likewise.
15488 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15489 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15490 (__exp1): Likewise.
15491 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15494 (my_log2): Likewise.
15495 (checkint): Likewise.
15496 * sysdeps/ieee754/dbl-64/e_remainder.c
15497 (__ieee754_remainder): Likewise.
15498 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15500 (bsloww): Likewise.
15501 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15503 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15504 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15505 MANTISSA_STORE_T to store computations on mantissa. Use
15506 macros for rounding and division.
15507 (denorm): Likewise.
15508 (__dbl_mp): Likewise.
15509 (add_magnitudes): Likewise.
15510 (sub_magnitudes): Likewise.
15513 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15514 powers of two in terms of TWOPOW macro.
15515 (mp_no): Make type of mantissa as MANTISSA_T.
15516 [!RADIXI]: Define RADIXI.
15517 [!TWO52]: Define TWO52.
15518 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15520 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15522 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15523 llroundl symbol when building for PPC32.
15525 2013-03-24 Mark H Weaver <mhw@netris.org>
15527 * manual/arith.texi (Normalization Functions): Fix prototypes for
15528 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15530 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15534 high value to check if expl overflow.
15535 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15536 to check for underflow and overflow.
15537 * math/libm-test.inc: Add exp test.
15539 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15542 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15545 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15547 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15550 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15552 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15553 wrap blocks consisting of several statements.
15555 * sysdeps/generic/math-tests.h: New file.
15556 * sysdeps/i386/fpu/math-tests.h: Likewise.
15557 * math/test-snan.c: Include it.
15558 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15560 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15563 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15564 (__ieee754_j0l): Do not improve calculations using cos of twice
15565 input for inputs above LDBL_MAX / 2.0L.
15566 (__ieee754_y0l): Likewise.
15567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15568 (__ieee754_j1l): Do not improve calculations using cos of twice
15569 input for inputs above LDBL_MAX / 2.0L.
15570 (__ieee754_y1l): Likewise.
15571 * math/libm-test.inc (j0_test): Add another test.
15572 (j1_test): Likewise.
15573 (y0_test): Likewise.
15574 (y1_test): Likewise.
15575 * sysdeps/i386/fpu/libm-test-ulps: Update.
15577 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15579 * Rules ($(objpfx)bench-%.c): Include code from a C source
15582 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15585 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15586 imaginary part 1.0 and real part less than 0.5 specially.
15587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15589 * math/libm-test.inc (cacos_test): Add more tests.
15590 (casin_test): Likewise.
15591 (casinh_test): Likewise.
15592 * sysdeps/i386/fpu/libm-test-ulps: Update.
15593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15595 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15597 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15598 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15600 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15602 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15603 * config.make.in (config-cflags-sse4): Remove variable.
15604 (config-cflags-avx): Likewise.
15605 (config-cflags-sse2avx): Likewise.
15606 (config-cflags-novzeroupper): Likewise.
15607 (config-asflags-i686): Likewise.
15608 (have-mfma4): Likewise.
15609 (have-as-vis3): Likewise.
15611 * configure.in (MIG): Do not AC_SUBST.
15612 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15613 (libc_cv_cc_sse4): Do not AC_SUBST.
15614 (libc_cv_cc_avx): Likewise.
15615 (libc_cv_cc_sse2avx): Likewise.
15616 (libc_cv_cc_novzeroupper): Likewise.
15617 (libc_cv_cc_fma4): Likewise.
15618 (libc_cv_as_i686): Likewise.
15619 (libc_cv_sparc_as_vis3): Likewise.
15620 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15622 (config-asflags-i686): Likewise.
15623 (config-cflags-avx): Likewise.
15624 (config-cflags-sse2avx): Likewise.
15625 (have-mfma4): Likewise.
15626 (config-cflags-novzeroupper): Likewise.
15627 * sysdeps/mach/configure.in (MIG): Likewise.
15628 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15629 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15631 (config-cflags-avx): Likewise.
15632 (config-cflags-sse2avx): Likewise.
15633 (have-mfma4): Likewise.
15634 (config-cflags-novzeroupper): Likewise.
15635 * configure: Regenerated.
15636 * sysdeps/i386/configure: Likewise.
15637 * sysdeps/mach/configure: Likewise.
15638 * sysdeps/sparc/configure: Likewise.
15639 * sysdeps/x86_64/configure: Likewise.
15641 2013-03-20 Roland McGrath <roland@hack.frob.com>
15644 * locale/programs/localedef.c (options): Put N_ translation marker
15645 on argument names, not just descriptions.
15647 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15649 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15651 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15654 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15656 2013-03-19 Roland McGrath <roland@hack.frob.com>
15658 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15659 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15660 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15661 [!BEFORE_ABORT] (before_abort): New function.
15662 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15663 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15664 (writev_for_fatal): New function.
15665 (WRITEV_FOR_FATAL): New macro; call that.
15666 (backtrace_and_maps): New function.
15667 (BEFORE_ABORT): New macro; call that.
15668 (struct str_list): Type removed.
15669 (__libc_message, __libc_fatal): Functions removed.
15670 Include <sysdeps/posix/libc_fatal.c> instead.
15672 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15674 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15676 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15679 2013-03-19 Andreas Schwab <schwab@suse.de>
15681 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15682 * sysdeps/gnu/configure: Regenerate.
15684 * configure.in: Substitute libc_cv_rtlddir.
15685 * configure: Regenerate.
15686 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15687 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15688 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15689 * elf/Makefile (install-others, CFLAGS-interp.c)
15690 (ldso_install, common-ldd-rewrite): Likewise.
15691 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15692 $(inst_slibdir)/$(rtld-installed-name).
15693 * scripts/rellns-sh: Add -p option.
15694 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15697 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15699 * manual/nptl.texi: Renamed to ...
15700 * manual/threads.texi: ... this.
15701 * manual/Makefile (chapters): Update.
15703 2013-03-18 Roland McGrath <roland@hack.frob.com>
15706 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15707 on argument names, not just descriptions.
15708 * malloc/memusagestat.c (options): Likewise.
15709 * nss/getent.c (options): Likewise.
15711 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15714 * iconv/iconv_prog.c (options): Put N_ translation marker
15715 on argument names, not just descriptions.
15716 * iconv/iconvconfig.c (options): Likewise.
15718 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15720 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15721 implementation which is faster on all x86_64 architectures.
15722 Tested on AMD, Intel Nehalem, SNB, IVB.
15723 * sysdeps/x86_64/strnlen.S: Likewise.
15725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15726 Remove all multiarch strlen and strnlen versions.
15727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15728 Remove strlen and strnlen related parts.
15730 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15731 Inline strlen part.
15732 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15734 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15735 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15736 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15737 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15738 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15739 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15741 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15743 * manual/memory.texi (Malloc Tunable Parameters):
15744 Sort parameters alphabetically. Add comments for missing entries.
15746 2013-03-17 David S. Miller <davem@davemloft.net>
15748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15750 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15753 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15754 for arguments at most half maximum finite value.
15755 * math/libm-test.inc (j0_test): Add more tests.
15756 (j1_test): Likewise.
15757 (y0_test): Likewise.
15758 (y1_test): Likewise.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15763 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15764 1 / x and functions P and Q for arguments above 0x1p256L.
15765 (__ieee754_y0l): Likewise.
15766 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15767 (__ieee754_y1l): Likewise.
15768 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15769 (j1_test): Likewise.
15770 (y0_test): Likewise.
15771 (y1_test): Likewise.
15773 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15775 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15778 2013-03-15 Roland McGrath <roland@hack.frob.com>
15780 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15781 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15782 zero since it's initialized to EXEC_PAGESIZE.
15784 * sysdeps/unix/sysv/linux/ldsodefs.h
15785 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15786 * sysdeps/generic/ldsodefs.h: ... here.
15788 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15790 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15792 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15794 * math/test-snan.c: Renamed from
15795 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15796 * math/Makefile (tests): Add test-snan.
15797 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15800 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15801 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15803 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15804 __builtin_nan family of functions.
15805 * math/libm-test.inc (initialize): Initialize qnan_value with
15806 __builtin_nan family of functions.
15807 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15809 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15811 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15812 storage class. Initialize qNaN_var and sNaN_var with
15813 __builtin_nan and __builtin_nans families of functions,
15816 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15817 (sqrt_test): Remove duplicate test with qNaN input.
15818 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15819 (round_test, signbit_test, significand_test): Note missing +/-Inf
15820 as well as qNaN tests.
15822 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15823 qNaN_var. Fix a few strings, too.
15824 * math/libm-test.inc (nan_value): Rename to qnan_value.
15825 * math/gen-libm-test.pl (%beautify): Adjust to that.
15826 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15827 * math/test-misc.c (main): Likewise.
15828 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15829 to __qnan_bytes, and __qnan_union, respectively.
15830 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15832 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15833 and lqnanval, respectively.
15834 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15835 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15836 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15837 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15839 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15840 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15843 * math/test-misc.c (main): Fix copy'n'pastos.
15844 * misc/tst-efgcvt.c (special): Likewise.
15846 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15847 Remove declarations.
15849 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15851 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15852 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15853 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15854 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15856 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15859 macro to return vdso values correctly in IFUNC implementations.
15860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15861 Optimization by using IFUNC.
15863 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15864 Richard Henderson <rth@redhat.com>
15865 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15867 * Makefile.in (bench): New target.
15868 * NEWS: Mention the benchmark framework.
15869 * Rules (bench): Likewise.
15870 (binaries-bench): Generate binaries for functions to
15872 * benchtests/Makefile: New makefile for benchmark tests.
15873 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15875 * benchtests/exp-inputs: New input file for EXP function.
15876 * benchtests/pow-inputs: New input file for POW function.
15877 * scripts/bench.pl: New script to generate source files for
15878 benchmark programs.
15880 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15882 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15883 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15884 computations on mantissa. Use macros for rounding and
15886 (denorm): Likewise.
15887 (__dbl_mp): Likewise.
15888 (add_magnitudes): Likewise.
15889 (sub_magnitudes): Likewise.
15892 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15893 powers of two in terms of TWOPOW macro.
15894 (mp_no): Make type of mantissa as MANTISSA_T.
15895 [!RADIXI]: Define RADIXI.
15896 [!TWO52]: Define TWO52.
15897 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15899 * manual/nptl.texi (cindex): Modify threads to pthreads.
15901 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15903 * sysdeps/x86_64/preconfigure: Regenerated.
15905 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15908 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15910 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15911 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15913 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15914 * math/libm-test.inc (j0_test): Do not allow one spurious
15915 underflow exception.
15916 (y1_test): Likewise.
15918 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15920 * manual/Makefile (chapters): Add nptl.
15921 * manual/debug.texi (Debugging Support): Add link to Threads
15923 * manual/nptl.texi: New file.
15925 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15927 2013-03-14 Petr Baudis <pasky@ucw.cz>
15929 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15930 for non-NULL pointer before the memory validity test. Pointed
15931 out by Holger Brunck <holger.brunck@keymile.com>.
15933 2013-03-13 Andreas Schwab <schwab@suse.de>
15935 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15938 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15940 * timezone/zic.c: Update from tzcode 2013b.
15942 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15944 * manual/install.texi (Configuring and compiling):
15945 Mention i686 and i586.
15946 * INSTALL: Regenerate.
15948 2013-03-12 Roland McGrath <roland@hack.frob.com>
15950 * sysdeps/init_array/elf-init.c: New file.
15952 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15953 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15955 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15956 __gmon_start__ as global, but as static with a .preinit_array pointer.
15957 * sysdeps/init_array/gmon-start.c: New file. Use that.
15958 * sysdeps/init_array/crti.S: New file, empty except for comments.
15959 * sysdeps/init_array/crtn.S: Likewise.
15961 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15963 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15966 Remove Prefer_SSE_for_memop.
15967 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15968 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15969 HAS_PREFER_SSE_FOR_MEMOP.
15970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15972 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15973 Remove bzero, memset ifunc support.
15974 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15975 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15976 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15977 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15979 2013-03-11 Andreas Schwab <schwab@suse.de>
15982 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15985 (GLIBC_2.16): Remove pthread_atfork.
15987 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15989 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15990 (ptestcases.h): Likewise.
15992 2013-03-08 Roland McGrath <roland@hack.frob.com>
15994 * Makeconfig ($(common-objpfx)config.status): Depend on
15995 sysdeps/*/preconfigure{,.in} too.
15997 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15999 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16000 (__free_hook): Use void * instead of __malloc_ptr_t.
16001 (__malloc_hook): Likewise.
16002 (__realloc_hook): Likewise.
16003 (__memalign_hook): Likewise.
16004 (__after_morecore_hook): Likewise.
16005 * malloc/arena.c (save_malloc_hook): Likewise.
16006 (save_free_hook): Likewise.
16007 * malloc/hooks.c (malloc_hook_ini): Likewise.
16008 (realloc_hook_ini): Likewise.
16009 (memalign_hook_ini): Likewise.
16010 * malloc/malloc.c (malloc_hook_ini): Likewise.
16011 (realloc_hook_ini): Likewise.
16012 (memalign_hook_ini): Likewise.
16013 (__free_hook): Likewise.
16014 (__malloc_hook): Likewise.
16015 (__realloc_hook): Likewise.
16016 (__memalign_hook): Likewise.
16017 (__libc_malloc): Likewise.
16018 (__libc_free): Likewise.
16019 (__libc_realloc): Likewise.
16020 (__libc_memalign): Likewise.
16021 (__libc_valloc): Likewise.
16022 (__libc_pvalloc): Likewise.
16023 (__libc_calloc): Likewise.
16024 (__posix_memalign): Likewise.
16025 * malloc/morecore.c (__sbrk): Likewise.
16026 (__default_morecore): Likewise.
16028 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16030 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16031 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16032 __malloc_ptrdiff_t.
16034 * malloc/malloc.h (__malloc_size_t): Remove macro.
16035 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16037 (old_memalign_hook): Likewise.
16038 (old_realloc_hook): Likewise.
16039 (struct hdr): Likewise.
16041 (mallochook): Likewise.
16042 (memalignhook): Likewise.
16043 (reallochook): Likewise.
16044 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16045 (tr_old_realloc_hook): Likewise.
16046 (tr_old_memalign_hook): Likewise.
16047 (tr_mallochook): Likewise.
16048 (tr_reallochook): Likewise.
16049 (tr_memalignhook): Likewise.
16051 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16054 default_ldbl_pack and using as default implementation.
16055 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16057 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16058 redundant definition.
16059 (ldbl_insert_mantissa): Likewise.
16060 (ldbl_canonicalize): Likewise.
16061 (ldbl_nearbyint): Likewise.
16062 (ldbl_pack): Rename to ldbl_pack_ppc.
16063 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16064 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16065 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16067 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16070 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16072 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16074 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16075 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16076 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16078 2013-03-07 Andreas Jaeger <aj@suse.de>
16080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16083 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16085 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16086 Include mpa.h and declare __MPEXP.
16087 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16089 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16090 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16092 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16093 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16095 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16096 (__slowpow): Use long double EXPL and LOGL functions to
16098 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16099 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16100 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16101 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16102 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16106 intermediate variable to calculate exponent.
16108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16112 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16113 [!NO__SQR]: Define __sqr.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16115 and NO__SQR. Remove all code except __mul and __sqr. Include
16116 sysdeps/ieee754/dbl-64/mpa.c.
16117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16120 * posix/Makefile (tests): Add tst-pathconf.
16121 * posix/tst-pathconf.c: New test case.
16122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16124 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16126 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16128 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16130 2013-03-06 Andreas Jaeger <aj@suse.de>
16132 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16133 definition via __MAP_ANONYMOUS.
16135 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16136 it's not part of Linux headers.
16138 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16139 (MAP_HUGE_MASK): Define.
16141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16143 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16144 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16146 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16147 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16149 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16150 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16152 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16154 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16155 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16156 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16157 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16158 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16165 Handle f2fs and efivarfs.
16167 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16170 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16171 (EFIVARFS_MAGIC): Add.
16172 (F2FS_LINK_MAX): Add.
16174 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16176 * stdio-common/vfprintf.c: Replace __builtin_expect with
16179 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16182 * sysdeps/generic/bp-sym.h: Remove file.
16183 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16184 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16185 <bp-sym.h> and <bp-asm.h>.
16186 (__longjmp): Don't use BP_SYM.
16187 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16189 (memcpy): Don't use BP_SYM.
16190 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16191 <bp-sym.h> and <bp-asm.h>.
16192 (memcpy): Don't use BP_SYM.
16193 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16195 (memcpy): Don't use BP_SYM.
16196 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16198 (memset): Don't use BP_SYM.
16199 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16200 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16201 (__bzero): Don't use BP_SYM.
16202 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16203 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16204 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16205 <bp-sym.h> and <bp-asm.h>.
16206 (memcmp): Don't use BP_SYM. Remove comment about bounded
16208 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16209 <bp-sym.h> and <bp-asm.h>.
16210 (memcpy): Don't use BP_SYM.
16211 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16212 <bp-sym.h> and <bp-asm.h>.
16213 (memset): Don't use BP_SYM.
16214 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16215 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16216 (__bzero): Don't use BP_SYM.
16217 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16218 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16219 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16220 <bp-sym.h> and <bp-asm.h>.
16221 (strncmp): Don't use BP_SYM. Remove comment about bounded
16223 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16224 <bp-sym.h> and <bp-asm.h>.
16225 (memcpy): Don't use BP_SYM.
16226 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16227 <bp-sym.h> and <bp-asm.h>.
16228 (memset): Don't use BP_SYM.
16229 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16230 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16231 (__bzero): Don't use BP_SYM.
16232 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16233 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16235 <bp-sym.h> and <bp-asm.h>.
16236 (__memchr): Don't use BP_SYM.
16237 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16238 <bp-sym.h> and <bp-asm.h>.
16239 (memcmp): Don't use BP_SYM. Remove comment about bounded
16241 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16242 <bp-sym.h> and <bp-asm.h>.
16243 (memcpy): Don't use BP_SYM.
16244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16245 <bp-sym.h> and <bp-asm.h>.
16246 (__mempcpy): Don't use BP_SYM.
16247 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16248 <bp-sym.h> and <bp-asm.h>.
16249 (__memrchr): Don't use BP_SYM.
16250 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16251 <bp-sym.h> and <bp-asm.h>.
16252 (memset): Don't use BP_SYM.
16253 (__bzero): Likewise.
16254 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16255 <bp-sym.h> and <bp-asm.h>.
16256 (__rawmemchr): Don't use BP_SYM.
16257 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16258 <bp-sym.h> and <bp-asm.h>.
16259 (__STRCMP): Don't use BP_SYM.
16260 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16261 <bp-sym.h> and <bp-asm.h>.
16262 (strchr): Don't use BP_SYM.
16263 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16264 <bp-sym.h> and <bp-asm.h>.
16265 (__strchrnul): Don't use BP_SYM.
16266 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16267 <bp-sym.h> and <bp-asm.h>.
16268 (strlen): Don't use BP_SYM.
16269 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16270 <bp-sym.h> and <bp-asm.h>.
16271 (strncmp): Don't use BP_SYM. Remove comment about bounded
16273 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16274 <bp-sym.h> and <bp-asm.h>.
16275 (__strnlen): Don't use BP_SYM.
16276 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16277 <bp-sym.h> and <bp-asm.h>.
16278 (__GI__setjmp): Don't use BP_SYM.
16279 (_setjmp): Likewise.
16280 (__sigsetjmp): Likewise.
16281 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16282 (L(start_addresses)): Don't use BP_SYM.
16283 (_start): Likewise.
16284 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16286 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16287 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16288 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16289 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16290 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16292 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16293 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16294 about bounded pointers.
16295 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16296 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16297 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16299 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16300 about bounded pointers. Remove GKM FIXME comments.
16301 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16302 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16304 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16305 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16306 Remove GKM FIXME comments.
16307 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16308 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16309 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16311 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16312 about bounded pointers. Remove GKM FIXME comment.
16313 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16315 (strncmp): Don't use BP_SYM. Remove comment about bounded
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16318 <bp-sym.h> and <bp-asm.h>.
16319 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16321 <bp-sym.h> and <bp-asm.h>.
16322 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16325 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16327 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16330 2013-03-05 David S. Miller <davem@davemloft.net>
16332 * po/es.po: Update from translation team.
16334 2013-03-05 Andreas Jaeger <aj@suse.de>
16336 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16337 <bits/mman-linux.h>.
16338 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16340 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16341 <bits/mman-linux.h> to end of file.
16342 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16344 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16345 <bits/mman-linux.h> to end of file.
16346 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16349 <bits/mman-linux.h> to end of file.
16351 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16352 (MCL_CURRENT, MCL_FUTURE): Define here.
16354 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16357 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16359 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16361 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16363 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16364 fourth parameter needed for rt_sigprocmask syscall.
16365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16366 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16367 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16368 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16369 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16370 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16372 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16375 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16376 comment about bounded pointers.
16377 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16378 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16380 2013-03-04 Andreas Jaeger <aj@suse.de>
16382 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16383 common definitions.
16385 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16386 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16387 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16388 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16392 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16395 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16396 __ieee754_sqrl instead of __sqrl.
16398 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16400 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16401 * sysdeps/powerpc/fpu_control.h: ... here.
16402 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16403 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16404 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16405 * sysdeps/powerpc/bits/mathinline.h: ... here.
16407 2013-03-01 Roland McGrath <roland@hack.frob.com>
16409 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16410 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16411 to just [NEED_DL_SYSINFO_DSO].
16412 * elf/dl-support.c: Likewise.
16413 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16414 * elf/rtld.c (dl_main): Likewise.
16415 * elf/setup-vdso.h (setup_vdso): Likewise.
16416 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16417 * sysdeps/unix/sysv/linux/dl-sysdep.c
16418 (_dl_discover_osversion): Likewise.
16420 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16422 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16423 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16425 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16427 * NEWS: Mention libm performance improvements and non-x86 PI
16430 * csu/libc-start.c (__pthread_initialize_minimal): Change
16431 function arguments.
16432 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16434 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16437 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16438 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16439 <bp-sym.h> and <bp-asm.h>.
16440 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16441 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16443 (memcpy): Don't use BP_SYM.
16444 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16446 (__mpn_add_n): Don't use BP_SYM.
16447 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16448 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16450 (__mpn_addmul_1): Don't use BP_SYM.
16451 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16452 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16454 (_setjmp): Don't use BP_SYM.
16455 (__novmx_setjmp): Likewise.
16456 (__GI__setjmp): Likewise.
16457 (__vmx_setjmp): Likewise.
16458 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16460 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16461 (__bzero): Don't use BP_SYM.
16462 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16463 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16464 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16465 <bp-sym.h> and <bp-asm.h>.
16466 (memcpy): Don't use BP_SYM.
16467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16468 <bp-sym.h> and <bp-asm.h>.
16469 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16470 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16471 <bp-sym.h> and <bp-asm.h>.
16472 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16473 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16475 (__mpn_lshift): Don't use BP_SYM.
16476 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16477 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16479 (memset): Don't use BP_SYM.
16480 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16481 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16482 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16484 (__mpn_mul_1): Don't use BP_SYM.
16485 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16487 <bp-sym.h> and <bp-asm.h>.
16488 (memcmp): Don't use BP_SYM.
16489 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16490 <bp-sym.h> and <bp-asm.h>.
16491 (memcpy): Don't use BP_SYM.
16492 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16493 <bp-sym.h> and <bp-asm.h>.
16494 (memset): Don't use BP_SYM.
16495 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16496 <bp-sym.h> and <bp-asm.h>.
16497 (strncmp): Don't use BP_SYM.
16498 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16499 <bp-sym.h> and <bp-asm.h>.
16500 (memcpy): Don't use BP_SYM.
16501 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16502 <bp-sym.h> and <bp-asm.h>.
16503 (memset): Don't use BP_SYM.
16504 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16505 <bp-sym.h> and <bp-asm.h>.
16506 (__memchr): Don't use BP_SYM.
16507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16508 <bp-sym.h> and <bp-asm.h>.
16509 (memcmp): Don't use BP_SYM.
16510 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16511 <bp-sym.h> and <bp-asm.h>.
16512 (memcpy): Don't use BP_SYM.
16513 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16514 <bp-sym.h> and <bp-asm.h>.
16515 (__mempcpy): Don't use BP_SYM.
16516 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16517 <bp-sym.h> and <bp-asm.h>.
16518 (__memrchr): Don't use BP_SYM.
16519 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16520 <bp-sym.h> and <bp-asm.h>.
16521 (memset): Don't use BP_SYM.
16522 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (__rawmemchr): Don't use BP_SYM.
16525 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16526 <bp-sym.h> and <bp-asm.h>.
16527 (__STRCMP): Don't use BP_SYM.
16528 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16529 <bp-sym.h> and <bp-asm.h>.
16530 (strchr): Don't use BP_SYM.
16531 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16532 <bp-sym.h> and <bp-asm.h>.
16533 (__strchrnul): Don't use BP_SYM.
16534 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16535 <bp-sym.h> and <bp-asm.h>.
16536 (strlen): Don't use BP_SYM.
16537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16538 <bp-sym.h> and <bp-asm.h>.
16539 (strncmp): Don't use BP_SYM.
16540 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (__strnlen): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16545 (__mpn_rshift): Don't use BP_SYM.
16546 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16547 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16548 <bp-sym.h> and <bp-asm.h>.
16549 (__sigsetjmp): Don't use BP_SYM.
16550 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16551 (L(start_addresses)): Don't use BP_SYM.
16552 (_start): Likewise.
16553 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16555 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16556 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16557 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16558 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16560 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16561 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16562 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16563 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16565 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16567 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16568 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16570 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16572 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16573 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16574 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16576 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16578 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16580 (strncmp): Don't use BP_SYM,
16581 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16583 (__mpn_sub_n): Don't use BP_SYM.
16584 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16585 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16587 (__mpn_submul_1): Don't use BP_SYM.
16588 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16590 <bp-sym.h> and <bp-asm.h>.
16591 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16593 <bp-sym.h> and <bp-asm.h>.
16594 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16597 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16600 Use ZK to minimize writes to Z.
16601 (sub_magnitudes): Simplify code a bit.
16602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16603 Use ZK to minimize writes to Z.
16604 (sub_magnitudes): Simplify code a bit.
16606 2013-02-27 Roland McGrath <roland@hack.frob.com>
16608 * csu/gmon-start.c: Add special exception to license text.
16610 2013-02-27 Richard Henderson <rth@redhat.com>
16612 * scripts/config.guess: Update from config.git.
16613 * scripts/config.sub: Likewise.
16615 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16617 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16619 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16621 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16623 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16625 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16627 2013-02-26 Roland McGrath <roland@hack.frob.com>
16629 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16630 [$(build-shared = yes].
16632 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16634 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16635 (__mul): Reduce iterations for calculating mantissa.
16637 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16639 (__mpranred): Likewise.
16642 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16643 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16645 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16647 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16648 Define __attribute__.
16650 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16652 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16654 * posix/regex_internal.h (__attribute): Remove.
16655 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16656 (re_string_context_at): Likewise.
16657 (bitset_not): Use __attribute__ and mark function as possibly
16659 (bitset_merge): Likewise.
16660 (bitset_mask): Likewise.
16661 (re_string_char_size_at): Likewise.
16662 (re_string_wchar_at): Likewise.
16663 (re_string_elem_size_at): Likewise.
16665 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16667 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16671 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16675 (denorm): Likewise.
16676 (__dbl_mp): Likewise.
16677 (add_magnitudes): Likewise.
16678 (sub_magnitudes): Likewise.
16682 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16685 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16688 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16692 up changes with default code.
16693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16696 2013-02-24 Allan McRae <allan@archlinux.org>
16698 * manual/socket.texi (The Internet Namespace): Order menu items
16699 to match that in the file.
16701 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16702 node listing of the info page menu.
16704 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16707 * sysdeps/i386/bp-asm.h: Remove file.
16708 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16709 (PARMS): Do not use macros from bp-asm.h.
16713 (__mpn_add_n): Do not use BP_SYM
16714 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16716 (PARMS): Do not use macros from bp-asm.h.
16719 (__mpn_addmul_1): Do not use BP_SYM
16720 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16722 (PARMS): Do not use macros from bp-asm.h.
16723 (SIGMSK): Likewise.
16724 (_setjmp): Likewise. Do not use BP_SYM.
16725 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16727 (PARMS): Do not use macros from bp-asm.h.
16728 (SIGMSK): Likewise.
16729 (setjmp): Likewise. Do not use BP_SYM.
16730 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16732 (PARMS): Do not use macros from bp-asm.h.
16733 (__frexp): Do not use BP_SYM.
16735 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16737 (PARMS): Do not use macros from bp-asm.h.
16738 (__frexpf): Do not use BP_SYM.
16739 (frexpf): Likewise.
16740 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16742 (PARMS): Do not use macros from bp-asm.h.
16743 (__frexpl): Do not use BP_SYM.
16744 (frexpl): Likewise.
16745 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16747 (PARMS): Do not use macros from bp-asm.h.
16748 (__remquo): Do not use BP_SYM.
16749 (remquo): Likewise.
16750 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16752 (PARMS): Do not use macros from bp-asm.h.
16753 (__remquof): Do not use BP_SYM.
16754 (remquof): Likewise.
16755 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16757 (PARMS): Do not use macros from bp-asm.h.
16758 (__remquol): Do not use BP_SYM.
16759 (remquol): Likewise.
16760 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16762 (PARMS): Do not use macros from bp-asm.h.
16765 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16766 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16768 (PARMS): Do not use macros from bp-asm.h.
16769 (strlen): Do not use BP_SYM.
16770 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16772 (PARMS): Do not use macros from bp-asm.h.
16776 (__mpn_add_n): Do not use BP_SYM.
16777 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16779 (PARMS): Do not use macros from bp-asm.h.
16782 (__mpn_addmul_1): Do not use BP_SYM.
16783 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16786 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16788 (PARMS): Do not use macros from bp-asm.h.
16791 (__mpn_lshift): Do not use BP_SYM.
16792 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16794 (PARMS): Do not use macros from bp-asm.h.
16798 (memcpy): Likewise. Do not use BP_SYM.
16799 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16800 libc_hidden_def and weak_alias.
16801 (mempcpy): Do not use BP_SYM in weak_alias.
16802 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16804 (PARMS): Do not use macros from bp-asm.h.
16807 [!BZERO_P] (CHR): Likewise.
16808 (memset): Likewise. Do not use BP_SYM.
16809 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16811 (PARMS): Do not use macros from bp-asm.h.
16814 (__mpn_mul_1): Do not use BP_SYM.
16815 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16817 (PARMS): Do not use macros from bp-asm.h.
16820 (__mpn_rshift): Do not use BP_SYM.
16821 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16823 (PARMS): Do not use macros from bp-asm.h.
16826 (strchr): Likewise. Do not use BP_SYM.
16827 (index): Do not use BP_SYM in weak_alias.
16828 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16830 (PARMS): Do not use macros from bp-asm.h.
16833 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16834 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16836 (PARMS): Do not use macros from bp-asm.h.
16837 (strlen): Do not use BP_SYM.
16838 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16840 (PARMS): Do not use macros from bp-asm.h.
16844 (__mpn_sub_n): Do not use BP_SYM.
16845 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16847 (PARMS): Do not use macros from bp-asm.h.
16850 (__mpn_submul_1): Do not use BP_SYM.
16851 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16853 (PARMS): Do not use macros from bp-asm.h.
16857 (__mpn_add_n): Do not use BP_SYM.
16858 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16861 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16863 (PARMS): Do not use macros from bp-asm.h.
16866 (memcmp): Do not use BP_SYM.
16867 (bcmp): Do not use BP_SYM in weak_alias.
16868 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16870 (PARMS): Do not use macros from bp-asm.h.
16874 (memcpy): Likewise. Do not use BP_SYM.
16875 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16877 (PARMS): Do not use macros from bp-asm.h.
16881 (memmove): Likewise. Do not use BP_SYM.
16882 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16884 (PARMS): Do not use macros from bp-asm.h.
16888 (__mempcpy): Likewise. Do not use BP_SYM.
16889 (mempcpy): Do not use BP_SYM in weak_alias.
16890 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16892 (PARMS): Do not use macros from bp-asm.h.
16895 [!BZERO_P] (CHR): Likewise.
16896 (memset): Likewise. Do not use BP_SYM.
16897 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16899 (PARMS): Do not use macros from bp-asm.h.
16901 (strcmp): Do not use BP_SYM.
16902 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16904 (PARMS): Do not use macros from bp-asm.h.
16907 [USE_AS_STRTOK_R] (SAVE): Likewise.
16908 (FUNCTION): Likewise. Do not use BP_SYM.
16909 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16911 (strtok_r): Likewise.
16912 (__GI___strtok_r): Likewise.
16913 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16914 (PARMS): Do not use macros from bp-asm.h.
16917 (__mpn_lshift): Do not use BP_SYM.
16918 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16919 (PARMS): Do not use macros from bp-asm.h.
16922 (__memchr): Do not use BP_SYM.
16923 (memchr): Do not use BP_SYM in weak_alias.
16924 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16925 (PARMS): Do not use macros from bp-asm.h.
16928 (memcmp): Do not use BP_SYM.
16929 (bcmp): Do not use BP_SYM in weak_alias.
16930 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16931 (PARMS): Do not use macros from bp-asm.h.
16934 (__mpn_mul_1): Do not use BP_SYM.
16935 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16937 (PARMS): Do not use macros from bp-asm.h.
16940 (__rawmemchr): Do not use BP_SYM.
16941 (rawmemchr): Do not use BP_SYM in weak_alias.
16942 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16943 (PARMS): Do not use macros from bp-asm.h.
16946 (__mpn_rshift): Do not use BP_SYM.
16947 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16948 (PARMS): Do not use macros from bp-asm.h.
16949 (SIGMSK): Likewise.
16950 (__sigsetjmp): Likewise. Do not use BP_SYM.
16951 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16952 (_start): Do not use BP_SYM.
16953 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16954 (PARMS): Do not use macros from bp-asm.h.
16957 (__stpcpy): Likewise. Do not use BP_SYM.
16958 (stpcpy): Do not use BP_SYM in weak_alias.
16959 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16961 (PARMS): Do not use macros from bp-asm.h.
16965 (__stpncpy): Likewise. Do not use BP_SYM.
16966 (stpncpy): Do not use BP_SYM in weak_alias.
16967 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16968 (PARMS): Do not use macros from bp-asm.h.
16971 (strchr): Likewise. Do not use BP_SYM.
16972 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16974 (PARMS): Do not use macros from bp-asm.h.
16977 (__strchrnul): Likewise. Do not use BP_SYM.
16978 (strchrnul): Do not use BP_SYM in weak_alias.
16979 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16981 (PARMS): Do not use macros from bp-asm.h.
16983 (strcspn): Do not use BP_SYM.
16984 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16986 (PARMS): Do not use macros from bp-asm.h.
16989 (strpbrk): Likewise. Do not use BP_SYM.
16990 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16992 (PARMS): Do not use macros from bp-asm.h.
16995 (strrchr): Likewise. Do not use BP_SYM.
16996 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16997 (PARMS): Do not use macros from bp-asm.h.
16999 (strspn): Do not use BP_SYM.
17000 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17001 (PARMS): Do not use macros from bp-asm.h.
17005 (FUNCTION): Likewise. Do not use BP_SYM.
17006 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17008 (strtok_r): Likewise.
17009 (__GI___strtok_r): Likewise.
17010 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17011 (PARMS): Do not use macros from bp-asm.h.
17015 (__mpn_sub_n): Do not use BP_SYM.
17016 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17018 (PARMS): Do not use macros from bp-asm.h.
17021 (__mpn_submul_1): Do not use BP_SYM.
17022 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17024 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17026 (PARMS): Do not use macros from bp-asm.h.
17031 (__clone): Do not use BP_SYM.
17032 (clone): Do not use BP_SYM in weak_alias.
17033 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17035 (PARMS): Do not use macros from bp-asm.h.
17037 (__mmap64): Do not use BP_SYM.
17038 (mmap64): Do not use BP_SYM in weak_alias.
17039 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17040 <bp-sym.h> and <bp-asm.h>.
17041 (PARMS): Do not use macros from bp-asm.h.
17042 (__posix_fadvise64_l64): Do not use BP_SYM.
17043 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17044 (PARMS): Do not use macros from bp-asm.h.
17046 (semtimedop): Do not use BP_SYM.
17047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17050 2013-02-21 Allan McRae <allan@archlinux.org>
17052 * manual/message.texi (Charset conversion in gettext):
17053 Move @end statement to beginning of line.
17055 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17062 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17063 (denorm): Likewise.
17064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17067 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17069 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17070 tail-call to the resolved function if pltexit isn't needed.
17072 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17075 or Y being zero as being unlikely.
17076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17079 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17081 * manual/nss.texi (System Databases and Name Service Switch):
17082 Remove frobnicate @pxref.
17084 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17086 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17087 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17089 2013-02-20 Petr Machata <pmachata@redhat.com>
17091 * elf/elf.h (R_ARM_TARGET1): New macro.
17092 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17093 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17094 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17095 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17096 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17097 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17098 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17099 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17100 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17101 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17102 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17103 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17104 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17105 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17106 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17107 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17108 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17109 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17110 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17111 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17112 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17113 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17114 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17115 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17116 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17117 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17118 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17119 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17120 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17121 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17122 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17123 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17124 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17125 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17126 (R_ARM_THM_GOT_BREL12): Likewise.
17127 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17128 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17129 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17130 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17131 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17132 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17133 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17134 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17135 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17137 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17139 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17140 __attribute_used__ to __attribute__ ((unused)).
17142 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17144 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17147 comment formatting.
17148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17150 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17153 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17155 (ENTER): Remove both macro definitions.
17157 (CHECK_BOUNDS_LOW): Likewise.
17158 (CHECK_BOUNDS_HIGH): Likewise.
17159 (CHECK_BOUNDS_BOTH): Likewise.
17160 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17161 (RETURN_BOUNDED_POINTER): Likewise.
17162 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17163 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17164 (POP_ERRNO_LOCATION_RETURN): Likewise.
17165 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17166 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17167 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17169 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17170 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17171 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17172 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17173 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17174 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17175 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17176 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17177 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17178 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17179 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17180 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17181 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17182 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17184 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17185 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17187 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17188 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17189 * sysdeps/i386/i586/memset.S (memset): Likewise.
17190 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17191 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17192 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17194 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17195 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17196 Change uses of L(2) to L(out).
17197 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17198 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17199 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17200 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17201 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17203 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17204 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17206 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17207 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17208 (RETURN): Do not use macro LEAVE.
17209 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17210 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17211 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17212 * sysdeps/i386/i686/memset.S (memset): Likewise.
17213 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17214 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17215 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17216 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17218 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17219 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17220 L(1_2) and L(1_3) into L(1).
17221 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17222 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17223 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17224 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17225 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17226 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17227 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17228 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17229 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17231 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17232 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17233 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17234 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17235 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17236 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17237 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17238 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17239 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17240 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17241 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17242 * sysdeps/i386/strspn.S (strspn): Likewise.
17243 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17245 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17246 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17247 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17248 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17249 L(1_3) into L(1_1).
17250 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17251 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17254 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17256 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17258 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17261 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17263 * math/atest-exp.c (exp_mpn): Remove ROUND.
17264 * math/atest-exp2.c (exp_mpn): Likewise.
17265 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17267 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17268 * stdlib/tst-tls-atexit-lib.c: Likewise.
17269 * stdlib/tst-tls-atexit.c: Likewise.
17271 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17273 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17274 and __attribute_alloc_size__.
17276 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17278 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17279 __attribute_alloc_size__.
17280 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17281 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17283 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17285 * include/programs/xmalloc.h: New file.
17286 * catgets/gencat.c: Include it.
17287 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17288 * elf/pldd.c: Likewise.
17289 * iconv/iconv_charmap.c: Likewise.
17290 * iconv/iconvconfig.c: Likewise.
17291 * iconv/strtab.c: Likewise.
17292 * locale/programs/locale.c: Likewise.
17293 * locale/programs/localedef.h: Likewise.
17294 * locale/programs/simple-hash.c: Likewise.
17295 * nscd/nscd.h: Likewise.
17296 * nss/makedb.c: Likewise.
17297 * sysdeps/generic/ldconfig.h: Likewise.
17299 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17301 * Versions.def: Add GLIBC_2.18.
17302 * include/link.h (struct link_map): New member l_tls_dtor_count.
17303 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17304 (__call_tls_dtors): Likewise.
17305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17306 __cxa_thread_atexit_impl.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17323 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17324 (tests): Add test case tst-tls-atexit.
17325 (modules-names): Add shared library for tst-tls-atexit.
17326 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17327 (GLIBC_PRIVATE): Add __call_tls_dtors.
17328 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17330 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17331 * stdlib/tst-tls-atexit.c: New test case.
17332 * stdlib/tst-tls-atexit-lib.c: New test case.
17334 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17336 * elf/Versions (ld): Add _dl_find_dso_for_object.
17337 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17338 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17339 (dl_open_worker): Use _dl_find_dso_for_object.
17340 * elf/dl-sym.c (do_sym): Likewise.
17341 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17343 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17345 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17346 Syntactic changes only.
17347 (_dl_runtime_profile): Do a tail-call to the resolved function.
17349 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17352 * sysdeps/x86_64/bp-asm.h: Remove file.
17353 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17354 <bp-sym.h> and <bp-asm.h>.
17355 (__clone): Do not use BP_SYM.
17356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17357 <bp-sym.h> and <bp-asm.h>.
17358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17359 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17361 (_setjmp): Do not use BP_SYM.
17362 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17364 (setjmp): Do not use BP_SYM.
17365 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17367 (mempcpy): Do not use BP_SYM in weak_alias.
17368 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17370 (strchr): Do not use BP_SYM.
17371 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17373 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17374 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17375 (_start): Do not use BP_SYM.
17376 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17378 (strcat): Do not use BP_SYM.
17379 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17381 (STRCMP): Do not use BP_SYM.
17382 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17384 (STRCPY): Do not use BP_SYM.
17385 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17387 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17389 (FUNCTION): Do not use BP_SYM.
17390 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17392 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17394 2013-02-17 Andreas Jaeger <aj@suse.de>
17396 * time/Versions: Sort entries.
17397 * string/Versions: Likewise.
17398 * resolv/Versions: Likewise.
17399 * posix/Versions: Likewise.
17400 * iconv/Versions: Likewise.
17401 * elf/Versions: Likewise.
17402 * wcsmbs/Versions: Likewise.
17404 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17406 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17407 loop termination condition.
17409 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17410 variable to calculate EZ.
17413 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17414 the lower precision input.
17416 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17419 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17420 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17421 (run-via-rtld-prefix): Do not handle %-bp tests.
17422 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17423 (all-object-suffixes): Remove .ob.
17424 (bppfx): Remove variable.
17425 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17426 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17427 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17428 [$(build-bounded) = yes] (libtype.ob): Likewise.
17429 * Makerules (elide-routines.ob): Remove variable.
17430 (do-tests-clean): Do not handle *-bp.out.
17431 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17432 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17433 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17434 (tests): Do not include $(tests-bp.out).
17435 (xtests): Do not include $(xtests-bp.out).
17436 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17437 [$(build-bounded) = yes] ($(addprefix
17438 $(objpfx),$(binaries-bounded))): Remove rule.
17439 ($(objpfx)%-bp.out): Remove rule.
17440 * config.make.in (build-bounded): Remove variable.
17441 * crypt/Makefile [$(build-bounded) = yes]
17442 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17443 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17444 append to variable.
17445 [$(build-bounded) = yes] (install-lib): Likewise.
17446 [$(build-bounded) = yes] (generated): Likewise.
17447 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17449 * intl/Makefile [$(build-bounded) = yes]
17450 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17451 * math/Makefile [$(build-bounded) = yes]
17452 ($(tests:%=$(objpfx)%-bp): Likewise.
17453 * misc/Makefile [$(build-bounded) = yes]
17454 ($(objpfx)tst-tsearch-bp): Likewise.
17455 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17456 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17458 * string/Makefile (o-objects.ob): Remove variable.
17459 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17460 (CFLAGS-.ob): Remove variable.
17461 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17462 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17463 both definitions of variable.
17464 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17465 (ASFLAGS-.ob): Remove variable.
17467 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17470 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17471 Remove __BOUNDED_POINTERS__ from condition.
17472 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17473 * string/bits/string2.h [!__NO_STRING_INLINES &&
17474 !__BOUNDED_POINTERS__]: Likewise.
17475 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17477 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17478 Remove conditional code.
17479 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17480 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17481 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17485 * csu/libc-start.c: Do not include <bp-sym.h>.
17486 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17487 * elf/dl-open.c: Do not include <bp-sym.h>.
17488 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17489 * math/fegetenv.c: Do not include <bp-sym.h>.
17490 (fegetenv): Do not use BP_SYM in versioned symbols.
17491 * nptl/sysdeps/pthread/bits/libc-lockP.h
17492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17495 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17497 (__pthread_mutex_destroy): Likewise.
17498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17499 (__pthread_mutex_lock): Likewise.
17500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17501 (__pthread_mutex_trylock): Likewise.
17502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17503 (__pthread_mutex_unlock): Likewise.
17504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17505 (__pthread_mutexattr_init): Likewise.
17506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17507 (__pthread_mutexattr_destroy): Likewise.
17508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17509 (__pthread_mutexattr_settype): Likewise.
17510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17511 (__pthread_rwlock_init): Likewise.
17512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17513 (__pthread_rwlock_destroy): Likewise.
17514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17515 (__pthread_rwlock_rdlock): Likewise.
17516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17517 (__pthread_rwlock_tryrdlock): Likewise.
17518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17519 (__pthread_rwlock_wrlock): Likewise.
17520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17521 (__pthread_rwlock_trywrlock): Likewise.
17522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17523 (__pthread_rwlock_unlock): Likewise.
17524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17525 (__pthread_key_create): Likewise.
17526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17527 (__pthread_setspecific): Likewise.
17528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17529 (__pthread_getspecific): Likewise.
17530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17533 (_pthread_cleanup_push_defer): Likewise.
17534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17535 (_pthread_cleanup_pop_restore): Likewise.
17536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17537 (pthread_setcancelstate): Likewise.
17538 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17540 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17541 (memchr): Do not use BP_SYM in weak_alias.
17542 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17543 (fegetenv): Do not use BP_SYM in versioned symbols.
17544 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17545 (fesetenv): Do not use BP_SYM in versioned symbols.
17546 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17547 (feupdateenv): Do not use BP_SYM in versioned symbols.
17548 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17549 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17550 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17551 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17552 (open64): Do not use BP_SYM in weak_alias.
17553 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17554 (fegetenv): Do not use BP_SYM in versioned symbols.
17555 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17556 (fesetenv): Do not use BP_SYM in versioned symbols.
17557 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17558 (feupdateenv): Do not use BP_SYM in versioned symbols.
17559 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17560 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17561 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17562 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17563 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17564 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17567 (__libc_start_main): Do not use BP_SYM.
17569 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17572 redundant return line.
17574 (denorm): Likewise.
17575 (dbl_mp): Likewise.
17576 (sub_magnitudes): Likewise.
17582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17584 (denorm): Likewise.
17585 (dbl_mp): Likewise.
17586 (sub_magnitudes): Likewise.
17593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17595 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17596 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17599 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17600 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17602 of __mul for squares.
17603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17607 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17610 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17613 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17615 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17616 prototype or function definition. Rename ubp_* variables and
17617 parameters. Remove argv definitions conditional on
17618 [__BOUNDED_POINTERS__].
17619 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17620 * elf/dl-runtime.c (_dl_fixup): Likewise.
17621 * include/set-hooks.h (RUN_HOOK): Likewise.
17622 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17624 * string/strcpy.c (strcpy): Do not use __unbounded.
17625 * sysdeps/generic/frame.h (struct layout): Likewise.
17626 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17627 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17628 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17629 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17630 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17631 (__backtrace): Likewise.
17632 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17634 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17635 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17636 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17638 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17639 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17640 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17641 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17642 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17643 Do not use __unbounded.
17644 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17645 Rename __unboundedrlimits parameter to rlimits in prototype.
17646 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17647 Do not use __unbounded.
17648 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17649 not use __ptrvalue.
17650 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17651 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17652 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17653 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17654 __ptrvalue or __unbounded.
17655 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17656 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17658 (__new_msgctl): Do not use __ptrvalue.
17659 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17661 (__libc_msgrcv): Do not use __ptrvalue.
17662 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17663 startup_info): Do not use __unbounded.
17664 (__libc_start_main): Likewise. Rename ubp_* variables and
17665 parameters. Remove argv definitions conditional on
17666 [__BOUNDED_POINTERS__].
17667 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17669 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17671 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17673 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17675 (__new_shmctl): Do not use __ptrvalue.
17676 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17677 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17679 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17680 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17681 (__libc_sigaction): Likewise.
17682 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17685 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17687 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17689 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17691 * string/mempcpy.c: Implement by calling memcpy.
17693 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17700 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17701 values in the mantissa.
17703 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17704 minimize writes to Z.
17705 (sub_magnitudes): Simplify code a bit.
17707 2013-02-12 Roland McGrath <roland@hack.frob.com>
17709 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17710 from the message. The linker prefixes all warnings with that already.
17712 2013-02-12 Andreas Schwab <schwab@suse.de>
17715 * posix/regexec.c (extend_buffers): Add parameter min_len.
17716 (check_matching): Pass minimum needed length.
17717 (clean_state_log_if_needed): Likewise.
17718 (get_subexp): Likewise.
17719 * posix/Makefile (tests): Add bug-regex34.
17720 (bug-regex34-ENV): Define.
17721 * posix/bug-regex34.c: New file.
17724 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17725 elements compare against the byte sequence of it, not its name.
17726 * posix/Makefile (tests): Add bug-regex35.
17727 (bug-regex35-ENV): Define.
17728 * posix/bug-regex35.c: New file.
17730 2013-02-11 Tom de Vries <tom@codesourcery.com>
17732 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17734 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17735 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17736 (CHECK_EOL): Add undef.
17738 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17740 * bits/stdlib-bsearch.h: New file.
17741 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17742 * stdlib/stdlib.h: Likewise.
17744 2013-02-11 Roland McGrath <roland@hack.frob.com>
17746 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17747 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17749 * manual/search.texi (Array Search Function): Add missing const in
17751 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17752 declaration to use rlim_t.
17753 (Basic Scheduling Functions): Remove erroneous const from
17754 sched_getparam prototype. Remove erroneous * from
17755 sched_get_priority_max and sched_get_priority_min prototypes.
17756 (Resource Usage): Fix summary @comment on vtimes to refer to
17757 sys/vtimes.h rather than vtimes.h.
17758 Add missing *s in vtimes prototype.
17759 (Limits on Resources): Fix ulimit prototype to return long int.
17760 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17761 prototypes to use long int rather than double.
17762 (BSD Random): Fix initstate and setstate to use char *, not void *.
17763 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17764 prototype to make second argument 'struct aiocb64 *const[]'.
17765 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17766 (Status of AIO Operations): Remove erroneous const in aio_return and
17767 aio_return64 prototypes.
17768 (Synchronizing I/O): Fix sync prototype to return void.
17769 * manual/startup.texi (Suboptions): Remove an erroneous const in
17770 getsubopt prototype.
17771 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17772 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17773 use size_t rather than int.
17774 (Scanning All Users): Likewise for getpwent_r.
17775 (Setting Groups): Add missing const to setgroups prototype.
17776 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17777 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17778 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17779 'const void *' rather than 'const char *'.
17780 (Host Address Functions): Likewise for inet_ntop.
17781 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17782 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17783 ssize_t for return value.
17784 (Sending Data): Likewise for send, sendto, sendmsg.
17785 (Socket Option Functions): Add a missing const in setsockopt prototype.
17786 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17787 use wchar_t for the argument.
17788 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17789 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17791 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17792 double/float/long double for second argument.
17793 Fix return types of significand, significandf, significandl.
17794 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17795 argument in fchmod prototype.
17796 (File Owner): Use uid_t and gid_t in fchown prototype.
17797 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17798 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17799 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17800 use 'const struct dirent **' as argument types to CMP function pointer
17802 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17803 (File Times): Fix summary magic @comment for struct utimbuf and utime
17804 to refer to utime.h, not time.h.
17805 * manual/string.texi (Argz Functions): Add missing const in
17806 argz_extract and argz_next prototypes.
17807 (Finding Tokens in a String): Likewise for basename.
17808 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17809 (Copying and Concatenation): Fix typo in wmemmove prototype.
17810 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17811 (Signal Stack): Remove erroneous const in sigstack prototype.
17812 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17814 (Simple Calendar Time): Likewise for stime.
17815 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17817 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17818 say sys/sysctl.h instead.
17819 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17820 and vsyslog prototypes.
17822 2013-02-11 Tom de Vries <tom@codesourcery.com>
17824 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17827 2013-02-11 Roland McGrath <roland@hack.frob.com>
17829 * misc/sys/mman.h: Fix typo in mremap comment.
17831 2013-02-08 Roland McGrath <roland@hack.frob.com>
17833 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17834 the '\0' terminator.
17836 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17839 * debug/segfault.c: Don't include <bp-checks.h>.
17840 * sysdeps/generic/bp-checks.h: Remove file.
17841 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17842 (__GETDENTS): Don't use CHECK_N.
17843 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17844 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17845 (__getgroups): Don't use CHECK_N.
17846 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17847 (setgroups): Don't use CHECK_N.
17848 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17849 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17850 (__libc_msgrcv): Don't use CHECK_N.
17851 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17852 (__libc_msgsnd): Don't use CHECK_N.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17855 (__libc_pread): Don't use CHECK_N.
17856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17857 include <bp-checks.h>.
17858 (__libc_pread64): Don't use CHECK_N.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17860 include <bp-checks.h>.
17861 (__libc_pwrite): Don't use CHECK_N.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17863 include <bp-checks.h>.
17864 (__libc_pwrite64): Don't use CHECK_N.
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17867 (__libc_pread): Don't use CHECK_N.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17869 include <bp-checks.h>.
17870 (__libc_pread64): Don't use CHECK_N.
17871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17872 include <bp-checks.h>.
17873 (__libc_pwrite): Don't use CHECK_N.
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17875 include <bp-checks.h>.
17876 (__libc_pwrite64): Don't use CHECK_N.
17877 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17878 (do_pread): Don't use CHECK_N.
17879 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17880 (do_pread64): Don't use CHECK_N.
17881 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17882 (do_pwrite): Don't use CHECK_N.
17883 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17884 (do_pwrite64): Don't use CHECK_N.
17885 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17886 (__libc_readv): Don't use CHECK_N.
17887 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17888 (semop): Don't use CHECK_N.
17889 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17891 (semtimedop): Don't use CHECK_N.
17892 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17893 (__libc_pread): Don't use CHECK_N.
17894 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17896 (__libc_pread64): Don't use CHECK_N.
17897 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17899 (__libc_pwrite): Don't use CHECK_N.
17900 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17902 (__libc_pwrite64): Don't use CHECK_N.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17905 (__libc_msgrcv): Don't use CHECK_N.
17906 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17907 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17908 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17909 (__libc_writev): Don't use CHECK_N.
17911 2013-02-08 Roland McGrath <roland@hack.frob.com>
17913 * string/strcpy.c: Removed unused variable.
17915 * Makeconfig (+sysdep-includes): Define with := rather than =.
17916 Use an existing include/ subdir of each sysdeps dir before it.
17918 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17920 * nscd/connection.c (register_traced_file): Comment function.
17921 [HAVE_INOTIFY] (union __inev): Define.
17922 [HAVE_INOTIFY] (inotify_check_files): New function.
17923 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17924 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17926 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17928 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17930 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17931 loaded if not already and that a failure is permanent.
17933 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17936 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17937 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17939 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17942 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17943 (CHECK_1_NULL_OK): Likewise.
17944 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17945 (__fxstat): Do not use CHECK_1.
17946 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17948 (___fxstat64): Do not use CHECK_1.
17949 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17951 (__fxstatat): Do not use CHECK_1.
17952 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17954 (__fxstatat64): Do not use CHECK_1.
17955 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17957 (__fxstat): Do not use CHECK_1.
17958 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17960 (__fxstatat): Do not use CHECK_1.
17961 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17963 (__getresgid): Do not use CHECK_1.
17964 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17966 (__getresuid): Do not use CHECK_1.
17967 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17969 (__lxstat): Do not use CHECK_1.
17970 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17972 (__old_msgctl): Do not use CHECK_1.
17973 (__new_msgctl): Likewise.
17974 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17976 (__new_setrlimit): Do not use CHECK_1.
17977 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17979 (__old_shmctl): Do not use CHECK_1.
17980 (__new_shmctl): Likewise.
17981 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17983 (__xstat): Do not use CHECK_1.
17984 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17985 (__lxstat): Do not use CHECK_1.
17986 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17988 (___lxstat64): Do not use CHECK_1.
17989 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17990 (__old_msgctl): Do not use CHECK_1.
17991 (__new_msgctl): Likewise.
17992 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17994 (__gettimeofday): Do not use CHECK_1.
17995 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17996 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17997 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17999 (__gettimeofday): Do not use CHECK_1.
18000 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18001 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18002 (__new_shmctl): Do not use CHECK_1.
18003 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18005 (do_sigtimedwait): Do not use CHECK_1.
18006 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18008 (do_sigwaitinfo): Do not use CHECK_1.
18009 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18011 (msgctl): Do not use CHECK_1.
18012 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18014 (shmctl): Do not use CHECK_1.
18015 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18016 (ustat): Do not use CHECK_1.
18017 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18019 (__fxstat): Do not use CHECK_1.
18020 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18022 (__fxstatat): Do not use CHECK_1.
18023 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18025 (__lxstat): Do not use CHECK_1.
18026 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18028 (__xstat): Do not use CHECK_1.
18029 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18030 (__xstat): Do not use CHECK_1.
18031 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18032 (___xstat64): Do not use CHECK_1.
18035 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18037 (CHECK_BOUNDS_HIGH): Likewise.
18038 * string/strcpy.c: Do not include <bp-checks.h>.
18039 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18041 2013-02-07 Roland McGrath <roland@hack.frob.com>
18043 * nscd/nscd-client.h (__nscd_drop_map_ref):
18044 Add __attribute__ ((unused)).
18045 * nis/nss-nisplus.h (niserr2nss): Likewise.
18047 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18048 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18050 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18051 Remove inline keyword.
18052 * include/rounding-mode.h (round_away): Likewise.
18053 * libio/wfileops.c (adjust_wide_data): Likewise.
18054 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18055 (__m128i_strloadu_tolower): Likewise.
18056 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18057 (__m128i_strloadu_tolower): Likewise.
18058 * time/mktime.c (ydhms_diff): Likewise.
18059 * locale/elem-hash.h (elem_hash): Likewise.
18060 * locale/setlocale.c (setdata): Likewise.
18061 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18062 (re_string_wchar_at): Likewise.
18063 (bitset_not, bitset_merge, bitset_mask): Likewise.
18064 [!(__GNUC__ > 3)] (inline): Remove macro.
18065 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18066 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18067 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18068 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18069 * string/memcmp.c (memcmp_bytes): Likewise.
18070 * locale/programs/locarchive.c (compute_hashval): Likewise.
18071 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18072 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18073 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18074 * nss/getent.c (print_rpc, print_protocols): Likewise.
18075 (print_passwd, print_group, print_aliases): Likewise.
18076 * nis/nss-nisplus.h (niserr2nss): Likewise.
18077 * nscd/connections.c (restart_p): Likewise.
18078 Change return type to bool.
18080 2013-02-05 Roland McGrath <roland@hack.frob.com>
18082 * Makeconfig (all-Depend-files): Add existing
18083 $(sorted-subdirs:=/Depend) files.
18084 (all-subdirs): Remove nss.
18085 * sysdeps/unix/inet/Subdirs: Add it here instead.
18086 * hesiod/Depend: New file.
18088 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18089 instead of calling alloca.
18091 * io/lseek.c (__lseek): Rename to __libc_lseek.
18092 Define __lseek as an alias.
18094 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18096 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18098 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18099 else clause and remove check for non-standard endianness.
18101 2013-02-04 David S. Miller <davem@davemloft.net>
18103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18105 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18108 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18109 (__ubp_memchr): Remove prototype.
18110 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18111 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18112 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18113 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18114 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18116 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18117 (__ubp_memchr): Likewise.
18118 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18119 (__ubp_memchr): Likewise.
18120 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18121 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18122 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18123 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18125 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18126 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18127 (__getcwd): Do not use CHECK_STRING.
18128 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18130 (__real_chown): Do not use CHECK_STRING.
18131 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18133 (fchownat): Do not use CHECK_STRING.
18134 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18136 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18138 (__lchown): Do not use CHECK_STRING.
18139 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18140 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18141 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18142 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18144 include <bp-checks.h>.
18145 (truncate64): Do not use CHECK_STRING.
18146 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18148 (__real_chown): Do not use CHECK_STRING.
18149 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18151 (__lchown): Do not use CHECK_STRING.
18152 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18154 (__chown): Do not use CHECK_STRING.
18155 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18157 (truncate64): Do not use CHECK_STRING.
18158 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18160 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18161 (__xmknod): Do not use CHECK_STRING.
18162 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18164 (__xmknodat): Do not use CHECK_STRING.
18165 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18166 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18168 2013-02-04 Andreas Schwab <schwab@suse.de>
18171 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18172 * include/netdb.h: Likewise for h_errno.
18173 * elf/tst-stackguard1.c: Include <tls.h>.
18175 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18177 * elf/link.h (struct link_map): Extend the l_addr comment.
18178 * include/link.h (struct link_map): Likewise.
18180 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18183 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18184 (BOUNDED_1): Remove macro.
18185 * debug/backtrace.c: Don't include <bp-checks.h>.
18186 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18187 (__backtrace): Likewise.
18188 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18190 (__backtrace): Don't use BOUNDED_1.
18191 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18193 (__backtrace): Don't use BOUNDED_1.
18194 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18195 (__backtrace): Don't use BOUNDED_1.
18196 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18197 (shmat): Don't use BOUNDED_N.
18199 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18202 * sysdeps/generic/bp-start.h: Remove file.
18203 * csu/libc-start.c: Don't include <bp-start.h>.
18204 (LIBC_START_MAIN): Set up __environ directly instead of using
18205 INIT_ARGV_and_ENVIRON.
18206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18210 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18212 (CHECK_FCNTL): Likewise.
18213 (CHECK_N_PAGES): Likewise.
18216 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18218 (CHECK_SIGSET_NULL_OK): Likewise.
18219 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18221 (sigpending): Don't use CHECK_SIGSET.
18222 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18224 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18225 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18227 (do_sigsuspend): Don't use CHECK_SIGSET.
18228 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18230 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18231 (do_sigwait): Don't use CHECK_SIGSET.
18232 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18235 include <bp-checks.h>.
18236 (sigpending): Don't use CHECK_SIGSET.
18237 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18238 include <bp-checks.h>.
18239 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18240 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18242 (sigpending): Don't use CHECK_SIGSET.
18243 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18245 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18248 * sysdeps/generic/bp-semctl.h: Remove file.
18249 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18250 <bp-checks.h> and <bp-semctl.h>.
18251 (__old_semctl): Don't use CHECK_SEMCTL.
18252 (__new_semctl): Likewise.
18253 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18255 (__old_semctl): Don't use CHECK_SEMCTL.
18256 (__new_semctl): Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18258 <bp-checks.h> and <bp-semctl.h>.
18259 (__old_semctl): Don't use CHECK_SEMCTL.
18260 (__new_semctl): Likewise.
18261 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18262 <bp-checks.h> and <bp-semctl.h>.
18263 (semctl): Don't use CHECK_SEMCTL.
18266 * Makerules (elide-bp-thunks): Remove variable.
18267 (elide-routines.oS): Don't use $(elide-bp-thunks).
18268 (elide-routines.os): Likewise.
18269 (elide-routines.o): Likewise.
18270 (elide-routines.op): Likewise.
18271 (elide-routines.og): Likewise.
18272 (objects): Don't use $(bp-thunks).
18273 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18275 (common-generated): Do not add s-proto-bp.d.
18276 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18279 Do not generate makefile rules for bounded-pointer thunks.
18280 * sysdeps/generic/bp-thunks.h: Remove file.
18281 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18282 * sysdeps/unix/s-proto-bp.S: Likewise.
18285 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18286 parts of result separately when argument is not close to line from
18287 -i to i and one part of argument is small.
18288 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18289 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18290 * math/libm-test.inc (cacos_test): Add more tests.
18291 (casin_test): Likewise.
18292 (casinh_test): Likewise.
18293 * sysdeps/i386/fpu/libm-test-ulps: Update.
18294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18296 2013-01-31 David S. Miller <davem@davemloft.net>
18298 * po/de.po: Update from translation team.
18300 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18302 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18304 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18306 * configure.in (_AC_PROG_CC_C89): New definition.
18307 * configure: Regenerate.
18309 * configure.in (AC_PROG_CPP): New definition.
18310 * configure: Regenerate.
18312 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18314 * debug/tst-backtrace.h: New file.
18315 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18316 (ret): Remove variable.
18318 (FAIL): Remove macro.
18319 (NO_INLINE): Likewise.
18320 (fn1): Use match function instead of strstr.
18321 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18322 (ret): Remove variable.
18324 (FAIL): Remove macro.
18325 (NO_INLINE): Likewise.
18326 (fn): Use match function instead of strstr.
18327 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18328 (ret): Remove variable.
18330 (FAIL): Remove macro.
18331 (NO_INLINE): Likewise.
18332 (handle_signal): Use match function instead of strstr.
18333 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18334 (ret): Remove variable.
18336 (FAIL): Remove macro.
18337 (NO_INLINE): Likewise.
18338 (handle_signal): Use match function instead of strstr.
18340 2013-01-23 Roland McGrath <roland@hack.frob.com>
18342 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18344 2013-01-23 David S. Miller <davem@davemloft.net>
18346 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18347 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18348 argument of CAS if possible.
18349 * sysdeps/sparc/sparc64/bits/atomic.h
18350 (__arch_compare_and_exchange_val_32_acq): Likewise.
18351 (__arch_compare_and_exchange_val_64_acq): Likewise.
18353 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18355 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18356 * sysdeps/posix/ulimit.c: ... this.
18357 Include <limits.h>.
18358 * sysdeps/unix/bsd/ulimit.c: Remove file.
18360 2013-01-23 Adam Conrad <adconrad@0c3.net>
18362 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18363 (LDFLAGS-tst-array5): Likewise.
18365 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18368 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18369 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18370 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18371 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18373 2013-01-21 David S. Miller <davem@davemloft.net>
18375 * sysdeps/sparc/backtrace.c: New file.
18376 * sysdeps/sparc/sparc32/backtrace.h: New file.
18377 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18378 * sysdeps/sparc/sparc64/backtrace.h: New file.
18379 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18380 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18383 2013-01-21 Andreas Schwab <schwab@suse.de>
18386 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18389 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18395 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18396 Mark Mitchell <mark@codesourcery.com>
18397 Tom de Vries <tom@codesourcery.com>
18398 Paul Pluzhnikov <ppluzhnikov@google.com>
18400 * debug/tst-backtrace2.c: New file.
18401 * debug/tst-backtrace3.c: Likewise.
18402 * debug/tst-backtrace4.c: Likewise.
18403 * debug/tst-backtrace5.c: Likewise.
18404 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18405 (CFLAGS-tst-backtrace3.c): Likewise.
18406 (CFLAGS-tst-backtrace4.c): Likewise.
18407 (CFLAGS-tst-backtrace5.c): Likewise.
18408 (LDFLAGS-tst-backtrace2): Likewise.
18409 (LDFLAGS-tst-backtrace3): Likewise.
18410 (LDFLAGS-tst-backtrace4): Likewise.
18411 (LDFLAGS-tst-backtrace5): Likewise.
18412 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18413 tst-backtrace4 and tst-backtrace5.
18415 2013-01-18 Anton Blanchard <anton@samba.org>
18416 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18418 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18419 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18420 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18421 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18423 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18424 "+r" and remove output regs list as redundant. Add explicit inline
18425 asm to specify register of return val to work around compiler codegen
18426 bug. Remove (int) cast on return value. Add return type parameter to
18427 use in macro so that this macro does not truncate return value for
18429 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18430 pass to INTERNAL_VSYSCALL_NCS.
18431 (INLINE_VSYSCALL): Add 'long int' as return type to
18432 INTERNAL_VSYSCALL_NCS macro invocation.
18433 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18434 INTERNAL_VSYSCALL_NCS macro invocation.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18437 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18440 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18441 Fix application of SIMD FP exception mask.
18443 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18444 mp_no from a power of two.
18445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18446 __mpexp_twomm1. Use __pow_mp.
18448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18451 2013-01-17 David S. Miller <davem@davemloft.net>
18453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18455 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18458 * include/complex.h: Condition contents on [!_COMPLEX_H].
18459 (__kernel_casinhf): New prototype.
18460 (__kernel_casinh): Likewise.
18461 (__kernel_casinhl): Likewise.
18462 * math/Makefile (libm_calls): Add k_casinh.
18463 * math/k_casinh.c: New file.
18464 * math/k_casinhf.c: Likewise.
18465 * math/k_casinhl.c: Likewise.
18466 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18467 finite nonzero arguments.
18468 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18469 finite nonzero arguments.
18470 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18471 finite nonzero arguments.
18472 * math/s_casinh.c: Do not include <float.h>.
18473 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18474 * math/s_casinhf.c: Do not include <float.h>.
18475 (__casinhf): Move code for finite nonzero arguments to
18477 * math/s_casinhl.c: Do not include <float.h>.
18478 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18480 (__casinhl): Move code for finite nonzero arguments to
18482 * math/libm-test.inc (cacos_test): Add more tests.
18483 * sysdeps/i386/fpu/libm-test-ulps: Update.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18486 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18488 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18489 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18490 [!HAVE_MREMAP]: Remove [defined linux] case.
18491 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18493 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18495 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18497 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18499 * elf/elf.h (R_386_SIZE32): New relocation.
18500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18502 (elf_machine_rela): Likewise.
18503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18504 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18506 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18508 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18509 (FP_FAST_FMA): Do not define.
18510 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18511 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18512 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18513 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18514 !_SOFT_FLOAT]: Likewise.
18515 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18516 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18518 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18519 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18520 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18521 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18522 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18523 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18526 2013-01-16 Andreas Schwab <schwab@suse.de>
18529 * include/stdlib.h (__mktemp): Add declaration.
18530 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18531 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18533 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18535 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18537 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18538 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18539 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18541 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18542 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18544 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18546 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18547 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18548 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18550 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18551 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18553 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18555 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18557 2013-01-15 David S. Miller <davem@davemloft.net>
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18560 trunc{,f} to libm-sysdep_routes.
18561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18571 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18572 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18573 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18574 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18575 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18576 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18579 nearbyint{,f} to libm-sysdep_routes.
18580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18596 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18597 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18598 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18600 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18601 libc_feholdexcept and libc_fesetenv.
18603 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18605 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18607 2013-01-14 David S. Miller <davem@davemloft.net>
18609 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18610 (SPARC_ASM_VIS2_IFUNC): Likewise.
18611 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18613 use of 'siam' instruction.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18647 routines to libm-sysdep_routines.
18648 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18651 fdim/fdimf to libm-sysdep_routines.
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18660 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18661 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18662 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18663 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18665 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18668 to optimize copies.
18670 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18675 local variable MPTWO.
18676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18679 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18681 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18684 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18686 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18688 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18690 * manual/pattern.texi (glob_t): Document gl_flags.
18691 (glob64_t): Likewise.
18693 2013-01-11 David S. Miller <davem@davemloft.net>
18695 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18696 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18697 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18698 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18699 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18700 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18701 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18702 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18703 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18704 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18705 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18706 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18707 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18709 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18710 sparc V9 rather than using V8 code.
18711 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18712 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18716 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18719 2013-01-11 Roland McGrath <roland@hack.frob.com>
18721 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18722 not in the main loop.
18723 * configure: Regenerated.
18725 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18727 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18728 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18730 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18731 [!__GLIBC_HAVE_LONG_LONG] case.
18732 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18733 condition to just #else.
18734 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18735 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18736 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18737 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18739 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18740 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18741 #elif condition to just #else.
18742 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18743 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18744 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18745 #elif condition to just #else.
18747 2013-01-11 Steve Ellcey <sellcey@mips.com>
18749 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18750 (EF_MIPS_ARCH_64): Fix value.
18751 (EF_MIPS_ARCH_32R2): New.
18752 (EF_MIPS_ARCH_64R2): New.
18754 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18756 * Makeconfig (+link-pie-before-libc): New.
18757 (+link-pie-after-libc): Likewise.
18758 (+link-pie-tests): Likewise.
18759 (+link-pie): Rewritten.
18760 (link-before-libc): Remove $(config-LDFLAGS).
18761 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18762 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18763 (config-LDFLAGS): Renamed to ...
18764 (rtld-LDFLAGS): This.
18765 (rtld-tests-LDFLAGS): New macro.
18766 (link-libc-rpath-link): Likewise.
18767 (link-libc-tests-rpath-link): Likewise.
18768 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18769 (link-libc): Prepand $(link-libc-rpath-link).
18770 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18771 (test-program-prefix): New macro.
18772 (test-via-rtld-prefix): Likewise.
18773 (test-program-cmd): Likewise.
18774 (host-test-program-cmd): Likewise.
18775 * Makefile ($(common-objpfx)testrun.sh): Replace
18776 $(run-program-prefix) with $(test-program-prefix).
18777 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18779 ($(common-objpfx)shlib.lds): Likewise.
18780 (build-module-helper): Likewise.
18781 ($(common-objpfx)format.lds): Likewise.
18782 * Rules (binaries-pie-tests): New.
18783 (binaries-pie-notests): Likewise.
18784 (binaries-pie): Rewritten.
18785 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18786 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18787 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18788 (make-test-out): Replace $(host-built-program-cmd) with
18789 $(host-test-program-cmd).
18790 * config.make.in (build-hardcoded-path-in-tests): New variable.
18791 * configure.in (--enable-hardcoded-path-in-tests): New configure
18793 (hardcoded_path_in_tests): New AC_SUBST.
18794 * configure: Regenerated.
18795 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18796 $(built-program-cmd) with $(test-program-cmd).
18797 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18798 (test_program_cmd): This.
18799 * elf/Makefile ($(objpfx)order.out): Run test with
18800 $(test-program-prefix).
18801 ($(objpfx)order2.out): Likewise.
18802 ($(objpfx)tst-initorder.out): Likewise.
18803 ($(objpfx)tst-initorder2.out): Likewise.
18804 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18805 $(test-program-cmd).
18806 ($(objpfx)tst-array1-static.out): Likewise.
18807 ($(objpfx)tst-array2.out): Likewise.
18808 ($(objpfx)tst-array3.out): Likewise.
18809 ($(objpfx)tst-array4.out): Likewise.
18810 ($(objpfx)tst-array5.out): Likewise.
18811 ($(objpfx)tst-array5-static.out): Likewise.
18812 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18813 $(test-program-cmd).
18814 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18815 $(run-program-prefix) with $(test-program-prefix).
18816 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18817 (test_program_prefix): This.
18818 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18819 $(run-program-prefix) with $(test-program-prefix).
18820 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18821 (test_program_prefix): This.
18822 * iconvdata/tst-tables.sh: Likewise.
18823 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18824 $(run-program-prefix) with $(test-program-prefix).
18825 ($(objpfx)tst-translit.out): Likewise.
18826 ($(objpfx)tst-gettext2.out): Likewise.
18827 ($(objpfx)tst-gettext4.out): Likewise.
18828 ($(objpfx)tst-gettext6.out): Likewise.
18829 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18830 (test_program_prefix): This.
18831 * intl/tst-gettext2.sh: Likewise.
18832 * intl/tst-gettext4.sh Likewise.
18833 * intl/tst-gettext6.sh: Likewise.
18834 * intl/tst-translit.sh: Likewise.
18835 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18836 with $(test-program-cmd).
18837 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18838 $(run-program-prefix) with $(test-program-prefix).
18839 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18840 (test_program_prefix): This.
18841 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18842 $(run-program-prefix) with $(test-program-prefix).
18843 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18844 (test_program_prefix): This.
18845 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18846 * posix/Makefile ($(objpfx)globtest.out): Replace
18847 $(run-via-rtld-prefix) and $(test-wrapper) with
18848 $(test-program-prefix) and $(test-via-rtld-prefix).
18849 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18850 $(test-program-prefix).
18851 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18852 $(host-test-program-cmd).
18853 (tst-spawn-ARGS): Likewise.
18854 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18855 $(test-program-prefix).
18856 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18857 (test_via_rtld_prefix): This.
18858 (test_wrapper): Renamed to ...
18859 (test_program_prefix): This.
18860 (run_program_prefix): Replaced by test_program_prefix.
18861 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18862 (test_program_prefix): This.
18863 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18864 with $(host-test-program-cmd).
18865 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18866 $(run-program-prefix) with $(test-program-prefix).
18867 ($(objpfx)tst-printf.out): Likewise.
18868 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18869 $(test-program-cmd).
18870 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18871 (test_program_prefix): This.
18872 * stdio-common/tst-unbputc.sh: Likewise.
18873 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18874 $(run-program-prefix) with $(test-program-prefix).
18875 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18876 (test_program_prefix): This.
18877 * string/Makefile ($(objpfx)tst-svc.out): Replace
18878 $(built-program-cmd) with $(test-program-cmd).
18880 2013-01-11 Andreas Jaeger <aj@suse.de>
18883 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18884 value. Sync with Linux 3.7.
18886 2013-01-10 David S. Miller <davem@davemloft.net>
18888 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18889 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18890 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18892 2013-01-10 Roland McGrath <roland@hack.frob.com>
18894 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18896 * configure: Regenerated.
18898 2013-01-10 David S. Miller <davem@davemloft.net>
18900 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18901 sparc V9 rather than using V8 code.
18902 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18903 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18905 2013-01-10 Roland McGrath <roland@hack.frob.com>
18907 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18908 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18909 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18910 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18911 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18912 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18913 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18914 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18915 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18916 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18917 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18918 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18919 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18920 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18921 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18922 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18923 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18924 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18925 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18926 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18927 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18928 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18929 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18930 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18931 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18932 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18933 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18935 2013-01-10 David S. Miller <davem@davemloft.net>
18937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18939 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18941 * posix/Makefile (tests-static): New variable.
18942 (tests): Add $(tests-static).
18943 (tst-exec-static-ARGS): New variable.
18944 (tst-spawn-static-ARGS): Likewise.
18945 * posix/tst-exec-static.c: New file.
18946 * posix/tst-spawn-static.c: Likewise.
18947 * posix/tst-exec.c: Support run directly.
18948 * posix/tst-spawn.c: Likewise.
18950 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18952 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18954 * math/bits/mathcalls.h (llrint): Likewise.
18955 (llround): Likewise.
18956 * stdlib/stdlib.h (struct drand48_data): Likewise.
18957 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18958 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18959 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18961 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18963 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18964 (elf_greg_t): Likewise.
18965 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18966 (__jmp_buf): Likewise.
18967 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18969 (llrint): Likewise, for all definitions.
18970 (llrintl): Likewise.
18972 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18973 Remove [__GNUC__] condition.
18974 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18975 condition to just [__USE_ISOC99].
18976 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18978 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18981 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18982 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18984 (_POSIX_V6_ILP32_OFF32): Likewise.
18985 (_XBS5_ILP32_OFF32): Likewise.
18986 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18987 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18989 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18991 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18994 doubles __mpexp_twomm1. Adjust usage.
18995 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18998 2013-01-10 Andreas Schwab <schwab@suse.de>
19001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19002 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19004 2013-01-09 David S. Miller <davem@davemloft.net>
19007 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19008 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19009 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19010 TCP_FASTOPEN): Define.
19011 (tcp_repair_opt): New structure.
19012 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19014 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19015 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19016 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19017 (tcp_cookie_transactions): New structure.
19019 2013-01-09 Anton Blanchard <anton@samba.org>
19021 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19022 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19024 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19026 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19028 * include/features.h (__USE_ANSI): Remove.
19030 2013-01-09 Roland McGrath <roland@hack.frob.com>
19032 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19034 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19036 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19038 * sysdeps/s390/fpu/libm-test-ulps: Update.
19040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19042 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19046 (denorm): Likewise.
19047 (__mp_dbl): Likewise.
19048 (__dbl_mp): Likewise.
19049 (add_magnitudes): Likewise.
19050 (sub_magnitudes): Likewise.
19056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19060 (denorm): Likewise.
19061 (__mp_dbl): Likewise.
19062 (__dbl_mp): Likewise.
19063 (add_magnitudes): Likewise.
19064 (sub_magnitudes): Likewise.
19070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19074 (denorm): Likewise.
19075 (__mp_dbl): Likewise.
19076 (__dbl_mp): Likewise.
19077 (add_magnitudes): Likewise.
19078 (sub_magnitudes): Likewise.
19085 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19087 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19088 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19089 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19090 2 && __USE_EXTERN_INLINES]: Likewise.
19092 2013-01-08 Andreas Jaeger <aj@suse.de>
19095 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19097 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19098 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19100 2013-01-07 Anton Blanchard <anton@samba.org>
19102 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19103 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19104 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19105 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19106 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19107 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19108 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19109 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19111 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19112 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19113 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19115 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19116 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19117 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19118 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19119 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19120 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19121 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19122 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19123 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19125 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19126 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19127 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19128 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19129 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19130 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19131 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19132 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19134 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19135 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19138 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19140 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19141 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19144 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19146 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19148 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19149 (__MALLOC_PMT): Likewise.
19150 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19151 [__GNUC__], only on [_LIBC].
19152 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19153 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19154 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19155 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19156 forward declaration.
19157 (realloc_hook_ini): Likewise.
19158 (memalign_hook_ini): Likewise.
19159 (__libc_memalign): Do not use __MALLOC_PMT in variable
19161 (__libc_valloc): Likewise.
19162 (__libc_pvalloc): Likewise.
19163 (__libc_calloc): Likewise.
19164 (__posix_memalign): Likewise.
19167 * math/s_casinh.c: Include <float.h>.
19168 (__casinh): Do not do computation with squaring and square root
19169 for large arguments.
19170 * math/s_casinhf.c: Include <float.h>.
19171 (__casinhf): Do not do computation with squaring and square root
19172 for large arguments.
19173 * math/s_casinhl.c: Include <float.h>.
19174 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19175 (__casinhl): Do not do computation with squaring and square root
19176 for large arguments.
19177 * math/libm-test.inc (casin_test): Add more tests.
19178 (casinh_test): Likewise.
19179 * sysdeps/i386/fpu/libm-test-ulps: Update.
19180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19182 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19184 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19185 (__x86_64_raw_data_cache_size): Likewise.
19186 (__x86_64_data_cache_size_half): Likewise.
19187 (__x86_64_raw_data_cache_size_half): Likewise.
19188 (__x86_64_shared_cache_size): Likewise.
19189 (__x86_64_raw_shared_cache_size): Likewise.
19190 (__x86_64_shared_cache_size_half): Likewise.
19191 (__x86_64_raw_shared_cache_size_half): Likewise.
19192 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19194 (__x86_data_cache_size): This.
19195 (__x86_64_raw_data_cache_size): Renamed to ...
19196 (__x86_raw_data_cache_size): This.
19197 (__x86_64_data_cache_size_half): Renamed to ...
19198 (__x86_data_cache_size_half): This.
19199 (__x86_64_raw_data_cache_size_half): Renamed to ...
19200 (__x86_raw_data_cache_size_half): This.
19201 (__x86_64_shared_cache_size): Renamed to ...
19202 (__x86_shared_cache_size): This.
19203 (__x86_64_raw_shared_cache_size): Renamed to ...
19204 (__x86_raw_shared_cache_size): This.
19205 (__x86_64_shared_cache_size_half): Renamed to ...
19206 (__x86_shared_cache_size_half): This.
19207 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19208 (__x86_raw_shared_cache_size_half): This.
19209 * sysdeps/x86_64/memcpy.S: Updated.
19210 * sysdeps/x86_64/memset.S: Likewise.
19211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19215 2013-01-04 David S. Miller <davem@davemloft.net>
19217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19219 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19221 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19222 1 to avoid redefinition warning.
19223 (__USE_GNU): Don't define.
19224 (init_signaling_nan): Protoize.
19226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19228 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19230 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19232 (__cpymn): Likewise.
19233 (norm): Remove commented code.
19234 (denorm): Likewise.
19235 (__mp_dbl): Likewise.
19237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19238 (__cpymn): Likewise.
19239 (norm): Remove commented code.
19240 (denorm): Likewise.
19241 (__mp_dbl): Likewise.
19244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19245 mp_no value for 1.0 and 2.0.
19246 (norm): Use RADIXI instead of radixi.d.
19247 (denorm): Likewise.
19248 (__mul): Use 0.0 instead of zero.d.
19249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19250 mp_no value for 1.0 and 2.0.
19251 (norm): Use RADIXI instead of radixi.d.
19252 (denorm): Likewise.
19253 (__mul): Use 0.0 instead of zero.d.
19255 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19258 * math/s_casinh.c (__casinh): Reduce finite argument to first
19259 quadrant then set signs of results at the end.
19260 * math/s_casinhf.c (__casinhf): Likewise.
19261 * math/s_casinhl.c (__casinhl): Likewise.
19262 * math/libm-test.inc (casin_test): Add more tests.
19263 (casinh_test): Likewise.
19264 * sysdeps/i386/fpu/libm-test-ulps: Update.
19265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19269 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19271 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19273 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19275 (denorm): Likewise.
19276 (__mp_dbl): Likewise.
19279 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19280 and adjust the header comment.
19282 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19283 variable name from declaration.
19285 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19288 Initialize COMMON_CPUID_INDEX_7 element.
19289 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19290 (CPUID_RTM): Likewise.
19291 (HAS_RTM): Likewise.
19292 (COMMON_CPUID_INDEX_7): New enum.
19294 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19297 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19298 size is zero, record memory as freed.
19300 2013-01-03 Andreas Jaeger <aj@suse.de>
19302 * po/ia.po: Add new Interlingua translation.
19304 2012-01-03 Allan McRae <allan@archlinux.org>
19306 * locale/programs/localedef.c: Fix description of '--posix' flag.
19308 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19310 * NEWS: Update dates in second copyright notice.
19311 * README: Update copyright dates in example.
19312 * manual/libc.texinfo: Update copyright dates.
19313 * scripts/test-installation.pl: Update copyright date in --version
19316 * hurd/ctty-input.c: Fix copyright notice formatting.
19317 * hurd/ctty-output.c: Likewise.
19318 * hurd/dtable.c: Likewise.
19319 * hurd/hurd-raise.c: Likewise.
19320 * hurd/hurdprio.c: Likewise.
19321 * hurd/msgportdemux.c: Likewise.
19322 * misc/sys/file.h: Likewise.
19323 * misc/sys/ioctl.h: Likewise.
19324 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19325 * sysdeps/mach/hurd/chdir.c: Likewise.
19326 * sysdeps/mach/hurd/fchdir.c: Likewise.
19327 * sysdeps/mach/hurd/rename.c: Likewise.
19328 * sysdeps/mach/hurd/rmdir.c: Likewise.
19329 * sysdeps/mach/hurd/seekdir.c: Likewise.
19330 * sysdeps/mach/hurd/setsid.c: Likewise.
19331 * sysdeps/posix/wait3.c: Likewise.
19333 * All files with FSF copyright notices: Update copyright dates
19334 using scripts/update-copyrights.
19335 * intl/plural.c: Regenerated.
19336 * locale/programs/charmap-kw.h: Likewise.
19337 * locale/programs/locfile-kw.h: Likewise.
19339 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19341 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19345 calculation loop and add branch prediction.
19347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19348 check access beyond bounds of m1np.
19350 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19352 (__inv): Remove local variable MPTWO to use the global
19354 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19358 MP3HALFS static const.
19360 2013-01-01 David S. Miller <davem@davemloft.net>
19362 * po/ca.po: Update from translation team.
19364 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19366 * scripts/update-copyrights: New file.
19367 * Makeconfig: Reformat copyright notice.
19368 * ctype/ctype.h: Likewise.
19369 * debug/swprintf_chk.c: Likewise.
19370 * elf/dl-cache.c: Likewise.
19371 * elf/dl-debug.c: Likewise.
19372 * elf/dl-object.c: Likewise.
19373 * grp/initgroups.c: Likewise.
19374 * hurd/Makefile: Likewise.
19375 * hurd/hurd/signal.h: Likewise.
19376 * hurd/hurdfault.c: Likewise.
19377 * hurd/hurdioctl.c: Likewise.
19378 * hurd/hurdlookup.c: Likewise.
19379 * hurd/intr-msg.c: Likewise.
19380 * iconv/gconv_open.c: Likewise.
19381 * libio/swprintf.c: Likewise.
19382 * locale/lc-ctype.c: Likewise.
19383 * locale/nl_langinfo.c: Likewise.
19384 * mach/Machrules: Likewise.
19385 * mach/Makefile: Likewise.
19386 * malloc/obstack.h: Likewise.
19387 * manual/Makefile: Likewise.
19388 * manual/tsort.awk: Likewise.
19389 * misc/bits/stab.def: Likewise.
19390 * nis/nis_print_group_entry.c: Likewise.
19391 * nis/nis_table.c: Likewise.
19392 * nis/nss_compat/compat-pwd.c: Likewise.
19393 * nis/nss_compat/compat-spwd.c: Likewise.
19394 * po/Makefile: Likewise.
19395 * posix/fnmatch.c: Likewise.
19396 * posix/regex.h: Likewise.
19397 * resolv/Makefile: Likewise.
19398 * resolv/nss_dns/dns-network.c: Likewise.
19399 * resolv/res_hconf.c: Likewise.
19400 * scripts/gen-sorted.awk: Likewise.
19401 * soft-fp/soft-fp.h: Likewise.
19402 * stdio-common/printf.h: Likewise.
19403 * stdlib/monetary.h: Likewise.
19404 * stdlib/random.c: Likewise.
19405 * stdlib/random_r.c: Likewise.
19406 * sysdeps/generic/Makefile: Likewise.
19407 * sysdeps/gnu/Makefile: Likewise.
19408 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19436 * sysdeps/mach/hurd/errnos.awk: Likewise.
19437 * sysdeps/mach/hurd/fork.c: Likewise.
19438 * sysdeps/mach/hurd/getcwd.c: Likewise.
19439 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19440 * sysdeps/mach/hurd/mmap.c: Likewise.
19441 * sysdeps/mach/hurd/utimes.c: Likewise.
19442 * sysdeps/mach/hurd/xmknod.c: Likewise.
19443 * sysdeps/posix/profil.c: Likewise.
19444 * sysdeps/posix/readdir_r.c: Likewise.
19445 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19446 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19447 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19448 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19450 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19452 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19455 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19456 * sysdeps/pthread/lio_listio.c: Likewise.
19457 * sysdeps/sparc/dl-procinfo.h: Likewise.
19458 * sysdeps/unix/i386/sysdep.S: Likewise.
19459 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19460 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19461 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19462 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19464 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19465 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19466 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19467 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19468 * sysdeps/wordsize-32/divdi3.c: Likewise.
19469 * time/sys/time.h: Likewise.
19470 * wcsmbs/Makefile: Likewise.
19472 2013-01-01 David S. Miller <davem@davemloft.net>
19474 * po/fr.po: Update from translation team.
19476 * catgets/gencat.c: Update copyright year.
19477 * csu/version.c: Likewise.
19478 * debug/catchsegv.sh: Likewise.
19479 * debug/pcprofiledump.c: Likewise.
19480 * debug/xtrace.sh: Likewise.
19481 * elf/ldconfig.c: Likewise.
19482 * elf/ldd.bash.in: Likewise.
19483 * elf/pldd.c: Likewise.
19484 * elf/sotruss.ksh: Likewise.
19485 * elf/sprof.c: Likewise.
19486 * iconv/iconv_prog.c: Likewise.
19487 * iconv/iconvconfig.c: Likewise.
19488 * locale/programs/locale.c: Likewise.
19489 * locale/programs/localedef.c: Likewise.
19490 * login/programs/pt_chown.c: Likewise.
19491 * malloc/memusage.sh: Likewise.
19492 * malloc/memusagestat.c: Likewise.
19493 * malloc/mtrace.pl: Likewise.
19494 * nscd/nscd.c: Likewise.
19495 * nss/getent.c: Likewise.
19496 * nss/makedb.c: Likewise.
19497 * posix/getconf.c: Likewise.
19499 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19501 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19504 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19506 * math/bits/mathcalls.h (modf): Use __nonnull.
19508 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19510 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19511 (split): Use macro CN instead of the bare value.
19512 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19515 instead of the bare value.
19516 (power1): Likewise.
19518 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19520 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19524 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19526 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19527 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19528 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19529 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19531 2012-12-28 Andreas Jaeger <aj@suse.de>
19533 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19534 values are from Linux 3.7.
19536 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19537 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19539 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19541 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19544 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19546 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19547 variables with preprocessor constants.
19548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19549 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19550 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19552 2012-12-27 Bruno Haible <bruno@clisp.org>
19555 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19558 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19561 and use variable directly.
19562 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19564 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19566 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19569 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19571 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19572 include directive. Remove local variable MPONE.
19573 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19574 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19575 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19577 2012-12-25 David S. Miller <davem@davemloft.net>
19579 * version.h (RELEASE): Set to "development".
19580 (VERSION): Set to "2.17.90".
19581 * NEWS: Add 2.18 section.
19583 2012-12-21 David S. Miller <davem@davemloft.net>
19585 * po/hr.po: Update from translation team.
19587 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19589 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19591 2012-12-19 Steve Ellcey <sellcey@mips.com>
19593 * NEWS: Mention new memcpy for MIPS.
19595 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19597 * manual/contrib.texi (Contributors): Spelling correction.
19599 2012-12-15 David S. Miller <davem@davemloft.net>
19601 * po/ru.po: Update from translation team.
19603 2012-12-13 David S. Miller <davem@davemloft.net>
19605 * NEWS: Mention IFUNC testsuite enhancements.
19607 * po/pl.po: Update from translation team.
19608 * po/bg.po: Likewise.
19610 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19611 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19613 2012-12-11 David S. Miller <davem@davemloft.net>
19615 * po/sv.po: Update from translation team.
19617 * po/vi.po: Update from translation team.
19619 * po/cs.po: Update from translation team.
19621 * po/de.po: Update from translation team.
19622 * po/eo.po: Likewise.
19623 * po/nl.po: Likewise.
19625 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19628 * manual/argp.texi (Argp Helper Functions): Move node to follow
19629 Argp Parsing State.
19632 * manual/conf.texi (Limits on File System Capacity): Mention if
19633 terminating null is included in the max size.
19635 2012-12-10 Andreas Jaeger <aj@suse.de>
19637 * po/cs.po: Update from translation team.
19639 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19641 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19642 void pointer and cast to uintptr_t.
19643 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19645 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19646 * sysdeps/s390/s390-64/memset.S: Likewise.
19648 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19651 * menual/message.texi (Message Translation): Fix typos.
19652 (Helper programs for gettext): Likewise.
19654 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19657 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19660 2012-12-07 David S. Miller <davem@davemloft.net>
19662 * po/libc.pot: Update.
19664 2012-12-07 Richard Henderson <rth@redhat.com>
19667 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19668 normal/normal case to before the switch.
19669 (_FP_DIV): Likewise.
19671 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19672 Mike Frysinger <vapier@gentoo.org>
19674 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19675 check for __NR_fadvise64_64.
19677 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19679 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19680 0, not just to plain "0" as a statement.
19681 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19684 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19686 * NEWS: Use sourceware.org in Bugzilla URL.
19688 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19691 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19693 * stdio-common/tst-put-error.c (do_test): Add newline to the
19694 padded test to ensure flush.
19696 2012-12-05 Jeff Law <law@redhat.com>
19698 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19700 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19702 * README: Don't refer to ports add-on as distributed separately.
19703 Mention AArch64 in list of systems supported in the ports add-on.
19705 * LICENSES: Add more non-FSF copyright and license notices.
19707 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19710 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19712 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19713 10000 as width of padded output.
19715 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19717 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19719 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19720 variable LX with __attribute__ ((unused)).
19721 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19726 with __attribute__ ((unused)).
19728 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19730 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19732 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19734 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19735 (CFLAGS-nldbl-acos.c): New variable.
19736 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19737 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19738 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19739 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19740 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19741 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19742 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19743 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19744 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19745 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19746 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19747 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19748 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19749 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19750 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19751 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19752 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19753 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19754 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19755 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19756 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19757 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19758 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19759 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19760 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19761 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19762 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19763 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19764 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19765 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19766 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19767 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19768 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19769 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19770 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19771 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19772 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19773 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19774 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19775 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19776 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19777 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19778 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19779 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19780 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19781 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19782 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19783 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19784 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19785 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19786 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19787 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19788 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19789 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19790 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19791 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19792 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19793 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19794 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19795 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19796 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19797 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19798 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19799 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19800 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19801 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19802 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19803 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19804 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19805 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19806 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19807 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19808 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19809 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19810 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19811 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19812 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19813 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19814 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19815 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19816 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19817 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19818 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19819 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19820 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19821 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19822 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19823 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19824 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19825 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19826 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19827 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19828 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19829 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19830 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19831 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19832 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19835 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19839 whole low double instead of just low 47 bits when splitting values
19842 2012-12-03 Allan McRae <allan@archlinux.org>
19844 * manual/stdio.texi (Predefined Printf Handlers): Remove
19845 @hsep and @vsep usage.
19847 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19849 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19850 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19852 2012-12-03 Jeff Law <law@redhat.com>
19854 * time/sys/time.h (settimeofday): Do not mark TV argument
19857 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19859 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19860 when currently writing and seek to current position when not.
19861 * libio/Makefile (tests): Remove bug-fclose1.
19862 * libio/bug-fclose1.c: Delete.
19864 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19866 * manual/arith.texi (feenableexcept): Fix typo.
19867 (fedisableexcept): Likewise.
19869 2012-11-30 Roland McGrath <roland@hack.frob.com>
19871 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19872 second, differently-typed declaration, rather than a cast.
19874 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19876 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19877 * include/rpc/svc.h: ... here.
19879 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19882 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19883 depending n and resplen2 to catch cases where answer
19886 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19888 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19889 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19891 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19895 2012-11-29 Roland McGrath <roland@hack.frob.com>
19897 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19899 2012-11-28 Jeff Law <law@redhat.com>
19902 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19903 dataset_temporary. Track alloca usage into alloca_used.
19904 If dataset is large allocate and release it via malloc/free.
19906 2012-06-04 Florian Weimer <fweimer@redhat.com>
19909 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19911 2012-11-28 David S. Miller <davem@davemloft.net>
19913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19915 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19918 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19919 of pi/2 rounded to nearest to 64 bits.
19920 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19921 nearest to 64 bits.
19922 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19925 2012-11-28 Jeff Law <law@redhat.com>
19926 Martin Osvald <mosvald@redhat.com>
19929 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19930 * sunrpc/svc.c: Include time.h.
19931 (__svc_accept_failed): New function.
19932 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19933 any reason other than EINTR, call __svc_accept_failed.
19934 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19935 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19937 2012-11-28 Andreas Schwab <schwab@suse.de>
19939 * scripts/abilist.awk: Also handle indirect functions in .opd
19942 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/x86/fpu/powl_helper.c: New file.
19946 * sysdeps/x86/fpu/Makefile: Likewise.
19947 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19949 (__ieee754_powl): Use __powl_helper for finite arguments except
19950 integer exponents below 8.
19951 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19953 (__ieee754_powl): Use __powl_helper for finite arguments except
19954 integer exponents below 8.
19955 * math/libm-test.inc (pow_test): Add more tests and enable some
19956 previously disabled tests.
19957 * sysdeps/i386/fpu/libm-test-ulps: Update.
19958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 Carlos O'Donell <carlos_odonell@mentor.com>
19963 * nss/makedb.c (is_prime): Assert that input is odd and greater
19964 than 4. Note that fact in a comment too.
19965 (next_prime): Add 4 to input.
19967 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19970 * libio/Makefile (tests): Add test case tst-fwrite-error.
19971 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19972 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19973 * libio/tst-fwrite-error.c: New test case.
19975 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19977 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19978 before casting to void *.
19979 * include/libc-internal.h (__pointer_type): New macro.
19980 (__integer_if_pointer_type_sub): Likewise.
19981 (__integer_if_pointer_type): Likewise.
19982 (cast_to_integer): Likewise.
19983 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19984 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19985 before casting to atomic64_t.
19986 (atomic_exchange_acq): Likewise.
19987 (__arch_exchange_and_add_body): Likewise.
19988 (__arch_add_body): Likewise.
19989 (atomic_add_negative): Likewise.
19990 (atomic_add_zero): Likewise.
19992 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19994 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19995 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19996 (add_fdes): Likewise.
19997 (linear_search_fdes): Likewise.
19998 (binary_search_unencoded_fdes): Likewise.
20000 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20002 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20004 2012-11-24 Adam Conrad <adconrad@0c3.net>
20006 * configure.in: Autodetect C++ header directories.
20007 * configure: Regenerated.
20009 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20011 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20013 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20017 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20019 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20020 LDBL_MANT_DIG == 106]: Disable some tests.
20021 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20023 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20027 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20028 input for small inputs. Return +/- pi/2 for large inputs.
20029 * math/libm-test.inc (atan_test): Add more tests.
20031 * sysdeps/generic/unwind-dw2-fde-glibc.c
20032 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20033 __attribute__ ((unused)).
20036 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20037 x * y if x and y are nonzero and z is zero.
20040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20041 nonzero exponents with absolute value below 0x1p-117 to +/-
20045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20046 up arguments below 2**-450, not just those below 2**-500.
20047 * math/libm-test.inc (hypot_test): Add another test.
20050 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20051 Return a+b for ratio over 2**120, not 2**60.
20052 * math/libm-test.inc (hypot_test): Add another test.
20054 * math/libm-test.inc (clog_test): Use
20055 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20056 (clog10_test): Likewise.
20059 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20061 2012-11-22 Andreas Schwab <schwab@suse.de>
20063 * sysdeps/i386/fpu/libm-test-ulps: Update.
20065 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20067 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20068 printf output with newline.
20070 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20073 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20074 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20075 -z nodlopen, -z initfirst and -z execstack support.
20076 * configure: Regenerated.
20078 * elf/elf.h (DF_1_NODIRECT): New macro.
20079 (DF_1_IGNMULDEF): Likewise.
20080 (DF_1_NOKSYMS): Likewise.
20081 (DF_1_NOHDR): Likewise.
20082 (DF_1_EDITED): Likewise.
20083 (DF_1_NORELOC): Likewise.
20084 (DF_1_SYMINTPOSE): Likewise.
20085 (DF_1_GLOBAUDIT): Likewise.
20086 (DF_1_SINGLETON): Likewise.
20087 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20088 DT_1_SUPPORTED_MASK bits.
20089 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20091 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20093 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20095 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20097 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20100 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20101 (sendmmsg): Move declarations...
20102 * socket/sys/socket.h: ... here.
20103 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20104 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20106 * socket/recvmmsg.c: ... this new file.
20107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20108 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20109 definition of __sendmmsg hidden.
20110 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20111 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20112 Move ENOSYS stub into and include it from...
20113 * socket/sendmmsg.c: ... this new file.
20114 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20115 (sysdep_routines): Move recvmmsg and sendmmsg...
20116 * socket/Makefile (routines): ... here.
20117 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20118 (GLIBC_PRIVATE): Add __sendmmsg.
20119 * include/sys/socket.h (__sendmmsg): Add declarations.
20120 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20123 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20126 variable I1 with __attribute__ ((unused)).
20127 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20129 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20131 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20132 DUMMY variables with __attribute__ ((unused)).
20134 * bits/byteswap.h: Include <bits/types.h>.
20135 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20137 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20139 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20140 string_t. Do not manually set errno.
20141 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20142 length with __strnlen. Make sure to both set errno and return it on
20145 2012-11-19 David S. Miller <davem@davemloft.net>
20147 With help from Joseph Myers.
20148 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20149 very large arguments properly.
20150 * math/libm-test.inc (atan_test): New tests.
20151 (atan2_test): New tests.
20152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20155 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20158 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20161 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20162 [POSIX] (EADDRNOTAVAIL): Likewise.
20163 [POSIX] (EAFNOSUPPORT): Likewise.
20164 [POSIX] (EALREADY): Likewise.
20165 [POSIX] (ECONNABORTED): Likewise.
20166 [POSIX] (ECONNREFUSED): Likewise.
20167 [POSIX] (ECONNRESET): Likewise.
20168 [POSIX] (EDESTADDRREQ): Likewise.
20169 [POSIX] (EDQUOT): Likewise.
20170 [POSIX] (EHOSTUNREACH): Likewise.
20171 [POSIX] (EIDRM): Likewise.
20172 [POSIX] (EISCONN): Likewise.
20173 [POSIX] (ELOOP): Likewise.
20174 [POSIX] (EMULTIHOP): Likewise.
20175 [POSIX] (ENETDOWN): Likewise.
20176 [POSIX] (ENETUNREACH): Likewise.
20177 [POSIX] (ENOBUFS): Likewise.
20178 [POSIX] (ENODATA): Likewise.
20179 [POSIX] (ENOLINK): Likewise.
20180 [POSIX] (ENOMSG): Likewise.
20181 [POSIX] (ENOPROTOOPT): Likewise.
20182 [POSIX] (ENOSR): Likewise.
20183 [POSIX] (ENOSTR): Likewise.
20184 [POSIX] (ENOTCONN): Likewise.
20185 [POSIX] (ENOTSOCK): Likewise.
20186 [POSIX] (EOPNOTSUPP): Likewise.
20187 [POSIX] (EOVERFLOW): Likewise.
20188 [POSIX] (EPROTO): Likewise.
20189 [POSIX] (EPROTONOSUPPORT): Likewise.
20190 [POSIX] (EPROTOTYPE): Likewise.
20191 [POSIX] (ESTALE): Likewise.
20192 [POSIX] (ETIME): Likewise.
20193 [POSIX] (ETXTBSY): Likewise.
20194 [POSIX] (EWOULDBLOCK): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20196 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20197 [POSIX] (SEEK_CUR): Likewise.
20198 [POSIX] (SEEK_END): Likewise.
20199 [POSIX || UNIX98] (mode_t): Do not require.
20200 [POSIX] (off_t): Likewise.
20201 [POSIX] (pid_t): Likewise.
20202 [POSIX] (sys/stat.h): Do not allow header.
20203 [POSIX] (unistd.h): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20205 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20207 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20209 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20210 sigevent): Specify elements.
20211 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20213 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20214 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20216 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20217 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20218 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20219 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20220 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20221 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20222 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20223 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20225 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20226 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20227 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20228 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20229 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20231 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20233 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20235 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20237 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20238 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20239 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20240 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20242 Specify lower bound on value.
20243 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20249 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20250 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20252 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20254 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20271 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20273 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20280 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20283 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20285 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20286 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20288 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20292 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20293 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20294 specify as optional.
20295 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20298 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20299 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20300 [XPG3] (NL_LANGMAX): Likewise.
20301 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20302 [POSIX || XPG3] (NL_NMAX): Likewise.
20303 [POSIX || XPG3] (NL_SETMAX): Likewise.
20304 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20305 [XPG3] (NZERO): Likewise.
20306 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20307 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20308 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20309 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20310 (REG_ERANGE): Expect.
20311 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20313 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20314 Use (void) in prototype.
20315 [POSIX] (*_t): Allow.
20316 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20317 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20318 (WRDE_BADVAL): Expect.
20320 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20322 [XPG3 || XPG4] (O_RSYNC): Likewise.
20323 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20325 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20326 [XPG3 || XPG4] (sigqueue): Likewise.
20327 [XPG3 || XPG4] (sigtimedwait): Likewise.
20328 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20329 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20330 [XPG3 || XPG4] (vsnprintf): Likewise.
20331 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20333 [XPG3 || XPG4] (blksize_t): Likewise.
20334 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20336 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20337 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20338 [XPG3 || XPG4] (struct itimerspec): Likewise.
20339 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20340 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20341 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20342 [XPG3 || XPG4] (clockid_t): Likewise.
20343 [XPG3 || XPG4] (timer_t): Likewise.
20344 [XPG3 || XPG4] (clock_getres): Likewise.
20345 [XPG3 || XPG4] (clock_gettime): Likewise.
20346 [XPG3 || XPG4] (clock_settime): Likewise.
20347 [XPG3 || XPG4] (nanosleep): Likewise.
20348 [XPG3 || XPG4] (timer_create): Likewise.
20349 [XPG3 || XPG4] (timer_delete): Likewise.
20350 [XPG3 || XPG4] (timer_gettime): Likewise.
20351 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20352 [XPG3 || XPG4] (timer_settime): Likewise.
20353 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20354 [XPG3 || XPG4] (getlogin_r): Likewise.
20355 [XPG3 || XPG4] (pread): Likewise.
20356 [XPG3 || XPG4] (pthread_atfork): Likewise.
20357 [XPG3 || XPG4] (pwrite): Likewise.
20360 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20363 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20365 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20366 finalizing MALLSTREAM.
20368 * sysdeps/mach/hurd/syncfs.c: New file.
20370 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20374 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20376 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20377 (_nss_dns_gethostbyname4_r): Likewise.
20378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20379 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20381 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20384 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20386 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20388 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20389 * elf/cache.c (print_entry): Print ",AArch64" for
20392 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20393 * elf/cache.c (print_entry): Print ",hard-float" for
20396 2012-11-18 David S. Miller <davem@davemloft.net>
20398 With help from Joseph Myers.
20399 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20401 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20403 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20404 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20406 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20407 * math/libm-test.inc (y0_test): New tests.
20408 (y1_test): New tests.
20409 * sysdeps/i386/fpu/libm-test-ulps: Update.
20410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20413 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20415 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20417 * configure: Regenerated.
20419 2012-11-17 David S. Miller <davem@davemloft.net>
20422 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20423 nonzero exponents with absolute value below 0x1p-128 to +/-
20426 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20428 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20430 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20432 * posix/getconf-speclist.c: New file.
20433 * posix/posix-envs.def: Likewise.
20434 * posix/confstr.c (START_ENV_GROUP): New macro.
20435 (END_ENV_GROUP): Likewise.
20436 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20437 (KNOWN_PRESENT_ENV_STRING): Likewise.
20438 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20439 (UNKNOWN_ENVIRONMENT): Likewise.
20440 (confstr): Include posix-envs.def instead of handling
20441 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20442 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20443 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20444 (END_ENV_GROUP): Likewise.
20445 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20446 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20447 (UNKNOWN_ENVIRONMENT): Likewise.
20448 (__sysconf): Include posix-envs.def instead of handling associated
20449 cases directly here.
20450 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20451 preprocessing getconf-speclist.c rather than running getconf or
20452 generating empty file.
20454 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20456 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20458 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20461 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20463 2012-11-16 David S. Miller <davem@davemloft.net>
20465 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20466 smaller than LDBL_EPSILON/2.0L, just return xm1.
20468 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20470 * elf/tst-array1.c (init): Set constructor priority to 1000.
20471 (fini): Set destructor priority to 1000.
20472 * elf/tst-array2dep.c: Likewise.
20474 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20477 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20478 (_IO_new_file_xsputn): Also return EOF if none of the input
20479 data was written when overflow failed.
20480 * libio/iopadn.c (_IO_padn): Likewise.
20481 * libio/iowpadn.c (_IO_wpadn): Likewise.
20482 * stdio-common/tst-put-error.c: Add copyright notice.
20483 (do_test): Add case for printing padded string.
20484 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20485 _IO_padn returned error.
20486 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20487 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20490 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20492 * libio/libioP.h: Add comment note that the references to C++
20493 bits are now obsolete.
20495 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20497 * math/libm-test.inc (check_complex): Use asprintf.
20499 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20501 * debug/pcprofiledump.c (print_version): Update copyright year.
20502 * malloc/memusagestat.c (print_version): Likewise.
20504 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20507 * elf/Makefile (tests): Add tst-audit8.
20508 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20509 ($(objpfx)tst-audit8.out): New target.
20510 (tst-audit8-ENV): New variable.
20511 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20512 audit if l_reloc_result is NULL.
20513 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20514 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20515 * elf/tst-audit8.c: New file.
20517 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20519 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20520 * misc/Makefile (CFLAGS-select.c): Define.
20521 * posix/Makefile (CFLAGS-pause.c): Define.
20523 2012-11-13 David S. Miller <davem@davemloft.net>
20525 * crypt/Makefile: Move test targets after toplevel Rules
20526 inclusion. Grab any necessary sysdep routines when linking.
20527 * crypt/md5.c (md5_process_block): Remove define, we will always
20528 name it __md5_process_block.
20529 (md5_finish_ctx): Update md5_process_block call.
20530 (md5_stream): Likewise.
20531 (md5_process_bytes): Likewise.
20532 (md5_process_block): Rename to __md5_process_block and move to ...
20533 * crypt/md5-block.c: ... here.
20534 * crypt/sha256.c (sha256_process_block): Move to ...
20535 * crypt/sha256-block.c: ... here.
20536 * crypt/sha512.c (sha512_process_block): Move to ...
20537 * crypt/sha512-block.c: ... here.
20538 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20540 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20541 * sysdeps/sparc/sparc64/multiarch/Makefile
20542 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20544 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20545 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20547 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20548 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20549 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20550 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20551 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20552 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20553 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20554 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20555 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20557 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20558 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20560 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20562 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20564 * timezone/tzselect.ksh: Update from tzcode git revision
20565 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20566 * timezone/zdump.c: Likewise.
20567 * timezone/zic.c: Likewise.
20568 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20569 in TZVERSION setting, not $(PKGVERSION).
20570 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20571 REPORT_BUGS_TO settings.
20574 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20577 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20579 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20580 detection to immediately after _FP_ROUND().
20581 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20584 2012-11-11 David S. Miller <davem@davemloft.net>
20586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20588 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20589 __close rather than their public counterparts.
20591 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20593 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20595 [UNIX98] (sem_timedwait): Do not expect.
20596 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20597 [XPG4 || UNIX98] (sockatmark): Do not expect.
20598 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20599 (clock_getcpuclockid): Do not expect.
20600 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20601 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20603 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20604 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20605 [UNIX98] (vwscanf): Likewise.
20606 [UNIX98] (vswscanf): Likewise.
20608 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20610 * timezone/version.h: Remove file.
20611 * timezone/README: Do not refer to version.h.
20612 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20613 $(objpfx)version.h.
20614 ($(objpfx)zdump.o): Likewise.
20615 ($(objpfx)version.h): New target.
20617 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20619 * timezone/README: Don't mention modification to tzselect.ksh.
20620 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20621 work on unmodified tzselect.ksh. Substitute version numbers in
20624 * Makefile (format-me): Remove.
20625 (INSTALL): Adjust indentation. Use commands directly instead of
20626 using $(format-me).
20628 * aclocal.m4 (ACX_PKGVERSION): New macro.
20629 (ACX_BUGURL): Likewise.
20630 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20631 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20632 (REPORT_BUGS_TO): Likewise.
20633 * configure: Regenerated.
20634 * config.h.in (PKGVERSION): New macro.
20635 (REPORT_BUGS_TO): Likewise.
20636 * config.make.in (PKGVERSION): New variable.
20637 (PKGVERSION_TEXI): Likewise.
20638 (REPORT_BUGS_TO): Likewise.
20639 (REPORT_BUGS_TEXI): Likewise.
20640 * Makefile (format-me): Use -I$(common-objpfx)manual.
20641 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20642 ($(common-objpfx)manual/%): New target.
20643 (manual/%): Remove target.
20644 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20645 (print_version): Use PKGVERSION.
20646 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20647 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20648 and REPORT_BUGS_TO.
20649 ($(objpfx)xtrace): Likewise.
20650 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20651 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20652 (print_version): Use PKGVERSION.
20653 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20654 (do_version): Use PKGVERSION.
20655 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20657 (common-ldd-rewrite): Likewise.
20658 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20659 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20660 (print_version): Use PKGVERSION.
20661 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20662 * elf/pldd.c (argp_program_bug_address): Remove variable.
20663 (more_help): New function.
20664 (argp): Use more_help.
20665 (print_version): Use PKGVERSION.
20666 * elf/sln.c (main): Use PKGVERSION.
20667 (usage): Use REPORT_BUGS_TO.
20668 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20669 (top level): Use PKGVERSION.
20670 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20671 (print_version): Use PKGVERSION.
20672 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20673 (print_version): Use PKGVERSION.
20674 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20675 (print_version): Use PKGVERSION.
20676 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20677 (print_version): Use PKGVERSION.
20678 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20679 (print_version): Use PKGVERSION.
20680 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20681 (print_version): Use PKGVERSION.
20682 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20684 ($(objpfx)memusage): Likewise.
20685 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20686 (do_version): Use PKGVERSION.
20687 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20688 (print_version): Use PKGVERSION.
20689 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20690 ($PKGVERSION): New variable.
20691 ($REPORT_BUGS_TO): Likewise.
20692 (usage): Use $REPORT_BUGS_TO.
20693 (top level): Use $PKGVERSION.
20694 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20695 ($(objpfx)pkgvers.texi): New rule.
20696 ($(objpfx)stamp-pkgvers): Likewise.
20697 * manual/install.texi: Include pkgvers.texi.
20698 (--with-pkgversion): Document new configure option.
20699 (--with-bugurl): Likewise.
20700 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20701 than necessarily for this particular distribution. Use
20702 REPORT_BUGS_TO for where to report bugs.
20703 * INSTALL: Regenerated.
20704 * manual/libc.texinfo: Include pkgvers.texi.
20705 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20706 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20707 (print_version): Use PKGVERSION.
20708 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20709 (print_version): Use PKGVERSION.
20710 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20711 (print_version): Use PKGVERSION.
20712 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20713 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20715 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20716 (print_version): Use PKGVERSION.
20717 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20718 (print_version): Use PKGVERSION.
20719 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20722 * timezone/checktab.awk: Update from tzcode 2012i.
20723 * timezone/ialloc.c: Likewise.
20724 * timezone/private.h: Likewise.
20725 * timezone/scheck.c: Likewise.
20726 * timezone/tzfile.h: Likewise.
20727 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20728 (TZVERSION): Hardcode tzcode version number.
20729 * timezone/zdump.c: Update from tzcode 2012i.
20730 * timezone/zic.c: Likewise.
20731 * timezone/version.h: New file.
20732 * timezone/README: Describe version.h. Update upstream location.
20735 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20736 (mktemp): Enable declaration.
20737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20740 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20742 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20744 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20746 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20748 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20750 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20754 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20755 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20756 for copies of such integer values.
20757 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20758 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20760 2012-11-09 Andreas Jaeger <aj@suse.de>
20762 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20763 definitions and declarations that are provided by
20764 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20766 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20768 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20769 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20770 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20773 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20775 * elf/elf.h: Update comment before AArch64 relocations.
20777 2012-11-07 David S. Miller <davem@davemloft.net>
20779 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20780 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20781 (__start_context): Declare.
20782 (__makecontext_ret): Delete.
20783 (__makecontext): Hook up __start_context instead of
20785 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20786 (sysdep_routines): Add __start_context when in stdlib.
20788 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20790 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20791 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20792 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20794 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20795 (READELF): New variable. Use it instead of hardcoded "readelf".
20797 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20799 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20800 * sysdeps/x86/Makefile: Here.
20801 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20802 * sysdeps/x86/tst-xmmymm.sh: This.
20804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20806 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20808 [UNIX98] (pthread_barrier_t): Do not expect.
20809 [UNIX98] (pthread_barrierattr_t): Likewise.
20810 [UNIX98] (pthread_spinlock_t): Likewise.
20811 [UNIX98] (pthread_barrier_destroy): Likewise.
20812 [UNIX98] (pthread_barrier_init): Likewise.
20813 [UNIX98] (pthread_barrier_wait): Likewise.
20814 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20815 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20816 [UNIX98] (pthread_barrierattr_init): Likewise.
20817 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20818 [UNIX98] (pthread_getcpuclockid): Likewise.
20819 [UNIX98] (pthread_mutex_timedlock): Likewise.
20820 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20821 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20822 [UNIX98] (pthread_sigmask): Likewise.
20823 [UNIX98] (pthread_spin_destroy): Likewise.
20824 [UNIX98] (pthread_spin_init): Likewise.
20825 [UNIX98] (pthread_spin_lock): Likewise.
20826 [UNIX98] (pthread_spin_trylock): Likewise.
20827 [UNIX98] (pthread_spin_unlock): Likewise.
20828 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20830 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20832 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20833 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20834 [XPG3 || XPG4] (pthread_key_t): Likewise.
20835 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20836 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20837 [XPG3 || XPG4] (pthread_once_t): Likewise.
20838 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20839 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20841 [XPG3 || XPG4] (pthread_t): Likewise.
20843 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20845 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20847 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20848 Change function return type to int.
20850 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20851 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20852 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20853 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20854 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20855 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20856 [!POSIX] (posix_madvise): Likewise.
20857 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20859 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20860 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20861 (mode_t): Likewise.
20862 (posix_mem_offset): Likewise.
20863 (posix_typed_mem_get_info): Likewise.
20864 (posix_typed_mem_open): Likewise.
20866 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20867 Change condition to [XOPEN2K8].
20869 * conform/conformtest.pl: Preprocess allow-header data with -x c
20870 instead of from stdin.
20871 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20872 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20873 [C99-based standards] (cerfc): Likewise.
20874 [C99-based standards] (cexp2): Likewise.
20875 [C99-based standards] (cexpm1): Likewise.
20876 [C99-based standards] (clog10): Likewise.
20877 [C99-based standards] (clog1p): Likewise.
20878 [C99-based standards] (clog2): Likewise.
20879 [C99-based standards] (clgamma): Likewise.
20880 [C99-based standards] (ctgamma): Likewise.
20881 [C99-based standards] (cerff): Likewise.
20882 [C99-based standards] (cerfcf): Likewise.
20883 [C99-based standards] (cexp2f): Likewise.
20884 [C99-based standards] (cexpm1f): Likewise.
20885 [C99-based standards] (clog10f): Likewise.
20886 [C99-based standards] (clog1pf): Likewise.
20887 [C99-based standards] (clog2f): Likewise.
20888 [C99-based standards] (clgammaf): Likewise.
20889 [C99-based standards] (ctgammaf): Likewise.
20890 [C99-based standards] (cerfl): Likewise.
20891 [C99-based standards] (cerfcl): Likewise.
20892 [C99-based standards] (cexp2l): Likewise.
20893 [C99-based standards] (cexpm1l): Likewise.
20894 [C99-based standards] (clog10l): Likewise.
20895 [C99-based standards] (clog1pl): Likewise.
20896 [C99-based standards] (clog2l): Likewise.
20897 [C99-based standards] (clgammal): Likewise.
20898 [C99-based standards] (ctgammal): Likewise.
20899 * conform/data/inttypes.h-data [C99-based standards]: Include
20900 stdint.h-data. Remove all expectations for stdint.h contents.
20901 [C99-based standards] (PRI*): Do not allow.
20902 [C99-based standards] (SCN*): Likewise.
20903 [C99-based standards] (*_t): Likewise.
20904 [C99-based-standards] (PRId8): Expect macro.
20905 [C99-based-standards] (PRIi8): Likewise.
20906 [C99-based-standards] (PRIo8): Likewise.
20907 [C99-based-standards] (PRIu8): Likewise.
20908 [C99-based-standards] (PRIx8): Likewise.
20909 [C99-based-standards] (PRIX8): Likewise.
20910 [C99-based-standards] (SCNd8): Likewise.
20911 [C99-based-standards] (SCNi8): Likewise.
20912 [C99-based-standards] (SCNo8): Likewise.
20913 [C99-based-standards] (SCNu8): Likewise.
20914 [C99-based-standards] (SCNx8): Likewise.
20915 [C99-based-standards] (PRIdLEAST8): Likewise.
20916 [C99-based-standards] (PRIiLEAST8): Likewise.
20917 [C99-based-standards] (PRIoLEAST8): Likewise.
20918 [C99-based-standards] (PRIuLEAST8): Likewise.
20919 [C99-based-standards] (PRIxLEAST8): Likewise.
20920 [C99-based-standards] (PRIXLEAST8): Likewise.
20921 [C99-based-standards] (SCNdLEAST8): Likewise.
20922 [C99-based-standards] (SCNiLEAST8): Likewise.
20923 [C99-based-standards] (SCNoLEAST8): Likewise.
20924 [C99-based-standards] (SCNuLEAST8): Likewise.
20925 [C99-based-standards] (SCNxLEAST8): Likewise.
20926 [C99-based-standards] (PRIdFAST8): Likewise.
20927 [C99-based-standards] (PRIiFAST8): Likewise.
20928 [C99-based-standards] (PRIoFAST8): Likewise.
20929 [C99-based-standards] (PRIuFAST8): Likewise.
20930 [C99-based-standards] (PRIxFAST8): Likewise.
20931 [C99-based-standards] (PRIXFAST8): Likewise.
20932 [C99-based-standards] (SCNdFAST8): Likewise.
20933 [C99-based-standards] (SCNiFAST8): Likewise.
20934 [C99-based-standards] (SCNoFAST8): Likewise.
20935 [C99-based-standards] (SCNuFAST8): Likewise.
20936 [C99-based-standards] (SCNxFAST8): Likewise.
20937 [C99-based-standards] (PRId16): Likewise.
20938 [C99-based-standards] (PRIi16): Likewise.
20939 [C99-based-standards] (PRIo16): Likewise.
20940 [C99-based-standards] (PRIu16): Likewise.
20941 [C99-based-standards] (PRIx16): Likewise.
20942 [C99-based-standards] (PRIX16): Likewise.
20943 [C99-based-standards] (SCNd16): Likewise.
20944 [C99-based-standards] (SCNi16): Likewise.
20945 [C99-based-standards] (SCNo16): Likewise.
20946 [C99-based-standards] (SCNu16): Likewise.
20947 [C99-based-standards] (SCNx16): Likewise.
20948 [C99-based-standards] (PRIdLEAST16): Likewise.
20949 [C99-based-standards] (PRIiLEAST16): Likewise.
20950 [C99-based-standards] (PRIoLEAST16): Likewise.
20951 [C99-based-standards] (PRIuLEAST16): Likewise.
20952 [C99-based-standards] (PRIxLEAST16): Likewise.
20953 [C99-based-standards] (PRIXLEAST16): Likewise.
20954 [C99-based-standards] (SCNdLEAST16): Likewise.
20955 [C99-based-standards] (SCNiLEAST16): Likewise.
20956 [C99-based-standards] (SCNoLEAST16): Likewise.
20957 [C99-based-standards] (SCNuLEAST16): Likewise.
20958 [C99-based-standards] (SCNxLEAST16): Likewise.
20959 [C99-based-standards] (PRIdFAST16): Likewise.
20960 [C99-based-standards] (PRIiFAST16): Likewise.
20961 [C99-based-standards] (PRIoFAST16): Likewise.
20962 [C99-based-standards] (PRIuFAST16): Likewise.
20963 [C99-based-standards] (PRIxFAST16): Likewise.
20964 [C99-based-standards] (PRIXFAST16): Likewise.
20965 [C99-based-standards] (SCNdFAST16): Likewise.
20966 [C99-based-standards] (SCNiFAST16): Likewise.
20967 [C99-based-standards] (SCNoFAST16): Likewise.
20968 [C99-based-standards] (SCNuFAST16): Likewise.
20969 [C99-based-standards] (SCNxFAST16): Likewise.
20970 [C99-based-standards] (PRId32): Likewise.
20971 [C99-based-standards] (PRIi32): Likewise.
20972 [C99-based-standards] (PRIo32): Likewise.
20973 [C99-based-standards] (PRIu32): Likewise.
20974 [C99-based-standards] (PRIx32): Likewise.
20975 [C99-based-standards] (PRIX32): Likewise.
20976 [C99-based-standards] (SCNd32): Likewise.
20977 [C99-based-standards] (SCNi32): Likewise.
20978 [C99-based-standards] (SCNo32): Likewise.
20979 [C99-based-standards] (SCNu32): Likewise.
20980 [C99-based-standards] (SCNx32): Likewise.
20981 [C99-based-standards] (PRIdLEAST32): Likewise.
20982 [C99-based-standards] (PRIiLEAST32): Likewise.
20983 [C99-based-standards] (PRIoLEAST32): Likewise.
20984 [C99-based-standards] (PRIuLEAST32): Likewise.
20985 [C99-based-standards] (PRIxLEAST32): Likewise.
20986 [C99-based-standards] (PRIXLEAST32): Likewise.
20987 [C99-based-standards] (SCNdLEAST32): Likewise.
20988 [C99-based-standards] (SCNiLEAST32): Likewise.
20989 [C99-based-standards] (SCNoLEAST32): Likewise.
20990 [C99-based-standards] (SCNuLEAST32): Likewise.
20991 [C99-based-standards] (SCNxLEAST32): Likewise.
20992 [C99-based-standards] (PRIdFAST32): Likewise.
20993 [C99-based-standards] (PRIiFAST32): Likewise.
20994 [C99-based-standards] (PRIoFAST32): Likewise.
20995 [C99-based-standards] (PRIuFAST32): Likewise.
20996 [C99-based-standards] (PRIxFAST32): Likewise.
20997 [C99-based-standards] (PRIXFAST32): Likewise.
20998 [C99-based-standards] (SCNdFAST32): Likewise.
20999 [C99-based-standards] (SCNiFAST32): Likewise.
21000 [C99-based-standards] (SCNoFAST32): Likewise.
21001 [C99-based-standards] (SCNuFAST32): Likewise.
21002 [C99-based-standards] (SCNxFAST32): Likewise.
21003 [C99-based-standards] (PRId64): Likewise.
21004 [C99-based-standards] (PRIi64): Likewise.
21005 [C99-based-standards] (PRIo64): Likewise.
21006 [C99-based-standards] (PRIu64): Likewise.
21007 [C99-based-standards] (PRIx64): Likewise.
21008 [C99-based-standards] (PRIX64): Likewise.
21009 [C99-based-standards] (SCNd64): Likewise.
21010 [C99-based-standards] (SCNi64): Likewise.
21011 [C99-based-standards] (SCNo64): Likewise.
21012 [C99-based-standards] (SCNu64): Likewise.
21013 [C99-based-standards] (SCNx64): Likewise.
21014 [C99-based-standards] (PRIdLEAST64): Likewise.
21015 [C99-based-standards] (PRIiLEAST64): Likewise.
21016 [C99-based-standards] (PRIoLEAST64): Likewise.
21017 [C99-based-standards] (PRIuLEAST64): Likewise.
21018 [C99-based-standards] (PRIxLEAST64): Likewise.
21019 [C99-based-standards] (PRIXLEAST64): Likewise.
21020 [C99-based-standards] (SCNdLEAST64): Likewise.
21021 [C99-based-standards] (SCNiLEAST64): Likewise.
21022 [C99-based-standards] (SCNoLEAST64): Likewise.
21023 [C99-based-standards] (SCNuLEAST64): Likewise.
21024 [C99-based-standards] (SCNxLEAST64): Likewise.
21025 [C99-based-standards] (PRIdFAST64): Likewise.
21026 [C99-based-standards] (PRIiFAST64): Likewise.
21027 [C99-based-standards] (PRIoFAST64): Likewise.
21028 [C99-based-standards] (PRIuFAST64): Likewise.
21029 [C99-based-standards] (PRIxFAST64): Likewise.
21030 [C99-based-standards] (PRIXFAST64): Likewise.
21031 [C99-based-standards] (SCNdFAST64): Likewise.
21032 [C99-based-standards] (SCNiFAST64): Likewise.
21033 [C99-based-standards] (SCNoFAST64): Likewise.
21034 [C99-based-standards] (SCNuFAST64): Likewise.
21035 [C99-based-standards] (SCNxFAST64): Likewise.
21036 [C99-based-standards] (PRIdMAX): Likewise.
21037 [C99-based-standards] (PRIiMAX): Likewise.
21038 [C99-based-standards] (PRIoMAX): Likewise.
21039 [C99-based-standards] (PRIuMAX): Likewise.
21040 [C99-based-standards] (PRIxMAX): Likewise.
21041 [C99-based-standards] (PRIXMAX): Likewise.
21042 [C99-based-standards] (SCNdMAX): Likewise.
21043 [C99-based-standards] (SCNiMAX): Likewise.
21044 [C99-based-standards] (SCNoMAX): Likewise.
21045 [C99-based-standards] (SCNuMAX): Likewise.
21046 [C99-based-standards] (SCNxMAX): Likewise.
21047 [C99-based-standards] (PRIdPTR): Likewise.
21048 [C99-based-standards] (PRIiPTR): Likewise.
21049 [C99-based-standards] (PRIoPTR): Likewise.
21050 [C99-based-standards] (PRIuPTR): Likewise.
21051 [C99-based-standards] (PRIxPTR): Likewise.
21052 [C99-based-standards] (PRIXPTR): Likewise.
21053 [C99-based-standards] (SCNdPTR): Likewise.
21054 [C99-based-standards] (SCNiPTR): Likewise.
21055 [C99-based-standards] (SCNoPTR): Likewise.
21056 [C99-based-standards] (SCNuPTR): Likewise.
21057 [C99-based-standards] (SCNxPTR): Likewise.
21058 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21060 * conform/data/stdint.h-data: Update comments to clarify
21062 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21064 [C99-based standards] (INT8_MAX): Likewise.
21065 [C99-based standards] (INT16_MIN): Likewise.
21066 [C99-based standards] (INT16_MAX): Likewise.
21067 [C99-based standards] (INT32_MIN): Likewise.
21068 [C99-based standards] (INT32_MAX): Likewise.
21069 [C99-based standards] (INT64_MIN): Likewise.
21070 [C99-based standards] (INT64_MAX): Likewise.
21071 [C99-based standards] (UINT8_MAX): Likewise.
21072 [C99-based standards] (UINT16_MAX): Likewise.
21073 [C99-based standards] (UINT32_MAX): Likewise.
21074 [C99-based standards] (UINT64_MAX): Likewise.
21075 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21076 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21077 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21078 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21079 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21080 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21081 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21082 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21083 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21084 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21085 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21086 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21087 [C99-based standards] (INT_FAST8_MIN): Likewise.
21088 [C99-based standards] (INT_FAST8_MAX): Likewise.
21089 [C99-based standards] (INT_FAST16_MIN): Likewise.
21090 [C99-based standards] (INT_FAST16_MAX): Likewise.
21091 [C99-based standards] (INT_FAST32_MIN): Likewise.
21092 [C99-based standards] (INT_FAST32_MAX): Likewise.
21093 [C99-based standards] (INT_FAST64_MIN): Likewise.
21094 [C99-based standards] (INT_FAST64_MAX): Likewise.
21095 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21096 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21097 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21098 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21099 [C99-based standards] (INTPTR_MIN): Likewise.
21100 [C99-based standards] (INTPTR_MAX): Likewise.
21101 [C99-based standards] (UINTPTR_MAX): Likewise.
21102 [C99-based standards] (INTMAX_MIN): Likewise.
21103 [C99-based standards] (INTMAX_MAX): Likewise.
21104 [C99-based standards] (UINTMAX_MAX): Likewise.
21105 [C99-based standards] (PTRDIFF_MIN): Likewise.
21106 [C99-based standards] (PTRDIFF_MAX): Likewise.
21107 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21108 [C99-based standards] (SIZE_MAX): Likewise.
21109 [C99-based standards] (WCHAR_MAX): Likewise.
21110 [C99-based standards] (WINT_MAX): Likewise.
21111 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21112 constraint on value.
21113 [C99-based standards] (WCHAR_MIN): Likewise.
21114 [C99-based standards] (WINT_MIN): Likewise.
21115 [C99-based standards] (*_t): Allow.
21116 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21117 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21118 Include math.h-data and complex.h-data. Remove all expectations
21119 of math.h and complex.h contents.
21120 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21122 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21123 (struct tm): Expect tag.
21124 [C99-based-standards] (wcstof): Expect function.
21125 [C99-based-standards] (wcstold): Likewise.
21126 [C99-based-standards] (wcstoll): Likewise.
21127 [C99-based-standards] (wcstoull): Likewise.
21128 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21129 macro-int-constant. Specify type.
21130 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21131 constraint on value.
21132 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21134 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21136 [ISO C standards]: Do not allow headers.
21137 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21138 wcs[abcdefghijklmnopqrstuvwxyz]*.
21139 [ISO C standards] (*_t): Do not allow.
21140 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21142 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21143 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21145 [ISO C standards]: Do not allow headers.
21146 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21147 is[abcdefghijklmnopqrstuvwxyz]*.
21148 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21149 to[abcdefghijklmnopqrstuvwxyz]*.
21150 [ISO C standards] (*_t): Do not allow.
21151 * conform/data/stdalign.h-data: New file.
21152 * conform/data/stdbool.h-data: Likewise.
21153 * conform/data/stdnoreturn.h-data: Likewise.
21155 2012-11-07 Roland McGrath <roland@hack.frob.com>
21158 * manual/filesys.texi (Directory Entries): Typo fix.
21159 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21161 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21163 * elf/elf.h (EM_AARCH64): New macro.
21164 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21165 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21166 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21167 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21168 (R_AARCH64_TLSDESC): Likewise.
21169 (NT_ARM_TLS): Likewise.
21170 (NT_ARM_HW_BREAK): Likewise.
21171 (NT_ARM_HW_WATCH): Likewise.
21173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21176 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21177 (__ieee754_powl): Saturate nonzero exponents with absolute value
21178 below 0x1p-79 to +/- 0x1p-79.
21179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21180 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21181 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21182 nonzero exponents with absolute value below 0x1p-32 to +/-
21184 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21185 (__ieee754_powl): Saturate nonzero exponents with absolute value
21186 below 0x1p-79 to +/- 0x1p-79.
21187 * math/libm-test.inc (pow_test): Add more tests.
21189 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21191 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21192 _dl_s390_cap_flags with kernel. Increase string length.
21193 (_dl_s390_platforms): Add z196 and zEC12.
21195 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21197 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21198 Change XOPEN21K to XOPEN2K.
21200 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21202 * string/memmove.c: Use memcpy when possible.
21204 2012-11-06 Andreas Jaeger <aj@suse.de>
21206 * po/eo.po: Update from translation team.
21208 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21212 exponent and small x and y exponents, scale x or y up. Increase
21213 by 2 the exponent used in scaling up.
21214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21216 * math/libm-test.inc (fma_test): Add more tests.
21217 (fma_test_towardzero): Likewise.
21218 (fma_test_downward): Likewise.
21219 (fma_test_upward): Likewise.
21221 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21224 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21228 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21229 namespace for names of struct fields.
21230 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21232 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21233 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21235 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21238 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21240 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21242 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21246 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21249 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21253 definitely overflow as x * y not x * y + z.
21254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21256 * math/libm-test.inc (fma_test): Add more tests.
21257 (fma_test_towardzero): Likewise.
21258 (fma_test_downward): Likewise.
21259 (fma_test_upward): Likewise.
21261 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21265 * include/stub-tag.h: Remove file.
21266 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21268 * manual/maint.texi (Porting): Don't reference it.
21269 * Makerules ($(objpfx)stubs): Likewise.
21270 * dirent/closedir.c: Don't include <stub-tag.h>.
21271 * dirent/dirfd.c: Likewise.
21272 * dirent/fdopendir.c: Likewise.
21273 * dirent/getdents.c: Likewise.
21274 * dirent/getdents64.c: Likewise.
21275 * dirent/opendir.c: Likewise.
21276 * dirent/readdir.c: Likewise.
21277 * dirent/readdir64.c: Likewise.
21278 * dirent/readdir64_r.c: Likewise.
21279 * dirent/readdir_r.c: Likewise.
21280 * dirent/rewinddir.c: Likewise.
21281 * dirent/seekdir.c: Likewise.
21282 * dirent/telldir.c: Likewise.
21283 * gmon/profil.c: Likewise.
21284 * grp/setgroups.c: Likewise.
21285 * inet/if_index.c: Likewise.
21286 * io/access.c: Likewise.
21287 * io/chdir.c: Likewise.
21288 * io/chmod.c: Likewise.
21289 * io/chown.c: Likewise.
21290 * io/close.c: Likewise.
21291 * io/dup.c: Likewise.
21292 * io/dup2.c: Likewise.
21293 * io/dup3.c: Likewise.
21294 * io/euidaccess.c: Likewise.
21295 * io/faccessat.c: Likewise.
21296 * io/fchdir.c: Likewise.
21297 * io/fchmod.c: Likewise.
21298 * io/fchmodat.c: Likewise.
21299 * io/fchown.c: Likewise.
21300 * io/fchownat.c: Likewise.
21301 * io/fcntl.c: Likewise.
21302 * io/flock.c: Likewise.
21303 * io/fstatfs.c: Likewise.
21304 * io/fstatfs64.c: Likewise.
21305 * io/fstatvfs.c: Likewise.
21306 * io/fstatvfs64.c: Likewise.
21307 * io/futimens.c: Likewise.
21308 * io/fxstat.c: Likewise.
21309 * io/fxstat64.c: Likewise.
21310 * io/fxstatat.c: Likewise.
21311 * io/fxstatat64.c: Likewise.
21312 * io/getcwd.c: Likewise.
21313 * io/isatty.c: Likewise.
21314 * io/lchmod.c: Likewise.
21315 * io/lchown.c: Likewise.
21316 * io/link.c: Likewise.
21317 * io/linkat.c: Likewise.
21318 * io/lseek.c: Likewise.
21319 * io/lseek64.c: Likewise.
21320 * io/lxstat64.c: Likewise.
21321 * io/mkdir.c: Likewise.
21322 * io/mkdirat.c: Likewise.
21323 * io/mkfifo.c: Likewise.
21324 * io/mkfifoat.c: Likewise.
21325 * io/open.c: Likewise.
21326 * io/open64.c: Likewise.
21327 * io/openat.c: Likewise.
21328 * io/openat64.c: Likewise.
21329 * io/pipe.c: Likewise.
21330 * io/pipe2.c: Likewise.
21331 * io/poll.c: Likewise.
21332 * io/posix_fadvise.c: Likewise.
21333 * io/posix_fadvise64.c: Likewise.
21334 * io/posix_fallocate.c: Likewise.
21335 * io/posix_fallocate64.c: Likewise.
21336 * io/read.c: Likewise.
21337 * io/readlink.c: Likewise.
21338 * io/readlinkat.c: Likewise.
21339 * io/rmdir.c: Likewise.
21340 * io/sendfile.c: Likewise.
21341 * io/sendfile64.c: Likewise.
21342 * io/statfs.c: Likewise.
21343 * io/statfs64.c: Likewise.
21344 * io/statvfs.c: Likewise.
21345 * io/statvfs64.c: Likewise.
21346 * io/symlink.c: Likewise.
21347 * io/symlinkat.c: Likewise.
21348 * io/ttyname.c: Likewise.
21349 * io/ttyname_r.c: Likewise.
21350 * io/umask.c: Likewise.
21351 * io/unlink.c: Likewise.
21352 * io/unlinkat.c: Likewise.
21353 * io/utime.c: Likewise.
21354 * io/utimensat.c: Likewise.
21355 * io/write.c: Likewise.
21356 * io/xmknod.c: Likewise.
21357 * io/xmknodat.c: Likewise.
21358 * io/xstat.c: Likewise.
21359 * io/xstat64.c: Likewise.
21360 * login/getpt.c: Likewise.
21361 * login/grantpt.c: Likewise.
21362 * login/unlockpt.c: Likewise.
21363 * math/e_acoshl.c: Likewise.
21364 * math/e_acosl.c: Likewise.
21365 * math/e_asinl.c: Likewise.
21366 * math/e_atan2l.c: Likewise.
21367 * math/e_atanhl.c: Likewise.
21368 * math/e_coshl.c: Likewise.
21369 * math/e_expl.c: Likewise.
21370 * math/e_fmodl.c: Likewise.
21371 * math/e_gammal_r.c: Likewise.
21372 * math/e_hypotl.c: Likewise.
21373 * math/e_j0l.c: Likewise.
21374 * math/e_j1l.c: Likewise.
21375 * math/e_jnl.c: Likewise.
21376 * math/e_lgammal_r.c: Likewise.
21377 * math/e_log10l.c: Likewise.
21378 * math/e_log2l.c: Likewise.
21379 * math/e_logl.c: Likewise.
21380 * math/e_powl.c: Likewise.
21381 * math/e_rem_pio2l.c: Likewise.
21382 * math/e_sinhl.c: Likewise.
21383 * math/e_sqrtl.c: Likewise.
21384 * math/fclrexcpt.c: Likewise.
21385 * math/fedisblxcpt.c: Likewise.
21386 * math/feenablxcpt.c: Likewise.
21387 * math/fegetenv.c: Likewise.
21388 * math/fegetexcept.c: Likewise.
21389 * math/fegetround.c: Likewise.
21390 * math/feholdexcpt.c: Likewise.
21391 * math/fesetenv.c: Likewise.
21392 * math/fesetround.c: Likewise.
21393 * math/feupdateenv.c: Likewise.
21394 * math/fgetexcptflg.c: Likewise.
21395 * math/fraiseexcpt.c: Likewise.
21396 * math/fsetexcptflg.c: Likewise.
21397 * math/ftestexcept.c: Likewise.
21398 * math/k_cosl.c: Likewise.
21399 * math/k_rem_pio2l.c: Likewise.
21400 * math/k_sinl.c: Likewise.
21401 * math/k_tanl.c: Likewise.
21402 * math/s_asinhl.c: Likewise.
21403 * math/s_atanl.c: Likewise.
21404 * math/s_cbrtl.c: Likewise.
21405 * math/s_erfl.c: Likewise.
21406 * math/s_expm1l.c: Likewise.
21407 * math/s_log1pl.c: Likewise.
21408 * math/s_tanhl.c: Likewise.
21409 * misc/acct.c: Likewise.
21410 * misc/brk.c: Likewise.
21411 * misc/chflags.c: Likewise.
21412 * misc/chroot.c: Likewise.
21413 * misc/fchflags.c: Likewise.
21414 * misc/fgetxattr.c: Likewise.
21415 * misc/flistxattr.c: Likewise.
21416 * misc/fremovexattr.c: Likewise.
21417 * misc/fsetxattr.c: Likewise.
21418 * misc/fsync.c: Likewise.
21419 * misc/ftruncate.c: Likewise.
21420 * misc/futimes.c: Likewise.
21421 * misc/futimesat.c: Likewise.
21422 * misc/getdomain.c: Likewise.
21423 * misc/getdtsz.c: Likewise.
21424 * misc/gethostid.c: Likewise.
21425 * misc/gethostname.c: Likewise.
21426 * misc/getloadavg.c: Likewise.
21427 * misc/getpagesize.c: Likewise.
21428 * misc/getsysstats.c: Likewise.
21429 * misc/getxattr.c: Likewise.
21430 * misc/gtty.c: Likewise.
21431 * misc/ioctl.c: Likewise.
21432 * misc/lgetxattr.c: Likewise.
21433 * misc/listxattr.c: Likewise.
21434 * misc/llistxattr.c: Likewise.
21435 * misc/lremovexattr.c: Likewise.
21436 * misc/lsetxattr.c: Likewise.
21437 * misc/lutimes.c: Likewise.
21438 * misc/madvise.c: Likewise.
21439 * misc/mincore.c: Likewise.
21440 * misc/mlock.c: Likewise.
21441 * misc/mlockall.c: Likewise.
21442 * misc/mmap.c: Likewise.
21443 * misc/mprotect.c: Likewise.
21444 * misc/msync.c: Likewise.
21445 * misc/munlock.c: Likewise.
21446 * misc/munlockall.c: Likewise.
21447 * misc/munmap.c: Likewise.
21448 * misc/preadv.c: Likewise.
21449 * misc/preadv64.c: Likewise.
21450 * misc/ptrace.c: Likewise.
21451 * misc/pwritev.c: Likewise.
21452 * misc/pwritev64.c: Likewise.
21453 * misc/readv.c: Likewise.
21454 * misc/reboot.c: Likewise.
21455 * misc/remap_file_pages.c: Likewise.
21456 * misc/removexattr.c: Likewise.
21457 * misc/revoke.c: Likewise.
21458 * misc/select.c: Likewise.
21459 * misc/setdomain.c: Likewise.
21460 * misc/setegid.c: Likewise.
21461 * misc/seteuid.c: Likewise.
21462 * misc/sethostid.c: Likewise.
21463 * misc/sethostname.c: Likewise.
21464 * misc/setregid.c: Likewise.
21465 * misc/setreuid.c: Likewise.
21466 * misc/setxattr.c: Likewise.
21467 * misc/sstk.c: Likewise.
21468 * misc/stty.c: Likewise.
21469 * misc/swapoff.c: Likewise.
21470 * misc/swapon.c: Likewise.
21471 * misc/sync.c: Likewise.
21472 * misc/syncfs.c: Likewise.
21473 * misc/syscall.c: Likewise.
21474 * misc/truncate.c: Likewise.
21475 * misc/ualarm.c: Likewise.
21476 * misc/usleep.c: Likewise.
21477 * misc/ustat.c: Likewise.
21478 * misc/utimes.c: Likewise.
21479 * misc/vhangup.c: Likewise.
21480 * misc/writev.c: Likewise.
21481 * posix/_exit.c: Likewise.
21482 * posix/alarm.c: Likewise.
21483 * posix/execve.c: Likewise.
21484 * posix/fexecve.c: Likewise.
21485 * posix/fork.c: Likewise.
21486 * posix/fpathconf.c: Likewise.
21487 * posix/getaddrinfo.c: Likewise.
21488 * posix/getegid.c: Likewise.
21489 * posix/geteuid.c: Likewise.
21490 * posix/getgid.c: Likewise.
21491 * posix/getgroups.c: Likewise.
21492 * posix/getlogin.c: Likewise.
21493 * posix/getlogin_r.c: Likewise.
21494 * posix/getpgid.c: Likewise.
21495 * posix/getpid.c: Likewise.
21496 * posix/getppid.c: Likewise.
21497 * posix/getresgid.c: Likewise.
21498 * posix/getresuid.c: Likewise.
21499 * posix/getsid.c: Likewise.
21500 * posix/getuid.c: Likewise.
21501 * posix/glob64.c: Likewise.
21502 * posix/nanosleep.c: Likewise.
21503 * posix/pathconf.c: Likewise.
21504 * posix/pause.c: Likewise.
21505 * posix/posix_madvise.c: Likewise.
21506 * posix/pread.c: Likewise.
21507 * posix/pread64.c: Likewise.
21508 * posix/pwrite.c: Likewise.
21509 * posix/pwrite64.c: Likewise.
21510 * posix/sched_getaffinity.c: Likewise.
21511 * posix/sched_getp.c: Likewise.
21512 * posix/sched_gets.c: Likewise.
21513 * posix/sched_primax.c: Likewise.
21514 * posix/sched_primin.c: Likewise.
21515 * posix/sched_rr_gi.c: Likewise.
21516 * posix/sched_setaffinity.c: Likewise.
21517 * posix/sched_setp.c: Likewise.
21518 * posix/sched_sets.c: Likewise.
21519 * posix/sched_yield.c: Likewise.
21520 * posix/setgid.c: Likewise.
21521 * posix/setlogin.c: Likewise.
21522 * posix/setpgid.c: Likewise.
21523 * posix/setresgid.c: Likewise.
21524 * posix/setresuid.c: Likewise.
21525 * posix/setsid.c: Likewise.
21526 * posix/setuid.c: Likewise.
21527 * posix/sleep.c: Likewise.
21528 * posix/spawni.c: Likewise.
21529 * posix/sysconf.c: Likewise.
21530 * posix/times.c: Likewise.
21531 * posix/wait.c: Likewise.
21532 * posix/wait3.c: Likewise.
21533 * posix/wait4.c: Likewise.
21534 * posix/waitpid.c: Likewise.
21535 * resolv/gai_sigqueue.c: Likewise.
21536 * resource/getpriority.c: Likewise.
21537 * resource/getrlimit.c: Likewise.
21538 * resource/getrusage.c: Likewise.
21539 * resource/nice.c: Likewise.
21540 * resource/setpriority.c: Likewise.
21541 * resource/setrlimit.c: Likewise.
21542 * resource/ulimit.c: Likewise.
21543 * rt/aio_cancel.c: Likewise.
21544 * rt/aio_fsync.c: Likewise.
21545 * rt/aio_read.c: Likewise.
21546 * rt/aio_sigqueue.c: Likewise.
21547 * rt/aio_suspend.c: Likewise.
21548 * rt/aio_write.c: Likewise.
21549 * rt/clock_getres.c: Likewise.
21550 * rt/clock_gettime.c: Likewise.
21551 * rt/clock_nanosleep.c: Likewise.
21552 * rt/clock_settime.c: Likewise.
21553 * rt/lio_listio.c: Likewise.
21554 * rt/mq_close.c: Likewise.
21555 * rt/mq_getattr.c: Likewise.
21556 * rt/mq_notify.c: Likewise.
21557 * rt/mq_open.c: Likewise.
21558 * rt/mq_receive.c: Likewise.
21559 * rt/mq_send.c: Likewise.
21560 * rt/mq_setattr.c: Likewise.
21561 * rt/mq_timedreceive.c: Likewise.
21562 * rt/mq_timedsend.c: Likewise.
21563 * rt/mq_unlink.c: Likewise.
21564 * rt/shm_open.c: Likewise.
21565 * rt/shm_unlink.c: Likewise.
21566 * rt/timer_create.c: Likewise.
21567 * rt/timer_delete.c: Likewise.
21568 * rt/timer_getoverr.c: Likewise.
21569 * rt/timer_gettime.c: Likewise.
21570 * rt/timer_settime.c: Likewise.
21571 * setjmp/__longjmp.c: Likewise.
21572 * setjmp/setjmp.c: Likewise.
21573 * signal/kill.c: Likewise.
21574 * signal/killpg.c: Likewise.
21575 * signal/raise.c: Likewise.
21576 * signal/sigaction.c: Likewise.
21577 * signal/sigaltstack.c: Likewise.
21578 * signal/sigblock.c: Likewise.
21579 * signal/sigignore.c: Likewise.
21580 * signal/sigintr.c: Likewise.
21581 * signal/signal.c: Likewise.
21582 * signal/sigpause.c: Likewise.
21583 * signal/sigpending.c: Likewise.
21584 * signal/sigqueue.c: Likewise.
21585 * signal/sigreturn.c: Likewise.
21586 * signal/sigset.c: Likewise.
21587 * signal/sigsetmask.c: Likewise.
21588 * signal/sigstack.c: Likewise.
21589 * signal/sigsuspend.c: Likewise.
21590 * signal/sigtimedwait.c: Likewise.
21591 * signal/sigvec.c: Likewise.
21592 * signal/sigwait.c: Likewise.
21593 * signal/sigwaitinfo.c: Likewise.
21594 * signal/sysv_signal.c: Likewise.
21595 * socket/accept.c: Likewise.
21596 * socket/accept4.c: Likewise.
21597 * socket/bind.c: Likewise.
21598 * socket/connect.c: Likewise.
21599 * socket/getpeername.c: Likewise.
21600 * socket/getsockname.c: Likewise.
21601 * socket/getsockopt.c: Likewise.
21602 * socket/isfdtype.c: Likewise.
21603 * socket/listen.c: Likewise.
21604 * socket/recv.c: Likewise.
21605 * socket/recvfrom.c: Likewise.
21606 * socket/recvmsg.c: Likewise.
21607 * socket/send.c: Likewise.
21608 * socket/sendmsg.c: Likewise.
21609 * socket/sendto.c: Likewise.
21610 * socket/setsockopt.c: Likewise.
21611 * socket/shutdown.c: Likewise.
21612 * socket/sockatmark.c: Likewise.
21613 * socket/socket.c: Likewise.
21614 * socket/socketpair.c: Likewise.
21615 * stdio-common/ctermid.c: Likewise.
21616 * stdio-common/cuserid.c: Likewise.
21617 * stdio-common/remove.c: Likewise.
21618 * stdio-common/rename.c: Likewise.
21619 * stdio-common/renameat.c: Likewise.
21620 * stdio-common/tempname.c: Likewise.
21621 * stdlib/getcontext.c: Likewise.
21622 * stdlib/makecontext.c: Likewise.
21623 * stdlib/setcontext.c: Likewise.
21624 * stdlib/swapcontext.c: Likewise.
21625 * stdlib/system.c: Likewise.
21626 * streams/fattach.c: Likewise.
21627 * streams/fdetach.c: Likewise.
21628 * streams/getmsg.c: Likewise.
21629 * streams/getpmsg.c: Likewise.
21630 * streams/putmsg.c: Likewise.
21631 * streams/putpmsg.c: Likewise.
21632 * sysdeps/unix/bsd/getpt.c: Likewise.
21633 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21634 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21635 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21638 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21639 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21640 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21641 * sysvipc/msgctl.c: Likewise.
21642 * sysvipc/msgget.c: Likewise.
21643 * sysvipc/msgrcv.c: Likewise.
21644 * sysvipc/msgsnd.c: Likewise.
21645 * sysvipc/semctl.c: Likewise.
21646 * sysvipc/semget.c: Likewise.
21647 * sysvipc/semop.c: Likewise.
21648 * sysvipc/semtimedop.c: Likewise.
21649 * sysvipc/shmat.c: Likewise.
21650 * sysvipc/shmctl.c: Likewise.
21651 * sysvipc/shmdt.c: Likewise.
21652 * sysvipc/shmget.c: Likewise.
21653 * termios/tcdrain.c: Likewise.
21654 * termios/tcflow.c: Likewise.
21655 * termios/tcflush.c: Likewise.
21656 * termios/tcgetattr.c: Likewise.
21657 * termios/tcgetpgrp.c: Likewise.
21658 * termios/tcsendbrk.c: Likewise.
21659 * termios/tcsetattr.c: Likewise.
21660 * termios/tcsetpgrp.c: Likewise.
21661 * time/adjtime.c: Likewise.
21662 * time/clock.c: Likewise.
21663 * time/getitimer.c: Likewise.
21664 * time/gettimeofday.c: Likewise.
21665 * time/setitimer.c: Likewise.
21666 * time/settimeofday.c: Likewise.
21667 * time/stime.c: Likewise.
21668 * time/time.c: Likewise.
21670 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21672 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21675 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21677 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21679 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21683 FE_TONEAREST before applying Dekker multiplication and Knuth
21684 addition. Clear inexact exceptions and check for exact zero
21685 results afterwards.
21686 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21687 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21689 * math/libm-test.inc (fma_test): Add more tests.
21690 (fma_test_towardzero): Likewise.
21691 (fma_test_downward): Likewise.
21692 (fma_test_upward): Likewise.
21693 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21695 (libc_fesetround): New macro.
21696 (libc_fesetroundf): Likewise.
21697 (libc_fesetroundl): Likewise.
21698 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21700 (libc_fesetround_387): Likewise.
21701 (libc_fesetroundf): New macro.
21702 (libc_fesetround): Likewise.
21703 (libc_fesetroundl): Likewise.
21704 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21706 (libc_fesetroundf): New macro.
21707 (libc_fesetround): Likewise.
21708 (libc_fesetroundl): Likewise.
21709 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21710 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21711 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21713 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21714 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21716 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21717 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21719 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21723 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21724 integer constant usable in #if and use that to give value to enum
21726 (FE_DIVBYZERO): Likewise.
21727 (FE_UNDERFLOW): Likewise.
21728 (FE_OVERFLOW): Likewise.
21729 (FE_INVALID): Likewise.
21730 (FE_INVALID_SNAN): Likewise.
21731 (FE_INVALID_ISI): Likewise.
21732 (FE_INVALID_IDI): Likewise.
21733 (FE_INVALID_ZDZ): Likewise.
21734 (FE_INVALID_IMZ): Likewise.
21735 (FE_INVALID_COMPARE): Likewise.
21736 (FE_INVALID_SOFTWARE): Likewise.
21737 (FE_INVALID_SQRT): Likewise.
21738 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21739 (FE_TONEAREST): Likewise.
21740 (FE_TOWARDZERO): Likewise.
21741 (FE_UPWARD): Likewise.
21742 (FE_DOWNWARD): Likewise.
21743 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21744 (FE_DIVBYZERO): Likewise.
21745 (FE_OVERFLOW): Likewise.
21746 (FE_UNDERFLOW): Likewise.
21747 (FE_INEXACT): Likewise.
21748 (FE_TONEAREST): Likewise.
21749 (FE_DOWNWARD): Likewise.
21750 (FE_UPWARD): Likewise.
21751 (FE_TOWARDZERO): Likewise.
21752 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21753 (FE_UNDERFLOW): Likewise.
21754 (FE_OVERFLOW): Likewise.
21755 (FE_DIVBYZERO): Likewise.
21756 (FE_INVALID): Likewise.
21757 (FE_TONEAREST): Likewise.
21758 (FE_TOWARDZERO): Likewise.
21759 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21760 (FE_OVERFLOW): Likewise.
21761 (FE_UNDERFLOW): Likewise.
21762 (FE_DIVBYZERO): Likewise.
21763 (FE_INEXACT): Likewise.
21764 (FE_TONEAREST): Likewise.
21765 (FE_TOWARDZERO): Likewise.
21766 (FE_UPWARD): Likewise.
21767 (FE_DOWNWARD): Likewise.
21768 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21769 (FE_DIVBYZERO): Likewise.
21770 (FE_OVERFLOW): Likewise.
21771 (FE_UNDERFLOW): Likewise.
21772 (FE_INEXACT): Likewise.
21773 (FE_TONEAREST): Likewise.
21774 (FE_DOWNWARD): Likewise.
21775 (FE_UPWARD): Likewise.
21776 (FE_TOWARDZERO): Likewise.
21778 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21780 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21782 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21784 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21785 commands. Quote $PWD.
21786 (blacklist_exports): Don't use remove_newlines. Replace "declare
21788 (remove_newlines): Remove.
21790 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21792 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21793 * stdlib/stdlib.h (atof): Moved to ...
21794 * include/bits/stdlib-float.h: Here. New file.
21795 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21796 * stdlib/bits/stdlib-float.h: New file.
21797 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21802 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21804 * conform/conformtest.pl (@headers): Add fenv.h.
21805 * conform/data/fenv.h-data: New file.
21806 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21807 include of <math/fenv.h>.
21809 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21810 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21811 && !UNIX98]. Enables tests for XOPEN2K8.
21812 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21813 POSIX2008]: Likewise.
21815 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21816 (struct rusage): Do not expect type or its members.
21819 * math/math.h (FP_NAN): Define macro to integer constant usable in
21820 #if and use that to give value to enum constant.
21821 (FP_INFINITE): Likewise.
21822 (FP_ZERO): Likewise.
21823 (FP_SUBNORMAL): Likewise.
21824 (FP_NORMAL): Likewise.
21826 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21828 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21829 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21832 2012-11-02 Roland McGrath <roland@hack.frob.com>
21834 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21835 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21836 autoconf-time if not.
21837 * configure.in: Remove AC_PREREQ.
21839 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21841 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21842 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21843 of the internal implementation.
21845 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21847 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21848 except include of <misc/sys/syslog.h>.
21850 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21853 function returns with a NULL context exit with zero.
21855 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21857 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21859 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21861 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21862 (run_program_cmd): This.
21863 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21864 (tst_langinfo): New variable. Use it.
21866 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21868 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21869 floating point opcodes.
21871 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21873 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21876 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21878 * sysdeps/mach/hurd/powerpc: Remove directory.
21879 * sysdeps/mach/powerpc: Likewise.
21881 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21883 * scripts/check-local-headers.sh: Ignore c++ headers.
21885 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21887 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21888 __libc_cleanup_region_start argument.
21890 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21895 x * y using scaling, not as x * y + z.
21896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21898 * math/libm-test.inc (fma_test): Add more tests.
21899 (fma_test_towardzero): Likewise.
21900 (fma_test_downward): Likewise.
21901 (fma_test_upward): Likewise.
21903 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21905 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21907 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21909 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21912 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21914 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21916 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21923 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21926 Fix the order of the list for glibc 2.17.
21927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21930 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21934 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21937 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21938 for low part of x being zero before using __atanl (y).
21939 * math/libm-test.inc (atan2_test): Add another test.
21941 * manual/install.texi (Configuring and compiling): Document
21942 general use of test-wrapper and test-wrapper-env.
21943 * INSTALL: Regenerated.
21945 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21946 (__fma): Do not extract and scale down low bits on after-rounding
21947 systems when result rounded to normal precision would have normal
21949 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21950 (__fmal): Do not extract and scale down low bits on after-rounding
21951 systems when result rounded to normal precision would have normal
21953 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21954 (__fmal): Do not extract and scale down low bits on after-rounding
21955 systems when result rounded to normal precision would have normal
21957 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21959 (fma_test): Add more tests.
21960 (fma_test_towardzero): Likewise.
21961 (fma_test_downward): Likewise.
21962 (fma_test_upward): Likewise.
21964 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21966 * sysdeps/i386/tininess.h: Renamed to ...
21967 * sysdeps/x86/tininess.h: This.
21968 * sysdeps/x86_64/tininess.h: Removed.
21970 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21972 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21973 input. Use $(build-program-cmd).
21974 ($(objpfx)tst-array1-static.out): Likewise.
21975 ($(objpfx)tst-array2.out): Likewise.
21976 ($(objpfx)tst-array3.out): Likewise.
21977 ($(objpfx)tst-array4.out): Likewise.
21978 ($(objpfx)tst-array5.out): Likewise.
21979 ($(objpfx)tst-array5-static.out): Likewise.
21981 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21983 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21986 * nss/nsswitch.h (nss_interface_function): Provide new
21987 macro for use with NSS functions.
21988 * grp/initgroups.c: Use new macro.
21989 * nss/getXXbyYY.c: Likewise.
21990 * nss/getXXbyYY_r.c: Likewise.
21991 * nss/getXXent.c: Likewise.
21992 * nss/getXXent_r.c: Likewise.
21993 * sysdeps/posix/getaddrinfo.c: Likewise.
21995 2012-10-30 Andreas Jaeger <aj@suse.de>
21997 * po/ru.po: Update Russion translation from translation project.
21999 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22004 result and shift together with sticky bit instead of replicating
22005 round-to-nearest rounding.
22006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22008 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22009 missing underflow exceptions.
22010 (fma_test_towardzero): Add more tests.
22011 (fma_test_downward): Likewise.
22012 (fma_test_upward): Likewise.
22015 * sysdeps/generic/tininess.h: New file.
22016 * sysdeps/i386/tininess.h: Likewise.
22017 * sysdeps/sh/tininess.h: Likewise.
22018 * sysdeps/x86_64/tininess.h: Likewise.
22019 * stdlib/tst-strtod-underflow.c: Likewise.
22020 * stdlib/tst-tininess.c: Likewise.
22021 * stdlib/strtod_l.c: Include <tininess.h>.
22022 (round_and_return): Do not set errno for exact underflow cases.
22023 Force an underflow exception when setting errno for underflow.
22024 Determine underflow based on rounding to normal precision if
22025 TININESS_AFTER_ROUNDING.
22026 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22027 ERANGE for exact underflow cases.
22028 * stdlib/Makefile (tests): Add tst-tininess and
22029 tst-strtod-underflow.
22030 ($(objpfx)tst-tininess): Use $(link-libm).
22031 ($(objpfx)tst-strtod-underflow): Likewise.
22033 2012-10-30 Andreas Jaeger <aj@suse.de>
22036 * elf/Makefile (tests): Remove conditional for have-initfini-array
22037 since this is now always required and the variable does not exist
22039 (tests-static): Likewise.
22040 (modules-names): Likewise.
22042 * po/eo.po: Add Esperanto translation from translation project.
22044 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22045 merged with constructor/destructor.
22046 (init_array): Likewise.
22047 * elf/tst-array2dep.c (fini_array): Likewise.
22048 (init_array): Likewise.
22050 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22052 * manual/message.texi: Delete @cartouche tags.
22054 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22056 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22058 * sysdeps/mach/hurd/fsync.c: Likewise.
22060 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22061 [_POSIX_REALTIME_SIGNALS]: Change condition to
22062 [_POSIX_REALTIME_SIGNALS > 0].
22064 2012-10-27 Andreas Jaeger <aj@suse.de>
22066 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22067 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22069 [__WORDSIZE != 64]: Likewise.
22071 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22073 * iconvdata/tst-table.sh: Remove ${SHELL}.
22074 * iconvdata/tst-tables.sh: Likewise.
22076 2012-10-25 David S. Miller <davem@davemloft.net>
22078 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22079 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22085 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22086 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22089 2012-10-25 Roland McGrath <roland@hack.frob.com>
22091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22092 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22095 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22096 Jim Blandy <jimb@codesourcery.com>
22098 * scripts/cross-test-ssh.sh: New file.
22099 * manual/install.texi (Configuring and compiling): Document use of
22101 * INSTALL: Regenerated.
22103 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22105 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22108 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22110 * Makeconfig (run-program-prefix): Fix comment.
22112 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22113 Jim Blandy <jimb@codesourcery.com>
22115 * Makeconfig (test-wrapper): New variable,
22116 (test-wrapper-env): Likewise.
22117 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22118 (run-built-tests): Define to yes.
22119 (run-program-prefix): Use $(test-wrapper).
22120 (built-program-cmd): Likewise.
22121 * Rules (make-test-out): Use $(test-wrapper-env) and
22122 $(host-built-program-cmd).
22123 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22124 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22126 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22127 $(test-wrapper-env) to tst-rtld-load-self.sh.
22128 ($(objpfx)order2.out): Use $(test-wrapper).
22129 ($(objpfx)tst-initorder.out): Likewise.
22130 ($(objpfx)tst-initorder2.out): Likewise.
22131 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22132 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22133 (test_wrapper_env): New variable. Use it to run ld.so.
22134 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22135 Use it to run ld.so.
22136 (test_wrapper_env): Likewise.
22137 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22138 $(test-wrapper) to run-iconv-test.sh.
22139 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22140 (ICONV): Use $test_wrapper.
22141 * posix/Makefile ($(objpfx)globtest.out): Pass
22142 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22143 globtest.sh, not $(run-program-prefix).
22144 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22145 (test_wrapper): Likewise.
22146 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22147 set together with run_via_rtld_prefix.
22148 (run_program_prefix): Define in terms of test_wrapper and
22149 run_via_rtld_prefix.
22151 2012-10-24 Roland McGrath <roland@hack.frob.com>
22153 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22154 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22158 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22159 Declare __clock_getres, __clock_gettime, __clock_settime,
22160 __clock_nanosleep, and __clock_getcpuclockid.
22161 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22162 Remove librt_hidden_def (clock_gettime).
22163 * sysdeps/unix/clock_gettime.c: Likewise.
22164 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22166 * rt/clock_getres.c: Define __clock_getres as an alias.
22167 * sysdeps/posix/clock_getres.c: Likewise.
22168 * rt/clock_settime.c: Define __clock_settime as an alias.
22169 * sysdeps/unix/clock_settime.c: Likewise.
22170 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22171 * sysdeps/unix/clock_nanosleep.c: Likewise.
22172 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22173 * rt/clock-compat.c: New file.
22174 * rt/Makefile (librt-routines): Add clock-compat and move
22175 $(clock-routines) to ...
22176 (routines): ... here, new variable.
22177 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22178 Don't add get_clockfreq here.
22179 * rt/Versions (libc: GLIBC_2.17): New version set.
22180 Add clock_* symbols here.
22181 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22182 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22183 (GLIBC_2.17): Add clock_* symbols.
22184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22195 * NEWS: Mention the move.
22197 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22198 Use __open, __read, __close rather than their public counterparts.
22199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22200 (__get_clockfreq_via_cpuinfo): Likewise.
22201 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22202 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22204 * config.h.in (HAVE_IFUNC): New #undef.
22205 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22207 * configure: Regenerated.
22209 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22211 * configure.in: Move READELF check to start of file.
22212 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22213 libc_cv_asm_gnu_indirect_function in the process.
22214 * configure: Regenerated.
22216 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22218 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22219 send the output to /dev/null.
22220 (libc_cv_cc_with_libunwind): Likewise.
22221 (libc_cv_as_noexecstack): Likewise.
22222 * configure: Regenerate.
22224 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22226 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22228 * posix/globtest.sh (TMPDIR): Do not set.
22229 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22230 (testout): Likewise.
22232 2012-10-24 Andreas Jaeger <aj@suse.de>
22234 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22235 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22236 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22237 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22238 posix_fadvise64, posix_fallocate64.
22240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22241 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22242 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22244 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22246 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22249 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22250 <bits/fcntl-linux.h>.
22251 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22254 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22255 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22256 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22257 [__WORDSIZE != 64]: Likewise.
22259 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22261 * Makeconfig (run-built-tests): New variable.
22262 * Rules [$(cross-compiling) = yes]: Change condition to
22263 [$(run-built-tests) = no].
22264 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22265 to [$(run-built-tests) = yes].
22266 * elf/Makefile [$(cross-compiling) = no]: Likewise
22267 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22268 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22269 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22270 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22271 * io/Makefile [$(cross-compiling) = no]: Likewise.
22272 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22273 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22274 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22275 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22276 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22277 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22278 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22279 * string/Makefile [$(cross-compiling) = no]: Likewise.
22281 * posix/Makefile ($(objpfx)globtest.out): Pass
22282 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22283 $(rtld-installed-name).
22284 * posix/globtest.sh (elf_objpfx): Remove variable.
22285 (rtld_installed_name): Likewise.
22286 (library_path): Likewise.
22287 (run_program_prefix): New variable. Use for running globtest
22290 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22291 Joseph Myers <joseph@codesourcery.com>
22293 * Makeconfig (host-built-program-cmd): New variable.
22294 * elf/Makefile (tst-stackguard1-ARGS): Use
22295 $(host-built-program-cmd).
22296 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22297 (tst-spawn-ARGS): Likewise.
22298 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22300 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22301 Jim Blandy <jimb@codesourcery.com>
22303 * Makeconfig (run-via-rtld-prefix): New variable.
22304 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22305 (built-program-cmd): Likewise.
22307 2012-10-22 Andreas Jaeger <aj@suse.de>
22309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22310 __O_RSYNC if it exists, otherwise to O_SYNC.
22312 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22313 Joseph Myers <joseph@codesourcery.com>
22315 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22317 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22319 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22322 2012-10-22 Andreas Jaeger <aj@suse.de>
22324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22329 bits/fcntl-linux.h.
22331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22332 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22339 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22340 Joseph Myers <joseph@codesourcery.com>
22342 * config.make.in (NM): New variable.
22344 2012-10-21 Andreas Jaeger <aj@suse.de>
22346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22347 definitions and declarations that are provided by
22348 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22350 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22353 * elf/Makefile (tests-static): Add tst-leaks1-static.
22354 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22355 ($(objpfx)tst-leaks1-static): New rule.
22356 ($(objpfx)tst-leaks1-static-mem): Likewise.
22357 (tst-leaks1-static-ENV): New macro.
22358 * elf/dl-open.c (dl_open_worker): Check the main application
22359 only if SHARED is defined.
22360 * elf/tst-leaks1-static.c: New file.
22362 2012-10-20 Andreas Jaeger <aj@suse.de>
22364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22365 generic values for Linux.
22366 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22367 and declarations that are provided by <bits/fcntl-linux.h> and
22368 include <bits/fcntl-linux.h>.
22369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22372 2012-10-20 Roland McGrath <roland@hack.frob.com>
22374 * io/fcntl.h: Move include of <bits/types.h> to the top and
22375 include it unconditionally.
22377 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22379 * wcsmbs/Makefile (tests-ifunc): New variable.
22380 (tests): Add $(tests-ifunc).
22381 * wcsmbs/test-wcschr-ifunc.c: New file.
22382 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22383 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22384 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22385 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22386 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22388 * string/Makefile (tests-ifunc): New variable.
22389 (tests): Add $(tests-ifunc).
22390 * string/test-memccpy.c (TEST_NAME): New macro.
22391 * string/test-memchr.c (TEST_NAME): Likewise.
22392 * string/test-memcmp.c (TEST_NAME): Likewise.
22393 * string/test-memcpy.c (TEST_NAME): Likewise.
22394 * string/test-memmem.c (TEST_NAME): Likewise.
22395 * string/test-memmove.c (TEST_NAME): Likewise.
22396 * string/test-memset.c (TEST_NAME): Likewise.
22397 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22398 * string/test-stpcpy.c (TEST_NAME): Likewise.
22399 * string/test-stpncpy.c (TEST_NAME): Likewise.
22400 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22401 * string/test-strcasestr.c (TEST_NAME): Likewise.
22402 * string/test-strcat.c (TEST_NAME): Likewise.
22403 * string/test-strchr.c (TEST_NAME): Likewise.
22404 * string/test-strcmp.c(TEST_NAME): Likewise.
22405 * string/test-strcpy.c (TEST_NAME): Likewise.
22406 * string/test-strcspn.c (TEST_NAME): Likewise.
22407 * string/test-strlen.c (TEST_NAME): Likewise.
22408 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22409 * string/test-strncmp.c (TEST_NAME): Likewise.
22410 * string/test-strncpy.c (TEST_NAME): Likewise.
22411 * string/test-strnlen.c (TEST_NAME): Likewise.
22412 * string/test-strpbrk.c (TEST_NAME): Likewise.
22413 * string/test-strrchr.c (TEST_NAME): Likewise.
22414 * string/test-strspn.c (TEST_NAME): Likewise.
22415 * string/test-strstr.c (TEST_NAME): Likewise.
22416 * string/test-bcopy-ifunc.c: New file.
22417 * string/test-bzero-ifunc.c: Likewise.
22418 * string/test-memccpy-ifunc.c: Likewise.
22419 * string/test-memchr-ifunc.c: Likewise.
22420 * string/test-memcmp-ifunc.c: Likewise.
22421 * string/test-memcpy-ifunc.c: Likewise.
22422 * string/test-memmem-ifunc.c: Likewise.
22423 * string/test-memmove-ifunc.c: Likewise.
22424 * string/test-mempcpy-ifunc.c: Likewise.
22425 * string/test-memset-ifunc.c: Likewise.
22426 * string/test-rawmemchr-ifunc.c: Likewise.
22427 * string/test-stpcpy-ifunc.c: Likewise.
22428 * string/test-stpncpy-ifunc.c: Likewise.
22429 * string/test-strcasecmp-ifunc.c: Likewise.
22430 * string/test-strcasestr-ifunc.c: Likewise.
22431 * string/test-strcat-ifunc.c: Likewise.
22432 * string/test-strchr-ifunc.c: Likewise.
22433 * string/test-strchrnul-ifunc.c: Likewise.
22434 * string/test-strcmp-ifunc.c: Likewise.
22435 * string/test-strcpy-ifunc.c: Likewise.
22436 * string/test-strcspn-ifunc.c: Likewise.
22437 * string/test-strlen-ifunc.c: Likewise.
22438 * string/test-strncasecmp-ifunc.c: Likewise.
22439 * string/test-strncat-ifunc.c: Likewise.
22440 * string/test-strncmp-ifunc.c: Likewise.
22441 * string/test-strncpy-ifunc.c: Likewise.
22442 * string/test-strnlen-ifunc.c: Likewise.
22443 * string/test-strpbrk-ifunc.c: Likewise.
22444 * string/test-strrchr-ifunc.c: Likewise.
22445 * string/test-strspn-ifunc.c: Likewise.
22446 * string/test-strstr-ifunc.c: Likewise.
22448 * debug/Makefile (tests-ifunc): New variable.
22449 (tests): Add $(tests-ifunc).
22450 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22451 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22452 * debug/test-stpcpy_chk-ifunc.c: New file.
22453 * debug/test-strcpy_chk-ifunc.c: Likewise.
22455 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22458 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22459 header is not read in.
22461 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22463 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22464 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22465 directly. Pass built executable to script as
22466 $(built-program-cmd).
22467 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22468 $testprogram without using LD_LIBRARY_PATH and $ldso.
22470 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22471 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22472 $(rtld-installed-name).
22473 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22474 (rtld_installed_name): Likewise.
22475 (library_path): Likewise.
22476 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22477 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22478 $(run-program-prefix) to tst-tables.sh.
22479 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22480 it to run tst-table-from and tst-table-to.
22481 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22482 Pass it to tst-table.sh.
22483 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22484 $(run-program-prefix) to tst-gettext.sh.
22485 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22487 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22489 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22490 to run tst-gettext.
22491 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22492 to run tst-gettext2.
22493 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22494 to run tst-translit.
22495 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22496 $(run-program-prefix) to tst-mtrace.sh.
22497 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22499 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22500 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22501 $(rtld-installed-name).
22502 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22503 (rtld_installed_name): Likewise.
22504 (run_program_prefix): New variable. Use it to run wordexp-test.
22506 * Makeconfig (ARCH): Remove all definitions.
22507 (machine): Likewise.
22508 [ARCH]: Remove conditional code.
22509 [!objdir]: Give error.
22510 [!objdir] (objpfx): Remove.
22511 [!objdir] (common-objpfx): Likewise.
22512 [!objdir] (common-objdir): Likewise.
22513 * configure.in (config_makefile): Remove. Hardcode Makefile in
22514 AC_CONFIG_FILES call.
22515 * configure: Regenerated.
22518 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22520 (testout): Likewise.
22522 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22523 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22524 $(rtld-installed-name).
22525 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22526 (rtld_installed_name): Likwise.
22527 (runit): Remove function.
22528 (run_getconf): New variable, Use it for running getconf binary.
22530 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22533 * string/test-memmem.c (check_result): New function.
22534 (do_one_test): Use it.
22535 (check1): New function.
22536 (test_main): Use it.
22538 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22540 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22542 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22544 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22545 (_G_LSEEK64): Likewise.
22546 (_G_MMAP64): Likewise.
22547 (_G_FSTAT64): Likewise.
22548 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22549 (_G_LSEEK64): Likewise.
22550 (_G_MMAP64): Likewise.
22551 (_G_FSTAT64): Likewise.
22552 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22553 unconditional. Call __mmap64 directly.
22554 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22555 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22556 __lseek64 directly.
22557 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22558 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22560 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22561 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22562 __lseek64 directly.
22563 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22564 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22565 __lseek64 directly.
22566 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22567 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22568 __lseek64 directly.
22569 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22570 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22571 __fxstat64 directly.
22572 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22573 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22575 (freopen64) [!_G_OPEN64]: Remove conditional code.
22576 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22578 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22579 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22581 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22582 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22584 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22585 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22587 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22588 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22590 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22591 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22593 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22594 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22596 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22598 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22601 * manual/memory.texi (Malloc Tunable Parameters): Add note
22602 about free list pointers overwriting some perturb bytes.
22603 Wording suggested by Roland McGrath.
22605 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22607 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22608 (lgamma_test): Likewise.
22609 (tgamma_test): Likewise.
22611 2012-10-16 Florian Weimer <fweimer@redhat.com>
22614 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22615 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22617 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22619 * NEWS: Mention BZ #14716.
22620 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22621 when removing AVAILABLE1_USES_J macro.
22623 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22625 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22626 (__bswap_64): __uint64_t for unsigned 64-bit int.
22628 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22630 * include/string.h (memmem): Declare libc hidden alias.
22631 * string/memmem.c (memmem): Define libc hidden alias.
22632 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22633 __read, __close instead of open, read, close.
22635 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22638 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22640 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22641 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22642 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22644 (__rawmemchr_sse2): Likewise.
22645 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22646 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22647 (__strchr_sse2): Likewise.
22648 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22649 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22650 (__strcasecmp_sse2): Likewise.
22651 (__strncasecmp_sse2): Likewise.
22652 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22653 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22654 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22655 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22656 (__strrchr_sse2): Likewise.
22657 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22659 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22660 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22661 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22662 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22663 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22664 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22665 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22666 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22667 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22668 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22669 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22670 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22671 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22672 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22673 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22674 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22675 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22676 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22677 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22678 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22679 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22680 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22681 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22682 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22683 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22684 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22685 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22686 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22687 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22688 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22690 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22692 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22693 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22694 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22695 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22697 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22699 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22700 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22701 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22702 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22704 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22705 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22707 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22708 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22709 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22710 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22711 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22712 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22713 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22714 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22715 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22716 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22717 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22718 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22719 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22720 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22721 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22722 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22723 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22724 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22725 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22726 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22727 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22728 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22729 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22730 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22731 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22732 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22733 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22734 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22735 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22736 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22737 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22738 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22739 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22742 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22743 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22744 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22746 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22747 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22748 * include/ifunc-impl-list.h: New file.
22749 * misc/ifunc-impl-list.c: Likewise.
22750 * misc/Makefile (routines): Add ifunc-impl-list.
22751 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22752 * string/test-string.h: Include <ifunc-impl-list.h>.
22753 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22754 impl_array): New variables.
22755 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22757 (test_init): Call __libc_ifunc_impl_list to initialize
22758 func_list if TEST_IFUNC and TEST_NAME are defined.
22760 * string/Makefile (strop-tests): Add bcopy and bzero.
22761 * string/test-bcopy.c: New file.
22762 * string/test-bzero.c: Likewise.
22763 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22765 * string/test-memset.c: Support bzero test if TEST_BZERO is
22767 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22769 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22771 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22774 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22776 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22777 * configure: Regenerated.
22779 * Makeconfig (+link-static-before-libc): Don't include
22780 $(link-static-libc).
22782 * libio/libio.h (_IO_pos_t): Remove.
22784 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22786 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22789 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22791 * crypt/crypt-entry.c: Include fips-private.h.
22792 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22793 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22794 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22795 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22797 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22799 * crypt/crypt-private.h: Include stdbool.h.
22800 (_ufc_setup_salt_r): Return bool.
22801 * crypt/crypt-entry.c: Include errno.h.
22802 (__crypt_r): Return NULL with EINVAL for bad salt.
22803 * crypt/crypt_util.c (bad_for_salt): New.
22804 (_ufc_setup_salt_r): Check that salt is long enough and within
22805 the specified alphabet.
22806 * crypt/badsalttest.c: New file.
22807 * crypt/Makefile (tests): Add it.
22808 ($(objpfx)badsalttest): New.
22810 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22812 * NEWS: Add entry for BZ #14602.
22814 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22816 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22818 * math/libm-test.inc: Update comment listing what functions and
22820 (isgreater_test): New function.
22821 (isgreaterequal_test): Likewise.
22822 (isless_test): Likewise.
22823 (islessequal_test): Likewise.
22824 (islessgreater_test): Likewise.
22825 (isunordered_test): Likewise.
22826 (main): Call the new functions.
22828 2012-10-09 Roland McGrath <roland@hack.frob.com>
22830 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22831 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22832 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22833 * sysdeps/i386/configure: Regenerated.
22834 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22835 * sysdeps/mach/configure: Regenerated.
22836 * sysdeps/mach/hurd/configure: Regenerated.
22837 * sysdeps/powerpc/configure: Regenerated.
22838 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22839 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22840 * sysdeps/s390/s390-32/configure: Regenerated.
22841 * sysdeps/s390/s390-64/configure: Regenerated.
22842 * sysdeps/sh/configure: Regenerated.
22843 * sysdeps/sparc/configure: Regenerated.
22844 * sysdeps/unix/sysv/linux/configure: Regenerated.
22845 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22846 * sysdeps/x86_64/configure: Regenerated.
22848 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22849 defined. Don't check if MAP is NULL.
22851 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22853 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22854 (_G_stat64): Likewise.
22855 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22856 (_G_stat64): Likewise.
22857 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22858 instead of struct _G_stat64.
22859 * libio/fileops.c (mmap_remap_check): Likewise.
22860 (decide_maybe_mmap): Likewise.
22861 (_IO_new_file_seekoff): Likewise.
22862 (_IO_file_stat): Likewise.
22863 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22865 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22866 instead of struct _G_stat64.
22867 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22869 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22872 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22874 (CHECK_EOL): New macro.
22875 (two_way_short_needle): Check beginning of haystack for EOL. Use
22877 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22878 Replace with CHECK_EOL.
22879 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22880 Replace with CHECK_EOL.
22882 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22884 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22886 * math/libm-test.inc: Update comment listing what functions and
22888 (finite_test): New function.
22889 (isinf_test): Likewise.
22890 (isnan_test): Likewise.
22891 (fpclassify_test): Test subnormal input.
22892 (isfinite_test): Likewise.
22893 (isnormal_test): Likewise.
22894 (main): Call the new functions.
22896 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22899 * Makerules (%.dynsym): Force C locale when running
22900 $(OBJDUMP) --dynamic-syms.
22902 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22904 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22907 2012-10-06 David S. Miller <davem@davemloft.net>
22909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22910 upper 32-bits of the length value in %o2 since we use branch-on-register
22911 tests which consider the entire 64-bit register.
22913 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22915 * string/test-strstr.c (check2): Add a test for page boundary.
22917 2012-10-05 David S. Miller <davem@davemloft.net>
22919 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22920 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22922 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22924 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22925 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22926 and bzero when HWCAP_SPARC_CRYPTO is present.
22928 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22931 * string/test-strstr.c (check2): New function.
22932 (test_main): Call check2.
22934 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22936 * string/bug-strcasestr1.c (do_test): Moved to ...
22937 * string/test-strcasestr.c (check1): Here. New function.
22938 (do_one_test): Break out result checking code into ...
22939 (check_result): This. New function.
22940 (do_one_test): Call check_result.
22941 (test_main): Call check1.
22942 * string/bug-strchr1.c (do_test): Moved to ...
22943 * string/test-strchr.c (check1): Here. New function.
22944 (do_one_test): Break out result checking code into ...
22945 (check_result): This. New function.
22946 (do_one_test): Call check_result.
22947 (test_main): Call check1.
22948 * string/bug-strstr1.c (main): Moved to ...
22949 * string/test-strstr.c (check1): Here. New function.
22950 (do_one_test): Break out result checking code into ...
22951 (check_result): This. New function.
22952 (do_one_test): Call check_result.
22953 (test_main): Call check1.
22954 * string/bug-strcasestr1.c: Removed.
22955 * string/bug-strchr1.c: Likewise.
22956 * string/bug-strstr1.c: Likewise.
22958 * elf/Makefile (dl-routines): Add hwcaps.
22959 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22960 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22961 (_dl_important_hwcaps): Moved to ...
22962 * elf/dl-hwcaps.c: Here. New file.
22963 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22966 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22967 if IS_IN_rtld isn't defined.
22969 * elf/dl-support.c (_dl_sysinfo_map): New.
22970 Include "get-dynamic-info.h" and "setup-vdso.h".
22971 (_dl_non_dynamic_init): Call setup_vdso.
22972 * elf/dynamic-link.h: Don't include <assert.h>.
22973 (elf_get_dynamic_info): Moved to ...
22974 * elf/get-dynamic-info.h: Here. New file.
22975 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22976 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22977 * elf/setup-vdso.h: Here. New file.
22978 * elf/rtld.c: Include "setup-vdso.h".
22979 (dl_main): Call setup_vdso.
22981 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22983 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22984 creal in comment listing functions tested. List finite, isinf,
22985 isnan, isless, islessequal, isgreater, isgreaterequal,
22986 islessgreater, isunordered, lgamma_r and pow10 as functions and
22987 macros not tested. Mention which functions not tested are aliases
22988 for other functions. Fix typo. Note that signs of NaNs are not
22991 * scripts/config.guess: Update from config.git.
22992 * scripts/config.sub: Likewise.
22994 2012-10-04 Roland McGrath <roland@hack.frob.com>
22996 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22997 * misc/madvise.c (madvise): Renamed to __madvise.
22998 Make madvise a weak alias.
22999 * include/sys/mman.h: Declare __madvise.
23000 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23001 * sysdeps/unix/syscalls.list
23002 (madvise): Make __madvise the strong name, and madvise a weak alias.
23003 * sysdeps/unix/sysv/linux/syscalls.list
23004 (madvise, mmap): Remove redundant entries.
23005 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23006 * malloc/malloc.c (mtrim): Likewise.
23007 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23009 2012-10-03 Roland McGrath <roland@hack.frob.com>
23011 * sysdeps/mach/hurd/dl-cache.c: File removed.
23012 * config.h.in (USE_LDCONFIG): New #undef.
23013 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23014 * configure: Regenerated.
23015 * elf/Makefile (dl-routines): Add dl-cache only under
23016 [$(use-ldconfig) = yes].
23017 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23018 cache on [USE_LDCONFIG].
23019 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23021 * elf/rtld.c (dl_main): Likewise.
23023 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23025 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23026 _SC_LEVEL4_CACHE_LINESIZE.
23028 2012-10-03 Roland McGrath <roland@hack.frob.com>
23030 * sysdeps/unix/bsd/confstr.h: File removed.
23032 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23034 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23037 2012-10-02 Roland McGrath <roland@hack.frob.com>
23039 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23040 Make 'mapoff' field ElfW(Off) rather than off_t.
23042 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23044 * nscd/Makefile: Remove nscd-cflags and all its users.
23045 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23046 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23049 * malloc.c (malloc_printerr): Clarify error message.
23051 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23055 Set bit_FMA_Usable if FMA is supported.
23056 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23058 (bit_FMA4_Usable): Updated.
23059 (index_FMA_Usable): New macro.
23060 (CPUID_FMA): Likewise
23061 (HAS_FMA): Defined with bit_FMA_Usable.
23063 2012-10-01 Roland McGrath <roland@hack.frob.com>
23065 * bits/types.h (__swblk_t): Type removed.
23066 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23067 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23069 (__SWBLK_T_TYPE): Likewise.
23070 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23071 (__SWBLK_T_TYPE): Likewise.
23072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23073 (__SWBLK_T_TYPE): Likewise.
23074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23075 (__SWBLK_T_TYPE): Likewise.
23077 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23078 Honza Horak <hhorak@redhat.com>
23080 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23081 (xdr_mapname): Use YPMAXMAP as maxsize.
23082 (xdr_peername): Use YPMAXPEER as maxsize.
23083 (xdr_keydat): Use YPAXRECORD as maxsize.
23084 (xdr_valdat): Use YPMAXRECORD as maxsize.
23086 2012-10-01 Roland McGrath <roland@hack.frob.com>
23088 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23090 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23091 * csu/init-first.c: ... here.
23092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23093 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23094 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23095 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23096 * sysdeps/i386/init-first.c: File removed.
23097 * sysdeps/sh/init-first.c: File removed.
23099 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23103 if x * y might underflow to zero and z is zero.
23104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23106 * math/libm-test.inc (min_subnorm_value): New variable.
23107 (fma_test): Add more tests.
23108 (fma_test_towardzero): Likewise.
23109 (fma_test_downward): Likewise
23110 (fma_test_upward): Likewise.
23111 (initialize): Set min_subnorm_value.
23113 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23119 mode for addition resulting in exact zero.
23120 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23123 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23124 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23125 * math/libm-test.inc (fma_test): Add more tests.
23126 (fma_test_towardzero): New function.
23127 (fma_test_downward): Likewise.
23128 (fma_test_upward): Likewise.
23129 (main): Call the new functions.
23131 2012-09-28 David S. Miller <davem@davemloft.net>
23133 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23135 2012-09-28 Roland McGrath <roland@hack.frob.com>
23137 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23138 instead of SIGALRM.
23140 * sysdeps/gnu/_G_config.h: Moved to ...
23141 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23142 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23143 * sysdeps/generic/_G_config.h: ... here.
23145 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23147 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23149 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23150 Conditionalize target on [libnss_test1.so-version].
23152 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23154 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23155 (elfobjdir): Move out of conditionals.
23157 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23158 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23159 (__nss_lookup_function): Conditionalize label remove_from_tree on
23160 [!DO_STATIC_NSS || SHARED], matching its only use.
23162 2012-09-28 David S. Miller <davem@davemloft.net>
23164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23165 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23167 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23169 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23171 when HWCAP_SPARC_CRYPTO is present.
23173 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23175 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23177 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23180 * stdio-common/vfprintf.c (process_string_arg): Revert
23183 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23185 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23187 * stdio-common/tst-sprintf.c: Include <locale.h>
23188 (main): Test sprintf's handling of incomplete multibyte
23191 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23193 * elf/dl-runtime.c (VERSYMIDX): Removed.
23194 * elf/dl-version.c (VERSYMIDX): Likewise.
23195 * elf/do-rel.h (VERSYMIDX): Likewise.
23196 (VALIDX): Likewise.
23197 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23198 * elf/rtld.c (VALIDX): Likewise.
23199 (ADDRIDX): Likewise.
23200 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23201 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23202 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23203 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23204 (VALIDX): Likewise.
23205 (ADDRIDX): Likewise.
23207 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23209 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23211 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23214 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23216 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23217 addresses are in the same scope as 192.0.2/24.
23218 * posix/gai.conf: Document new scope table defaults.
23220 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23223 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23224 for ftell. Compute offsets from write pointers instead.
23225 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23227 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23230 * libio/Makefile (tests): New test case tst-fseek.
23231 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23232 combination works in wide mode.
23233 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23234 state when the external buffer state changes.
23236 2012-09-27 David S. Miller <davem@davemloft.net>
23239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23240 pass reloc->r_addend in as the 'high' argument to
23241 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23245 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23247 * rt/tst-aio2.c: Include <pthread.h>.
23248 * rt/tst-aio3.c: Likewise.
23250 2012-09-27 Steve Ellcey <sellcey@mips.com>
23252 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23254 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23256 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23257 contents on [SHARED].
23259 2012-09-26 Marek Polacek <polacek@redhat.com>
23263 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23264 for C++ and GCC <4.3 as well as for non GCC compilers.
23266 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23270 2012-09-25 Roland McGrath <roland@hack.frob.com>
23272 * Makefile.in (all, install): Declare with .PHONY.
23273 Reported by Michael Hope <michael.hope@linaro.org>.
23275 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23277 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23278 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23280 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23282 (sydep_routines): Add the new and the internal functions.
23283 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23284 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23286 (GLIBC_2.17): Add the new function.
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23288 (GLIBC_2.17): Likewise.
23289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23290 (GLIBC_2.17): Likewise.
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23292 (GLIBC_2.17): Likewise.
23293 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23295 2012-09-25 Alan Modra <amodra@gmail.com>
23297 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23298 Add release barrier before setting once_control to say
23299 initialisation is done. Add hints on lwarx. Use macro in
23301 (clear_once_control): Add release barrier.
23303 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23306 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23308 * math/s_clog10.c (__clog10): Likewise.
23309 * math/s_clog10f.c (__clog10f): Likewise.
23310 * math/s_clog10l.c (__clog10l): Likewise.
23311 * math/s_clogf.c (__clogf): Likewise.
23312 * math/s_clogl.c (__clogl): Likewise.
23313 * math/Makefile (libm-calls): Add x2y2m1.
23314 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23315 (__x2y2m1): Likewise.
23316 (__x2y2m1l): Likewise.
23317 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23318 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23321 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23322 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23323 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23324 * sysdeps/i386/fpu/libm-test-ulps: Update.
23325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23328 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23329 int as type of variable DEPTH.
23330 (glob): Use size_t instead of int as type of variables NEWCOUNT
23333 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23335 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23336 Add s_sincosf-sse2.
23337 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23338 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23339 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23340 macros for using routine as __sincosf_ia32.
23341 Use macro for function declaration and weak_alias.
23342 * sysdeps/i386/fpu/libm-test-ulps: Update.
23344 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23347 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23348 subnormal argument.
23349 * math/s_cexpf.c (__cexpf): Likewise.
23350 * math/s_csinf.c (__csinf): Likewise.
23351 * math/s_csinhf.c (__csinhf): Likewise.
23352 * math/s_ctanf.c (__ctanf): Likewise.
23353 * math/s_ctanhf.c (__ctanhf): Likewise.
23354 * math/s_ccosh.c (__ccoshf): Likewise.
23355 * math/s_cexp.c (__cexpl): Likewise.
23356 * math/s_csin.c (__csin): Likewise.
23357 * math/s_csinh.c (__csinh): Likewise.
23358 * math/s_ctan.c (__ctan): Likewise.
23359 * math/s_ctanh.c (ctanh): Likewise.
23360 * math/s_ccoshl.c (__ccoshl): Likewise.
23361 * math/s_cexpl.c (__cexpl): Likewise.
23362 * math/s_csinl.c (__csinl): Likewise.
23363 * math/s_csinhl.c (__csinhl): Likewise.
23364 * math/s_ctanl.c (__ctanl): Likewise.
23365 * math/s_ctanhl.c (__ctanhl): Likewise.
23367 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23369 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23370 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23371 (_IO_off_t): Define to __off_t, not _G_off_t.
23372 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23373 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23374 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23375 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23376 type of __dummy and __dummy2 fields.
23377 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23378 (_G_ssize_t): Likewise.
23379 (_G_off_t): Likewise.
23380 (_G_pid_t): Likewise.
23381 (_G_uid_t): Likewise.
23382 (_G_wchar_t): Likewise.
23383 (_G_wint_t): Likewise.
23384 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23385 (_G_ssize_t): Likewise.
23386 (_G_off_t): Likewise.
23387 (_G_pid_t): Likewise.
23388 (_G_uid_t): Likewise.
23389 (_G_wchar_t): Likewise.
23390 (_G_wint_t): Likewise.
23391 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23392 (_G_ssize_t): Likewise.
23393 (_G_off_t): Likewise.
23394 (_G_pid_t): Likewise.
23395 (_G_uid_t): Likewise.
23396 (_G_wchar_t): Likewise.
23397 (_G_wint_t): Likewise.
23399 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23401 * malloc/arena.c: Include malloc-sysdep.h.
23402 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23403 is sufficient to shrink the heap or an unmap is needed.
23404 * sysdeps/generic/malloc-sysdep.h: New file. Define
23405 new function check_may_shrink_heap.
23406 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23407 new function check_may_shrink_heap.
23409 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23411 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23414 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23416 * catgets/test-gencat.sh: Add "set -e".
23417 * elf/tst-pathopt.sh: Likewise.
23418 * grp/tst_fgetgrent.sh: Likewise.
23419 * iconvdata/run-iconv-test.sh: Likewise.
23420 * intl/tst-gettext.sh: Likewise.
23421 * intl/tst-gettext2.sh: Likewise.
23422 * intl/tst-gettext4.sh: Likewise.
23423 * intl/tst-gettext6.sh: Likewise.
23424 * intl/tst-translit.sh: Likewise.
23425 * io/ftwtest-sh: Likewise.
23426 * libio/test-freopen.sh: Likewise.
23427 * malloc/tst-mtrace.sh: Likewise.
23428 * posix/globtest.sh: Likewise.
23429 * posix/tst-getconf.sh: Likewise.
23430 * posix/wordexp-tst.sh: Likewise.
23431 * stdio-common/tst-printf.sh: Likewise.
23432 * stdio-common/tst-unbputc.sh: Likewise.
23433 * stdlib/tst-fmtmsg.sh: Likewise.
23434 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23435 * catgets/Makefile: Do not specify -e option when running
23436 testsuite shell scripts.
23437 * elf/Makefile: Likewise.
23438 * grp/Makefile: Likewise.
23439 * iconvdata/Makefile: Likewise.
23440 * intl/Makefile: Likewise.
23441 * io/Makefile: Likewise.
23442 * libio/Makefile: Likewise.
23443 * malloc/Makefile: Likewise.
23444 * posix/Makefile: Likewise.
23445 * stdio-common/Makefile: Likewise.
23446 * stdlib/Makefile: Likewise.
23447 * sysdeps/x86_64/Makefile: Likewise.
23449 * io/ftwtest-sh: Add copyright header.
23450 * posix/globtest.sh: Likewise.
23451 * posix/tst-getconf.sh: Likewise.
23452 * posix/wordexp-tst.sh: Likewise.
23453 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23455 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23458 * Makeconfig (+link): Defined as $(+link-static) if
23459 $(build-shared) isn't yes.
23460 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23462 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23464 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23467 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23468 new chunk size with MALLOC_ALIGN_MASK.
23470 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23473 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23475 (__printf_fphex): Determine rounding using get_rounding_mode and
23477 * stdio-common/tst-printf-round.c (struct hex_test): New
23479 (hex_tests): New variable.
23480 (test_hex_in_one_mode): New function.
23481 (do_test): Also run tests for hex float output.
23483 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23485 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23486 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23487 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23488 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23489 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23490 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23491 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23492 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23494 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23496 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23497 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23498 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23499 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23501 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23504 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23506 * elf/tst-rtld-load-self.sh: New test.
23507 * elf/Makefile: Run it.
23509 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23511 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23512 (tst-writev-ENV): Remove.
23513 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23515 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23517 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23519 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23521 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23523 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23525 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23526 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23527 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23530 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23533 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23534 * config.make.in (have-cpp-asm-debuginfo): Removed.
23535 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23536 * configure: Regenerated.
23538 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23541 * stdio-common/printf_fp.c: Include <stdbool.h> and
23543 (___printf_fp): Determine rounding using get_rounding_mode and
23545 * stdio-common/tst-printf-round.c: New file.
23546 * stdio-common/Makefile (tests): Add tst-printf-round.
23547 (link-libm): New variable.
23548 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23550 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23553 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23554 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23556 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23559 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23561 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23562 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23563 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23564 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23566 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23569 * include/rounding-mode.h: New file.
23570 * sysdeps/generic/get-rounding-mode.h: Likewise.
23571 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23572 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23573 (MAX_VALUE): New macro.
23574 (MIN_VALUE): Likewise.
23575 (overflow_value): New function.
23576 (underflow_value): Likewise.
23577 (round_and_return): Use overflow_value and underflow_value to
23578 determine return values in overflow and underflow cases. Use
23579 round_away to determine rounding depending on rounding mode.
23580 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23581 determine return values in overflow and underflow cases.
23582 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23583 (struct test_results): New structure.
23584 (struct test): Use struct test_results to store expected results
23585 for all rounding modes.
23586 (TEST): Include expected results for all rounding modes.
23587 (test_in_one_mode): New function.
23588 (do_test): Use test_in_one_mode to compute and check results.
23589 Check results for all rounding modes.
23590 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23593 2012-12-09 Allan McRae <allan@archlinux.org>
23595 * sysdeps/i386/fpu/libm-test-ulps: Update
23597 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23600 (_G_int32_t): Likewise.
23601 (_G_uint16_t): Likewise.
23602 (_G_uint32_t): Likewise.
23603 (_G_HAVE_BOOL): Likewise.
23604 (_G_HAVE_ATEXIT): Likewise.
23605 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23606 (_G_HAVE_IO_FILE_OPEN): Likewise.
23607 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23608 (_G_int32_t): Likewise.
23609 (_G_uint16_t): Likewise.
23610 (_G_uint32_t): Likewise.
23611 (_G_HAVE_BOOL): Likewise.
23612 (_G_HAVE_ATEXIT): Likewise.
23613 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23614 (_G_HAVE_IO_FILE_OPEN): Likewise.
23615 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23616 (_G_int32_t): Likewise.
23617 (_G_uint16_t): Likewise.
23618 (_G_uint32_t): Likewise.
23619 (_G_HAVE_BOOL): Likewise.
23620 (_G_HAVE_ATEXIT): Likewise.
23621 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23622 (_G_HAVE_IO_FILE_OPEN): Likewise.
23624 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23626 * csu/libc-tls.c: Update copyright years.
23628 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23630 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23631 [!_G_USING_THUNKS]: Remove conditional code.
23632 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23633 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23635 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23636 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23637 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23638 (_G_VTABLE_LABEL_PREFIX): Likewise.
23639 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23640 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23641 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23642 (_G_VTABLE_LABEL_PREFIX): Likewise.
23643 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23644 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23645 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23646 (_G_VTABLE_LABEL_PREFIX): Likewise.
23647 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23649 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23651 * libio/Makefile: Include ../Makeconfig before tests.
23652 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23653 only if $(build-shared) is yes.
23655 * iconv/gconv_db.c: Update copyright years.
23657 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23659 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23660 unwind info if defined PIC. Fix special cases description.
23661 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23663 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23665 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23667 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23669 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23671 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23674 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23675 (LDLIBS-tst-chk4): This.
23676 (LDFLAGS-tst-chk5): Renamed to ...
23677 (LDLIBS-tst-chk5): This.
23678 (LDFLAGS-tst-chk6): Renamed to ...
23679 (LDLIBS-tst-chk6): This.
23680 (LDFLAGS-tst-lfschk4): Renamed to ...
23681 (LDLIBS-tst-lfschk4): This.
23682 (LDFLAGS-tst-lfschk5): Renamed to ...
23683 (LDLIBS-tst-lfschk5): This.
23684 (LDFLAGS-tst-lfschk6): Renamed to ...
23685 (LDLIBS-tst-lfschk6): This.
23687 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23688 on $(common-objpfx)soversions.mk.
23690 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23693 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23696 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23698 * malloc/arena.c (arena_get_retry): New function that gets
23699 another arena for the caller to try its request on.
23700 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23701 current arena cannot fulfill the request.
23702 (__libc_memalign): Likewise.
23703 (__libc_memalign): Likewise.
23704 (__libc_pvalloc): Likewise.
23705 (__libc_calloc): Likewise.
23707 2012-09-05 John Tobey <john.tobey@gmail.com>
23710 * manual/arith.texi (Operations on Complex): Fix description
23711 of carg branch cut.
23713 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23716 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23720 * manual/memory.texi (Memory): Make order of menu items match
23723 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23725 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23726 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23727 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23729 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23731 * csu/libc-tls.c (static_dtv): Renamed to ...
23732 (_dl_static_dtv): This. Make it global.
23733 (_dl_initial_dtv): Removed.
23734 (__libc_setup_tls): Updated.
23735 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23736 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23739 2012-09-06 Petr Machata <pmachata@redhat.com>
23741 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23742 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23743 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23744 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23746 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23749 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23750 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23753 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23756 * Makeconfig (link-static-before-libc): Replace $(+prector)
23758 (link-static-after-libc): Replace $(+postctor) with
23760 (link-bounded): Replace $(+prector)/$(+postctor) with
23761 $(+prectorT)/$(+postctorT).
23762 (+prectorT): New macro.
23763 (+postctorT): Likewise.
23765 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23767 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23768 (round_str): Handle values above the maximum for IBM long double
23770 * stdlib/tst-strtod-round.c (tests): Regenerated.
23772 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23774 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23776 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23777 zarch_nohighgprs around the zarch optimized routines.
23778 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23779 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23783 2012-09-05 David S. Miller <davem@davemloft.net>
23785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23787 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23788 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23789 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23790 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23793 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23795 * malloc/arena.c: Fold copyright years.
23796 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23798 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23800 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23802 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23804 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23806 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23808 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23809 change internal state upon failure.
23811 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23813 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23814 * malloc/memusage.c (mmap): Likewise.
23815 (mmap64, mremap): Likewise. Adjust name in comment.
23817 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23819 * libio/fileops.c: Fix typos in comments.
23820 * libio/oldfileops.c: Likewise.
23821 * libio/wfileops.c: Likewise.
23823 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23826 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23827 (tst-malloc-usable-ENV): Set environment for test case.
23828 * malloc/hooks.c (malloc_check_get_size): New function to get
23830 * malloc/malloc.c (musable): Use malloc_check_get_size.
23831 * malloc/tst-malloc-usable.c: New test case.
23833 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23835 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23837 2012-09-05 Allan McRae <allan@archlinux.org>
23840 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23841 determine header location.
23842 * configure: Regenerated.
23844 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23846 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23848 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23849 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23851 (test): Regenerate.
23853 2012-09-04 David S. Miller <davem@davemloft.net>
23855 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23856 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23857 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23859 2012-09-04 Florian Weimer <fweimer@redhat.com>
23861 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23864 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23866 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23869 * libio/iogetdelim.c: Include <limits.h>.
23870 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23871 + len + 1 would overflow.
23873 2012-09-03 Andreas Jaeger <aj@suse.de>
23875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23876 * sysdeps/i386/fpu/libm-test-ulps: Update.
23878 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23880 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23881 Add s_sinf-sse2, s_conf-sse2.
23883 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23884 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23885 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23886 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23888 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23889 for using routine as __sinf_ia32.
23890 Use macro for function declaration and weak_alias.
23891 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23892 for using routine as __cosf_ia32.
23893 Use macro for function declaration and weak_alias.
23895 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23896 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23898 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23899 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23902 * math/libm-test.inc (cos_test): Add more test cases.
23903 (sin_test): Likewise.
23904 (sincos_test): Likewise.
23906 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23908 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23909 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23911 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23913 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23916 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23917 first element of the GOT.
23918 (elf_machine_load_address): Return the difference between
23919 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23921 2012-09-01 Allan McRae <allan@archlinux.org>
23924 * configure.in (AWK): Require gawk version 3.0 or later.
23925 * configure: Regenerated.
23927 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23929 * sysdeps/unix/sysv/linux/kernel-features.h
23930 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23932 [__NR_clock_getres]: Make code unconditional.
23933 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23934 (clock_getcpuclockid): Remove code left unreachable by removal of
23936 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23937 code unconditional.
23938 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23939 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23940 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23941 Make code unconditional.
23942 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23943 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23944 * sysdeps/unix/sysv/linux/clock_settime.c
23945 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23947 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23948 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23950 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23953 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23954 scripts/test-installation.pl.
23956 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23957 and $ld_so_version if it is set.
23959 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23963 failure if reading from procfs failed.
23964 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23966 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23968 * sysdeps/unix/sysv/linux/kernel-features.h
23969 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23970 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23971 Remove conditional code.
23972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23973 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23974 Remove conditional code.
23975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23976 * sysdeps/unix/sysv/linux/i386/fxstat.c
23977 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23979 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23980 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23982 * sysdeps/unix/sysv/linux/i386/lxstat.c
23983 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23985 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23986 Remove conditional code.
23987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23988 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23989 Remove conditional code.
23990 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23992 <kernel-features.h>.
23993 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23995 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23996 Remove conditional code.
23997 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23998 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23999 Remove conditional.
24001 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24004 * NEWS: Add fixed bug number.
24006 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24009 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24010 underflowing exponent in case of negative sign.
24011 * stdlib/tst-strtod-round-data: Add more tests.
24012 * stdlib/tst-strtod-round.c (tests): Regenerated.
24015 * stdlib/strtod_l.c (NDIG): Remove.
24016 (HEXNDIG): Likewise.
24017 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24018 smallest representable value.
24019 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24020 lie within an exact representation of 1/2 ulp of the result.
24021 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24023 (TENS_P9_IDX): Define unconditionally.
24024 (TENS_P9_SIZE): Likewise.
24025 (TENS_P10_IDX): Likewise.
24026 (TENS_P10_SIZE): Likewise.
24027 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24028 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24029 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24030 entries for 10^2^13 and 10^2^14.
24031 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24032 (TENS_P13_IDX): Define.
24033 (TENS_P13_SIZE): Likewise.
24034 (TENS_P14_IDX): Likewise.
24035 (TENS_P14_SIZE): Likewise.
24036 (_fpioconst_pow10): Change array size to
24037 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24039 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24040 1024]: Add entries for 10^2^13 and 10^2^14.
24041 [LAST_POW10 > _LAST_POW10]: Remove #error.
24042 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24043 (_fpioconst_pow10): Change array size to
24044 FPIOCONST_POW10_ARRAY_SIZE.
24045 * stdlib/gen-fpioconst.c: New file.
24046 * stdlib/gen-tst-strtod-round.c: Likewise.
24047 * stdlib/tst-strtod-round-data: Likewise.
24048 * stdlib/tst-strtod-round.c: Likewise.
24049 * stdlib/Makefile (tests): Add tst-strtod-round.
24052 * stdlib/strtod_l.c: Include <stdint.h>.
24053 (NDEBUG): Do not define.
24054 (round_and_return): Change EXPONENT parameter to type intmax_t.
24055 Rearrange calculations to avoid internal overflow possibilities.
24056 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24057 Rearrange calculations to avoid internal overflow possibilities.
24058 Assert that number fits inside MPNSIZE limbs.
24059 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24060 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24061 calculations and add assertions to avoid internal overflow
24062 possibilities. Add casts to avoid signed/unsigned operations.
24063 * stdlib/tst-strtod-overflow.c: New file.
24064 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24066 2012-08-25 Marek Polacek <polacek@redhat.com>
24068 * time/time.h: Fix some typos in comments.
24070 2012-08-23 Roland McGrath <roland@hack.frob.com>
24072 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24073 * posix/tst-rfc3484-2.c: Likewise.
24074 * posix/tst-rfc3484-3.c: Likewise.
24076 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24078 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24079 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24081 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24083 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24084 #include of fxstatat64.c.
24086 2012-08-22 Roland McGrath <roland@hack.frob.com>
24088 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24089 * shadow/getspent_r.c: Likewise.
24090 * shadow/getspnam.c: Likewise.
24091 * shadow/getspnam_r.c: Likewise.
24092 * gshadow/getsgent.c: Likewise.
24093 * gshadow/getsgent_r.c: Likewise.
24094 * gshadow/getsgnam.c: Likewise.
24095 * gshadow/getsgnam_r.c: Likewise.
24096 * inet/getnetbyad.c: Likewise.
24097 * inet/getnetbyad_r.c: Likewise.
24098 * inet/getnetbynm.c: Likewise.
24099 * inet/getnetbynm_r.c: Likewise.
24100 * inet/getnetent.c: Likewise.
24101 * inet/getnetent_r.c: Likewise.
24102 * inet/getproto.c: Likewise.
24103 * inet/getproto_r.c: Likewise.
24104 * inet/getprtent.c: Likewise.
24105 * inet/getprtent_r.c: Likewise.
24106 * inet/getprtname.c: Likewise.
24107 * inet/getprtname_r.c: Likewise.
24108 * inet/getrpcbyname.c: Likewise.
24109 * inet/getrpcbyname_r.c: Likewise.
24110 * inet/getrpcbynumber.c: Likewise.
24111 * inet/getrpcbynumber_r.c: Likewise.
24112 * inet/getrpcent.c: Likewise.
24113 * inet/getrpcent_r.c: Likewise.
24114 * inet/getaliasent.c: Likewise.
24115 * inet/getaliasent_r.c: Likewise.
24116 * inet/getaliasname.c: Likewise.
24117 * inet/getaliasname_r.c: Likewise.
24118 * nscd/getgrgid_r.c: Likewise.
24119 * nscd/getgrnam_r.c: Likewise.
24120 * nscd/gethstbyad_r.c: Likewise.
24121 * nscd/gethstbynm3_r.c: Likewise.
24122 * nscd/getpwnam_r.c: Likewise.
24123 * nscd/getpwuid_r.c: Likewise.
24124 * nscd/getsrvbynm_r.c: Likewise.
24125 * nscd/getsrvbypt_r.c: Likewise.
24126 * nscd/gai.c: Likewise.
24128 * configure.in (build_nscd): New substituted variable, set
24129 by --disable-build-nscd and defaults to $use_nscd.
24130 * configure: Regenerated.
24131 * config.make.in (build-nscd): New substituted variable.
24132 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24133 Change conditional to require [$(build-nscd) = yes] as well.
24134 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24137 * configure.in (use_nscd): New substituted variable, set by
24138 --disable-nscd. If enabled, define USE_NSCD.
24139 * configure: Regenerated.
24140 * config.h.in: Add USE_NSCD.
24141 * config.make.in (use-nscd): New substituted variable.
24142 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24143 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24144 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24145 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24146 (CFLAGS-getgrnam_r.c): Likewise.
24147 (CFLAGS-initgroups.c): Likewise.
24148 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24149 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24151 * inet/getnetgrent_r.c
24152 (nscd_setnetgrent): New function, broken out of ...
24153 (setnetgrent): ... here. Call it.
24154 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24155 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24156 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24157 * nscd/Makefile (routines, aux): Move definitions after include of
24158 Makeconfig. Conditionalize on [$(use-nscd) != no].
24159 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24160 Conditionalize on [USE_NSCD].
24161 (is_nscd, nscd_init_cb): Likewise.
24162 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24163 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24164 * nss/nss_db/db-init.c: Likewise.
24165 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24167 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24168 (make_request): Use it.
24169 (cache_valid_p): New function.
24170 (__check_pf): Use it.
24171 * NEWS: Add item for --disable-nscd.
24173 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24175 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24176 to support sed >= 4.2.1-20-ga9bf076.
24177 * configure: Regenerated.
24179 2012-08-22 Roland McGrath <roland@hack.frob.com>
24181 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24182 Conditionalize whole body on [IREL].
24184 2012-08-22 Jeff Law <law@redhat.com>
24187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24188 if the family is PF_UNSPEC.
24190 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24192 * Makerules (lib-version): Rename from V.
24193 (install-lib-nosubdir): Change V to lib-version.
24195 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24198 * powerpc32/power6/wcschr.c: New file.
24199 * powerpc32/power6/wcscpy.c: New file.
24200 * powerpc32/power6/wcsrchr.c: New file.
24201 * powerpc64/power6/wcschr.c: New file.
24202 * powerpc64/power6/wcscpy.c: New file.
24203 * powerpc64/power6/wcsrchr.c: New file.
24205 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24207 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24208 (two_way_short_needle): Use it.
24209 * string/strstr.c (AVAILABLE1_USES_J): Define.
24210 * string/strcasestr.c: Likewise.
24212 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24214 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24217 * NEWS: Add an entry.
24218 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24219 define their defaults.
24220 (two_way_short_needle): Detect end-of-string on-the-fly.
24221 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24222 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24223 * string/bug-strcasestr1.c: New test.
24224 * string/Makefile: Run it.
24226 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24229 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24230 the first character.
24232 2012-08-21 Roland McGrath <roland@hack.frob.com>
24234 * csu/elf-init.c (__libc_csu_irel): Function removed.
24235 * csu/libc-start.c (apply_irel): New function.
24236 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24238 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24240 * sysdeps/unix/sysv/linux/kernel-features.h
24241 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24242 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24243 <kernel-features.h>.
24244 [__NR_fadvise64_64]: Make code unconditional.
24245 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24246 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24247 !__NR_fadvise64_64)]: Likewise.
24248 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24249 !__NR_fadvise64_64))]: Likewise.
24250 [__NR_fadvise64]: Make code unconditional.
24251 [!__NR_fadvise64]: Remove conditional code.
24252 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24253 <kernel-features.h>.
24254 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24256 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24259 not include <kernel-features.h>.
24260 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24262 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24264 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24265 include <kernel-features.h>.
24266 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24268 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24271 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24274 slight instruction rearrangements per scrollpipe analysis.
24275 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24277 2012-08-20 Roland McGrath <roland@hack.frob.com>
24279 * manual/syslog.texi (syslog; vsyslog, closelog):
24280 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24281 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24283 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24284 DSOCAPS to match condition on defining it.
24286 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24288 * sysdeps/unix/sysv/linux/kernel-features.h
24289 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24291 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24292 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24294 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24295 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24297 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24298 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24300 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24301 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24303 * sysdeps/unix/sysv/linux/kernel-features.h
24304 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24305 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24307 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24308 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24309 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24310 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24311 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24312 Make code unconditional.
24313 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24314 (__mmap64) [!__NR_mmap2]: Likewise.
24315 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24316 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24317 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24318 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24319 [__NR_mmap2]: Make code unconditional.
24320 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24321 (__mmap64) [!__NR_mmap2]: Likewise.
24323 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24325 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24327 2012-08-18 Andreas Jaeger <aj@suse.de>
24329 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24331 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24333 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24334 * include/unistd.h (__have_sock_cloexec): Likewise.
24335 (__have_pipe2): Likewise.
24336 (__have_dup3): Likewise.
24338 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24341 * include/unistd.h (__have_pipe2): Change define into an extern int.
24342 (__have_dup3): Likewise.
24343 * socket/have_sock_cloexec.c: Include fcntl.h.
24344 (__have_pipe2): New variable.
24345 (__have_dup3): Likewise.
24347 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24349 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24351 2012-08-17 Marek Polacek <polacek@redhat.com>
24353 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24354 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24356 2012-08-17 Roland McGrath <roland@hack.frob.com>
24358 * configure.in: Add AC_SUBST for sysheaders.
24359 * configure: Regenerated.
24360 * config.make.in (sysheaders): New substituted variable.
24362 * sysdeps/unix/mkfifo.c: Moved ...
24363 * sysdeps/posix/mkfifo.c: ... here.
24364 * sysdeps/unix/mkfifoat.c: Moved ...
24365 * sysdeps/posix/mkfifoat.c: ... here.
24367 * sysdeps/unix/utime.c: Moved ...
24368 * sysdeps/posix/utime.c: ... here.
24370 * sysdeps/unix/time.c: Moved ...
24371 * sysdeps/posix/time.c: ... here.
24372 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24373 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24375 * sysdeps/unix/nice.c: Moved ...
24376 * sysdeps/posix/nice.c: ... here.
24378 * sysdeps/unix/alarm.c: Moved ...
24379 * sysdeps/posix/alarm.c: ... here.
24381 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24383 2012-08-17 Jeff Law <law@redhat.com>
24385 * intl/Makefile (codeset_mo): New variable.
24386 ($(codeset_mo)): New target.
24387 (tst-codeset.out): Depend on that. Remove explicit rule.
24388 (tst-gettext3.out, tst-gettext5.out): Likewise.
24389 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24390 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24391 * intl/tst-codeset.sh: Remove.
24392 * intl/tst-gettext3.sh: Likewise.
24393 * intl/tst-gettext5.sh: Likewise.
24395 2012-08-17 Roland McGrath <roland@hack.frob.com>
24397 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24398 * sysdeps/unix/syscalls.list: ... here.
24400 * sysdeps/posix/getaddrinfo.c
24401 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24402 (gaiconf_init, gaiconf_reload): Use them.
24403 [!_STATBUF_ST_NSEC]
24404 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24405 Define using time_t rather than struct timespec.
24407 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24408 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24410 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24412 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24413 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24416 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24417 __libc_cleanup_push argument.
24419 * bits/param.h: New file.
24420 * misc/sys/param.h: New file.
24421 * include/sys/param.h: New file.
24422 * misc/Makefile (headers): Add bits/param.h.
24423 * sysdeps/generic/sys/param.h: File removed.
24424 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24425 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24426 * sysdeps/mach/hurd/bits/param.h: New file.
24427 * sysdeps/mach/hurd/sys/param.h: File removed.
24429 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24432 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24434 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24435 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24438 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24439 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24440 rather than -D_IO_MTSAFE_IO conditionally.
24441 * stdio-common/Makefile (CPPFLAGS): Likewise.
24442 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24443 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24444 Use $(libio-mtsafe).
24445 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24446 of -D_IO_MTSAFE_IO.
24447 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24448 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24449 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24450 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24451 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24452 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24453 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24454 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24455 (CFLAGS-fread_u_chk.c): Likewise.
24456 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24457 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24458 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24459 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24460 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24461 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24462 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24463 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24464 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24466 * libio/Makefile: Test [$(libc-reentrant) = yes]
24467 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24470 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24471 * sysdeps/pthread/configure: File removed.
24472 * sysdeps/pthread/Makeconfig: New file.
24473 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24474 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24476 2012-08-16 Gary Benson <gbenson@redhat.com>
24478 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24479 unmapping the first object in a namespace.
24481 2012-08-16 Roland McGrath <roland@hack.frob.com>
24483 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24484 (__internal_setnetgrent): ... this. Add internal_function to
24485 definition. Add libc_hidden_def.
24486 (setnetgrent): Update caller.
24487 (internal_endnetgrent): Renamed to ...
24488 (__internal_endnetgrent): ... this. Add internal_function to
24489 definition. Add libc_hidden_def.
24490 (endnetgrent): Update caller.
24491 (internal_getnetgrent_r): Renamed to ...
24492 (__internal_getnetgrent_r): ... this. Add internal_function to
24493 definition. Add libc_hidden_def.
24494 (__getnetgrent_r): Update caller.
24495 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24497 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24499 * stdlib/longlong.h: Update from GCC.
24501 2012-08-16 Roland McGrath <roland@hack.frob.com>
24503 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24504 on _QL, which is set by umul_ppmm but never used.
24505 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24506 variables, which are set by GMP macros but never used.
24507 * stdio-common/_itowa.c (_itowa): Likewise.
24508 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24509 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24511 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24513 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24514 struct La_sh_regs is not constant.
24515 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24516 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24517 and struct La_sparc64_regs are not constant.
24519 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24521 * sysdeps/unix/sysv/linux/kernel-features.h
24522 (__ASSUME_POSIX_TIMERS): Remove.
24523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24525 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24526 Make code unconditional.
24527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24528 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24529 Make code unconditional.
24530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24531 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24532 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24534 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24535 Make code unconditional.
24536 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24537 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24538 (__libc_missing_posix_timers): Remove.
24540 2012-08-15 Roland McGrath <roland@hack.frob.com>
24542 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24543 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24545 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24547 * elf/dl-sym.c: Include <stdlib.h>.
24549 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24550 constants, which avoids warnings in 32-bit builds.
24552 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24553 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24555 * misc/lseek.c: File moved to ...
24556 * io/lseek.c: ... here.
24558 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24560 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24561 shifting LEN more than 31 bits at once.
24563 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24566 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24567 segmentation fault for a case of two empty input strings.
24568 * string/test-strncasecmp.c (check1): Renamed to...
24569 (bz12205): ...this.
24570 (bz14195): Add new testcase for two empty input strings and N > 0.
24571 (test_main): Call new testcase, adapt for renamed function.
24573 2012-08-15 Andreas Jaeger <aj@suse.de>
24576 * crypt/md5test2.c: New test, based on test supplied by Serge
24577 Belyshev <belyshev@depni.sinp.msu.ru>.
24578 * crypt/Makefile (xtests): Add md5test-giant..
24579 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24581 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24584 * crypt/md5.c (md5_process_block): Don't assume the buffer
24585 length is less than 2**32.
24586 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24587 length is less than 2**64.
24589 2012-08-15 Roland McGrath <roland@hack.frob.com>
24591 * string/str-two-way.h: Include <sys/param.h>.
24592 (MAX): Macro removed.
24594 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24595 Move #define and #undef of memmove to just before and after
24596 including <string.h>.
24598 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24599 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24600 and after including <string.h>. Move declarations of
24601 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24602 to before #include "string/memmove.c".
24604 * include/dirent.h: Declare __getdirentries.
24606 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24607 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24609 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24611 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24612 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24613 * sysdeps/i386/configure: Regenerated.
24614 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24615 STABS_CURRENT_FILE, and STABS_FUN.
24616 (END): Remove call to STABS_FUN_END.
24617 (STABS_CURRENT_FILE1): Delete.
24618 (STABS_CURRENT_FILE): Likewise.
24619 (STABS_FUN): Likewise.
24620 (STABS_FUN_END): Likewise.
24621 (STABS_FUN2): Likewise.
24622 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24623 * sysdeps/x86_64/configure: Regenerated.
24625 2012-08-14 Roland McGrath <roland@hack.frob.com>
24627 * elf/dl-open.c: Include <atomic.h>.
24628 * elf/dl-lookup.c: Likewise.
24630 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24632 * sysdeps/unix/sysv/linux/kernel-features.h
24633 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24634 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24636 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24638 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24639 condition on __ASSUME_CLONE_THREAD_FLAGS.
24641 2012-08-14 Andreas Jaeger <aj@suse.de>
24643 * sysdeps/i386/fpu/libm-test-ulps: Update.
24645 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24647 * include/atomic.h (atomic_exchange_and_add): Split into ...
24648 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24651 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24655 2012-08-13 Jeff Law <law@redhat.com>
24657 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24658 null byte in the output string.
24660 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24662 * sysdeps/unix/sysv/linux/kernel-features.h
24663 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24664 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24665 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24666 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24667 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24668 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24669 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24671 2012-08-09 Jeff Law <law@redhat.com>
24674 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24675 When avoid_arena is set, don't retry in the that arena. Pick the
24676 next one, whatever it might be.
24677 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24678 (arena_lock): Pass in new parameter to arena_get2.
24679 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24681 (__libc_malloc): Unify retrying after main arena failure with
24682 __libc_memalign version.
24683 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24685 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24688 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24689 to __redirect_strstr.
24690 (__strstr_sse42): Use typeof __redirect_strstr.
24691 (__strstr_ia32): Likewise.
24692 (__libc_strstr): New prototype.
24693 (strstr): Renamed to ...
24694 (__libc_strstr): This.
24695 (strstr): New strong alias of __libc_strstr.
24696 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24697 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24700 (__libc_time): New prototype.
24701 (time_ifunc): Replace time with __libc_time.
24702 (time): New strong alias and hidden definition of __libc_time.
24703 (__GI_time): Remove strong alias.
24704 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24705 Include <stddef.h>.
24706 (memmove): Redefined to __redirect_memmove.
24707 (__memmove_sse2): Use typeof __redirect_memmove.
24708 (__memmove_ssse3): Likewise.
24709 (__memmove_ssse3_back): Likewise.
24710 (__libc_memmove): New prototype.
24711 (memmove): Renamed to ...
24712 (__libc_memmove): This.
24713 (memmove): New strong alias of __libc_memmove.
24715 2012-08-08 Mark Salter <msalter@redhat.com>
24718 (R_MN10300_TLS_GD): Define.
24719 (R_MN10300_TLS_LD): Likewise.
24720 (R_MN10300_TLS_LDO): Likewise.
24721 (R_MN10300_TLS_GOTIE): Likewise.
24722 (R_MN10300_TLS_IE): Likewise.
24723 (R_MN10300_TLS_LE): Likewise.
24724 (R_MN10300_TLS_DTPMOD): Likewise.
24725 (R_MN10300_TLS_DTPOFF): Likewise.
24726 (R_MN10300_TLS_TPOFF): Likewise.
24727 (R_MN10300_SYM_DIFF): Likewise.
24728 (R_MN10300_ALIGN): Likewise.
24729 (R_MN10300_NUM): Update.
24731 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24736 2012-08-08 Roland McGrath <roland@hack.frob.com>
24738 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24740 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24741 sysdeps/unix -> sysdeps/posix move.
24742 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24744 2012-08-07 Allan McRae <allan@archlinux.org>
24747 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24748 (SUNOS_CPP): Likewise.
24749 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24751 (open_input): Call CPP using execvp.
24753 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24755 * sysdeps/unix/sysv/linux/kernel-features.h
24756 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24759 (__ASSUME_WAITID_SYSCALL): Likewise.
24760 * sysdeps/unix/sysv/linux/dl-execstack.c
24761 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24762 code unconditional.
24763 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24765 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24766 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24767 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24769 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24771 [__ASSUME_WAITID_SYSCALL]: Likewise.
24772 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24774 2012-08-07 Roland McGrath <roland@hack.frob.com>
24776 * sysdeps/unix/closedir.c: Renamed to ...
24777 * sysdeps/posix/closedir.c: ... here.
24778 * sysdeps/unix/dirfd.c: Renamed to ...
24779 * sysdeps/posix/dirfd.c: ... here.
24780 * sysdeps/unix/dirstream.h: Renamed to ...
24781 * sysdeps/posix/dirstream.h: ... here.
24782 * sysdeps/unix/fdopendir.c: Renamed to ...
24783 * sysdeps/posix/fdopendir.c: ... here.
24784 * sysdeps/unix/opendir.c: Renamed to ...
24785 * sysdeps/posix/opendir.c: ... here.
24786 * sysdeps/unix/readdir.c: Renamed to ...
24787 * sysdeps/posix/readdir.c: ... here.
24788 * sysdeps/unix/readdir_r.c: Renamed to ...
24789 * sysdeps/posix/readdir_r.c: ... here.
24790 * sysdeps/unix/rewinddir.c: Renamed to ...
24791 * sysdeps/posix/rewinddir.c: ... here.
24792 * sysdeps/unix/seekdir.c: Renamed to ...
24793 * sysdeps/posix/seekdir.c: ... here.
24794 * sysdeps/unix/telldir.c: Renamed to ...
24795 * sysdeps/posix/telldir.c: ... here.
24796 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24797 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24798 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24799 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24801 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24802 * bits/fcntl.h: ... here.
24804 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24806 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24807 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24808 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24809 (struct flock): Move l_start, l_len to the beginning.
24810 Use __pid_t for l_pid.
24811 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24812 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24813 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24814 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24815 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24816 [__USE_LARGEFILE64] (struct flock64): New type.
24817 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24819 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24820 * bits/dirent.h: ... here.
24822 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24823 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24825 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24828 Change from 2.6.0 to 2.6.16.
24829 * sysdeps/unix/sysv/linux/configure: Regenerated.
24830 * sysdeps/unix/sysv/linux/kernel-features.h
24831 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24832 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24834 (__ASSUME_UTIMES): Likewise.
24835 (__ASSUME_CLONE_STOPPED): Remove.
24836 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24837 architectures, not kernel version.
24838 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24839 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24840 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24841 (__ASSUME_WAITID_SYSCALL): Likewise.
24842 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24843 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24844 * README: State 2.6.16 as minimum Linux kernel version. Do not
24845 refer to older versions.
24847 2012-08-06 Roland McGrath <roland@hack.frob.com>
24849 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24850 Define alphasort64 as an alias.
24851 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24852 Define versionsort64 as an alias.
24853 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24854 Define scandir64 as an alias.
24855 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24856 Define scandirat64 as an alias.
24857 * dirent/alphasort64.c (alphasort64):
24858 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24859 * dirent/versionsort64.c: Likewise.
24860 * dirent/scandir64.c: Likewise.
24861 * dirent/scandirat64.c: Likewise.
24862 * sysdeps/wordsize-64/alphasort.c: File removed.
24863 * sysdeps/wordsize-64/alphasort64.c: File removed.
24864 * sysdeps/wordsize-64/scandir.c: File removed.
24865 * sysdeps/wordsize-64/scandir64.c: File removed.
24866 * sysdeps/wordsize-64/scandirat.c: File removed.
24867 * sysdeps/wordsize-64/scandirat64.c: File removed.
24868 * sysdeps/wordsize-64/versionsort.c: File removed.
24869 * sysdeps/wordsize-64/versionsort64.c: File removed.
24870 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24871 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24873 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24875 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24876 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24877 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24879 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24881 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24883 [defined __arch64__ || defined __sparcv9]
24884 (__INO_T_MATCHES_INO64_T): New macro.
24885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24886 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24887 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24888 * sysdeps/unix/sysv/linux/bits/dirent.h
24889 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24890 (_DIRENT_MATCHES_DIRENT64): New macro.
24892 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24893 Define lockf64 as an alias.
24894 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24895 Define fseeko64 as an alias.
24896 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24897 Define ftello64 as an alias.
24898 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24899 Define _IO_fgetpos64 and fgetpos64 as aliases.
24900 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24901 Define _IO_fsetpos64 and fsetpos64 as aliases.
24902 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24903 Conditionalize body on this.
24904 * libio/fseeko64.c: Likewise.
24905 * libio/ftello64.c: Likewise.
24906 * libio/iofgetpos64.c: Likewise.
24907 * libio/iofsetpos64.c: Likewise.
24908 * sysdeps/wordsize-64/lockf.c: File removed.
24909 * sysdeps/wordsize-64/lockf64.c: File removed.
24910 * sysdeps/wordsize-64/fseeko.c: File removed.
24911 * sysdeps/wordsize-64/fseeko64.c: File removed.
24912 * sysdeps/wordsize-64/ftello.c: File removed.
24913 * sysdeps/wordsize-64/ftello64.c: File removed.
24914 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24915 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24916 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24917 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24918 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24919 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24920 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24922 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24924 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24925 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24926 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24927 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24929 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24931 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24933 [defined __arch64__ || defined __sparcv9]
24934 (__OFF_T_MATCHES_OFF64_T): New macro.
24935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24936 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24938 (__OFF_T_MATCHES_OFF64_T): New macro.
24940 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24942 * stdlib/secure-getenv.c (__secure_getenv): Replace
24943 GLIBC_2_16 with GLIBC_2_17.
24945 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24947 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24948 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24950 2012-08-03 David S. Miller <davem@davemloft.net>
24952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24954 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24956 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24958 (__ASSUME_CORRECT_SI_PID): Likewise.
24959 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24960 (__ASSUME_TMPFS_NAME): Likewise.
24961 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24962 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24964 (HAVE_AUX_SECURE): Make definition unconditional.
24965 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24966 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24968 2012-08-03 Roland McGrath <roland@hack.frob.com>
24970 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24971 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24972 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24973 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24974 __eloop_threshold instead of SYMLOOP_MAX.
24976 * sysdeps/generic/eloop-threshold.h: New file.
24977 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24979 * elf/chroot_canon.c (chroot_canon): Likewise.
24981 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24985 Change to 2.6.0 everywhere.
24986 * sysdeps/unix/sysv/linux/configure: Regenerated.
24987 * sysdeps/unix/sysv/linux/kernel-features.h
24988 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24989 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24991 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24992 (__ASSUME_FUTEX_REQUEUE): Remove.
24993 (__ASSUME_STATFS64): Define unconditionally.
24994 (__ASSUME_AT_SECURE): Likewise.
24995 (__ASSUME_CORRECT_SI_PID): Likewise.
24996 (__ASSUME_TGKILL): Define without depending on kernel version for
24998 (__ASSUME_UTIMES): Likewise.
24999 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25001 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25002 (__ASSUME_TMPFS_NAME): Likewise.
25003 * README: Update reference to Linux kernel versions.
25005 2012-08-02 Marek Polacek <polacek@redhat.com>
25008 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25009 libc_cv_asm_type_prefix with %.
25010 * configure: Regenerated.
25011 * include/libc-symbols.h: Remove comment about
25012 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25013 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25014 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25015 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25016 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25017 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25018 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25019 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25020 * elf/tst-unique2mod1.c: Likewise.
25021 * elf/tst-unique1mod2.c: Likewise.
25022 * elf/tst-unique1mod1.c: Likewise.
25023 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25024 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25025 Replace ASM_TYPE_DIRECTIVE with .type.
25026 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25027 * sysdeps/i386/sysdep.h: Likewise.
25028 * sysdeps/x86_64/sysdep.h: Likewise.
25029 * sysdeps/sh/sysdep.h: Likewise.
25030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25031 Do not define ASM_TYPE_DIRECTIVE.
25032 * sysdeps/powerpc/sysdep.h: Likewise.
25033 * sysdeps/powerpc/powerpc32/sysdep.h:
25034 Replace ASM_TYPE_DIRECTIVE with .type.
25035 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25036 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25037 * sysdeps/i386/fpu/e_powf.S: Likewise.
25038 * sysdeps/i386/fpu/e_expl.S: Likewise.
25039 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25041 * sysdeps/i386/fpu/e_pow.S: Likewise.
25042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25046 * sysdeps/i386/fpu/e_log2.S: Likewise.
25047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25049 * sysdeps/i386/fpu/e_powl.S: Likewise.
25050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25051 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25052 * sysdeps/i386/fpu/e_logl.S: Likewise.
25053 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25054 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25055 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25056 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25057 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25058 * sysdeps/i386/fpu/e_log.S: Likewise.
25059 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25060 * sysdeps/i386/fpu/e_logf.S: Likewise.
25061 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25062 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25063 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25064 * sysdeps/i386/fpu/e_log10.S: Likewise.
25065 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25066 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25067 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25068 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25069 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25070 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25071 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25072 * sysdeps/i386/i686/strtok.S: Likewise.
25073 * sysdeps/i386/i386-mcount.S: Likewise.
25074 * sysdeps/i386/strtok.S: Likewise.
25075 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25076 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25078 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25079 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25080 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25081 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25082 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25083 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25084 * sysdeps/x86_64/_mcount.S: Likewise.
25085 * sysdeps/x86_64/strtok.S: Likewise.
25086 * sysdeps/sh/_mcount.S: Likewise.
25088 2012-08-01 Roland McGrath <roland@hack.frob.com>
25090 * libio/iofopen.c: Include <fcntl.h>.
25091 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25092 (_IO_fopen64, fopen64): Define as aliases.
25093 * libio/iofopen64.c: Include <fcntl.h>.
25094 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25095 Conditionalize body on this.
25096 * sysdeps/wordsize-64/iofopen.c: File removed.
25097 * sysdeps/wordsize-64/iofopen64.c: File removed.
25099 2012-08-01 Marek Polacek <polacek@redhat.com>
25101 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25102 Use dlfcn directly instead of a variable.
25103 (binfmt-subdir): Do not define.
25106 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25109 Remove all definitions.
25110 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25111 <kernel-features.h>.
25112 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25113 (miss_F_GETOWN_EX): Remove all definitions.
25114 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25116 [!__ASSUME_FCNTL64]: Remove conditional code.
25117 [__ASSUME_FCNTL64]: Make code unconditional.
25118 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25119 <kernel-features.h>.
25120 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25121 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25122 (lockf64) [__NR_fcntl64]: Make code unconditional.
25123 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25125 * sysdeps/unix/sysv/linux/kernel-features.h
25126 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25127 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25128 Make code unconditional.
25129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25132 [__NR_vfork]: Make code unconditional.
25133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25136 [__NR_vfork]: Make code unconditional.
25137 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25138 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25140 2012-08-01 Roland McGrath <roland@hack.frob.com>
25142 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25143 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25145 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25146 Define mkstemp64 as an alias.
25147 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25148 Define mkstemps64 as an alias.
25149 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25150 Define mkostemp64 as an alias.
25151 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25152 Define mkostemps64 as an alias.
25153 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25154 Conditionalize body on this.
25155 * misc/mkostemp64.c: Likewise.
25156 * misc/mkostemps64.c: Likewise.
25157 * misc/mkstemps64.c: Likewise.
25158 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25159 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25160 * sysdeps/wordsize-64/mkostemp.c: File removed.
25161 * sysdeps/wordsize-64/mkstemp.c: File removed.
25162 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25164 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25168 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25169 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25170 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25171 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25173 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25174 compat_symbol macros from <shlib-compat.h> rather than the underlying
25175 default_symbol_version and symbol_version macros, so that DEFAULT
25176 lines in shlib-versions are respected.
25177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25179 2012-08-01 Florian Weimer <fweimer@redhat.com>
25181 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25182 Declare with warn_unused_result.
25183 (setgid, setregid, setegid, setresgid): Likewise.
25184 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25186 * WUR-REPORT: Remove set*id functions.
25188 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25190 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25192 2012-07-31 Roland McGrath <roland@hack.frob.com>
25195 * include/sys/socket.h (__libc_accept, __libc_accept4):
25196 Add attribute_hidden.
25197 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25201 * inet/getnetgrent_r.c (setup): Likewise.
25203 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25205 2012-07-31 David S. Miller <davem@davemloft.net>
25207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25209 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25212 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25213 value between 1.0 and 2.0 and smaller part has absolute value less
25215 * math/s_clog10.c (__clog10): Likewise.
25216 * math/s_clog10f.c (__clog10f): Likewise.
25217 * math/s_clog10l.c (__clog10l): Likewise.
25218 * math/s_clogf.c (__clogf): Likewise.
25219 * math/s_clogl.c (__clogl): Likewise.
25220 * math/libm-test.inc (clog_test): Add more tests.
25221 (clog10_test): Likewise.
25222 * sysdeps/i386/fpu/libm-test-ulps: Update.
25223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25225 2012-07-31 Florian Weimer <fweimer@redhat.com>
25227 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25228 Exit with zero in case no suitable GID is found, and write a
25229 message to standard error.
25231 2012-07-30 Roland McGrath <roland@hack.frob.com>
25233 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25235 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25236 (MAXPATHLEN): Removed.
25237 (NOGROUP, NODEV): New macros.
25238 (setbit, clrbit, isset, isclr): New macros.
25239 (howmany, roundup, powerof2): New macros.
25240 (DEV_BSIZE): New macro.
25242 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25243 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25245 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25246 definition on [!__NO_LONG_DOUBLE_MATH].
25248 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25249 PTR_MANGLE and PTR_DEMANGLE.
25251 * socket/accept4.c (accept4): Rename to __libc_accept4.
25252 Define accept4 as a weak alias.
25254 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25255 on [_DIRENT_HAVE_D_TYPE].
25256 * io/ftw.c (ftw_dir): Likewise.
25258 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25260 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25262 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25263 Use the BSD numbers rather than the arbitrary ones we had.
25264 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25265 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25266 (SIGXCPU, SIGXFSZ): New macros.
25269 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25270 initializer on [_LIBC_REENTRANT].
25272 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25273 definitions inside [_POSIX_MAPPED_FILES].
25275 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25277 * dirent/opendir.c: Include <fcntl.h>.
25279 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25280 (__libc_getspecific): Likewise.
25281 (__libc_key_create): Likewise.
25283 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25284 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25285 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25286 (tmpfile64): Define as alias.
25287 * sysdeps/wordsize-64/tmpfile.c: File removed.
25288 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25292 * stdio-common/vfscanf.c: Include <stdbool.h>.
25293 * nss/makedb.c: Likewise.
25294 * stdio-common/_i18n_number.h: Likewise.
25295 * argp/argp-help.c: Likewise.
25296 * posix/wordexp.c: Likewise.
25297 * sysdeps/posix/spawni.c: Likewise.
25298 * nss/nss_files/files-initgroups.c: Likewise.
25299 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25300 * nss/nss_files/files-initgroups.c: Likewise.
25301 * nss/nss_db/db-netgrp.c: Likewise.
25302 * nss/nss_db/db-initgroups.c: Likewise.
25303 * io/fchmodat.c: Include <sys/stat.h>.
25305 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25306 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25308 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25311 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25312 Add multiple inclusion protection.
25314 2012-07-27 David S. Miller <davem@davemloft.net>
25316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25318 2012-07-27 Gary Benson <gbenson@redhat.com>
25321 * elf/rtld.c: Include <stap-probe.h>.
25322 (dl_main): Added static probes "init_start" and "init_complete".
25323 * elf/dl-load.c: Include <stap-probe.h>.
25324 (lose): Take new parameter "nsid".
25325 Added static probe "map_failed".
25326 (_dl_map_object_from_fd): Pass namespace id to lose.
25327 Added static probe "map_start".
25328 (open_verify): Pass namespace id to lose.
25329 * elf/dl-open.c: Include <stap-probe.h>.
25330 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25331 and "reloc_complete".
25332 * elf/dl-close.c: Include <stap-probe.h>.
25333 (_dl_close_worker): Added static probes "unmap_start" and
25335 * elf/rtld-debugger-interface.txt: New file documenting the above.
25337 2012-07-26 Roland McGrath <roland@hack.frob.com>
25339 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25340 rather than a string variable.
25341 * sunrpc/rpc_main.c (h_output): Likewise.
25342 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25344 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25346 * inet/check_native.c: New file.
25348 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25351 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25352 if larger part has absolute value 1.0.
25353 * math/s_clog10.c (__clog10): Likewise.
25354 * math/s_clog10f.c (__clog10f): Likewise.
25355 * math/s_clog10l.c (__clog10l): Likewise.
25356 * math/s_clogf.c (__clogf): Likewise.
25357 * math/s_clogl.c (__clogl): Likewise.
25358 * math/libm-test.inc (clog_test): Add more tests.
25359 (clog10_test): Likewise.
25360 * sysdeps/i386/fpu/libm-test-ulps: Update.
25361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25363 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25364 (pltexit): Likewise.
25365 (La_regs): Likewise.
25366 (La_retval): Likewise.
25367 (int_retval): Likewise.
25368 Update #error for removed macros to refer only to definitions in
25370 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25372 (pltexit): Likewise.
25373 (La_regs): Likewise.
25374 (La_retval): Likewise.
25375 (int_retval): Likewise.
25376 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25378 (pltexit): Likewise.
25379 (La_regs): Likewise.
25380 (La_retval): Likewise.
25381 (int_retval): Likewise.
25382 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25384 (pltexit): Likewise.
25385 (La_regs): Likewise.
25386 (La_retval): Likewise.
25387 (int_retval): Likewise.
25388 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25390 (pltexit): Likewise.
25391 (La_regs): Likewise.
25392 (La_retval): Likewise.
25393 (int_retval): Likewise.
25394 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25396 (pltexit): Likewise.
25397 (La_regs): Likewise.
25398 (La_retval): Likewise.
25399 (int_retval): Likewise.
25400 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25402 (pltexit): Likewise.
25403 (La_regs): Likewise.
25404 (La_retval): Likewise.
25405 (int_retval): Likewise.
25406 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25407 macro definitions in tst-audit.h.
25408 * sysdeps/i386/tst-audit.h: New file.
25409 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25410 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25411 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25412 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25413 * sysdeps/sh/tst-audit.h: Likewise.
25414 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25415 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25416 * sysdeps/x86_64/tst-audit.h: Likewise.
25418 2012-07-26 Andreas Jaeger <aj@suse.de>
25420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25423 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25424 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25425 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25427 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25428 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25429 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25431 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25434 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25436 (si_call_addr, si_syscall, si_arch): Define new macro.
25437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25439 (si_call_addr, si_syscall, si_arch): Define new marcro.
25440 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25442 (si_call_addr, si_syscall, si_arch): Define new macro.
25443 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25445 (si_call_addr, si_syscall, si_arch): Define new macro.
25447 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25451 Change to 2.4.21 where previously 2.4.1.
25452 * sysdeps/unix/sysv/linux/configure: Regenerated.
25453 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25454 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25455 Linux kernel version.
25456 (__ASSUME_STD_AUXV): Remove.
25457 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25459 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25460 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25461 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25462 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25463 (__ASSUME_NETLINK_SUPPORT): Likewise.
25464 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25465 (__no_netlink_support): Remove conditional definition.
25466 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25468 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25469 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25470 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25471 (if_nameindex_ioctl): Remove.
25472 (if_nameindex_netlink): Do not handle __no_netlink_support.
25473 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25475 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25476 Remove conditional code.
25477 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25479 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25481 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25482 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25483 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25485 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25486 [!__ASSUME_STD_AUXV]: Remove conditional code.
25487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25488 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25489 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25491 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25492 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25494 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25496 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25497 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25499 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25501 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25504 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25507 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25508 code unconditional.
25509 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25511 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25513 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25516 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25518 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25521 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25522 code unconditional.
25523 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25525 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25527 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25530 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25531 code unconditional.
25532 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25534 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25536 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25539 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25541 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25542 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25543 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25544 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25545 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25546 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25547 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25548 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25549 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25550 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25551 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25552 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25553 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25554 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25555 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25556 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25557 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25558 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25559 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25561 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25562 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25565 2012-07-25 Florian Weimer <fweimer@redhat.com>
25567 * Versions.def: Add GLIBC_2.17.
25568 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25569 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25570 Introduce __libc_secure_getenv.
25571 * stdlib/Versions (2.17): Add secure_getenv
25572 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25573 * stdlib/secure-getenv.c: Rename __secure_getenv to
25574 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25575 symbol __secure_getenv for GLIBC_2.0.
25576 * stdlib/tst-secure-getenv.c: New.
25577 * stdlib/Makefile (tests): Add testcase.
25578 * manual/startup.texi (Environment Access): Document
25580 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25581 __libc_secure_getenv.
25582 * inet/ruserpass.c (ruserpass): Likewise.
25583 * malloc/mtrace.c (mtrace): Likewise.
25584 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25585 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25586 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25587 * sysdeps/posix/tempname.c: Likewise. Evaluate
25588 HAVE_SECURE_GETENV.
25589 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25590 __secure_getenv to __libc_secure_getenv.
25591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25604 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25607 (struct La_i86_retval): Likewise.
25608 (struct La_x86_64_regs): Likewise.
25609 (struct La_x86_64_retval): Likewise.
25610 (struct La_x32_regs): Likewise.
25611 (struct La_x32_retval): Likewise.
25612 (struct La_ppc32_regs): Likewise.
25613 (struct La_ppc32_retval): Likewise.
25614 (struct La_ppc64_regs): Likewise.
25615 (struct La_ppc64_retval): Likewise.
25616 (struct La_sh_regs): Likewise.
25617 (struct La_sh_retval): Likewise.
25618 (struct La_s390_32_regs): Likewise.
25619 (struct La_s390_32_retval): Likewise.
25620 (struct La_s390_64_regs): Likewise.
25621 (struct La_s390_64_retval): Likewise.
25622 (struct La_sparc32_regs): Likewise.
25623 (struct La_sparc32_retval): Likewise.
25624 (struct La_sparc64_regs): Likewise.
25625 (struct La_sparc64_retval): Likewise.
25626 (struct audit_ifaces): Remove architecture-specific pltenter and
25628 * sysdeps/i386/ldsodefs.h: New file.
25629 * sysdeps/powerpc/ldsodefs.h: Likewise.
25630 * sysdeps/s390/ldsodefs.h: Likewise.
25631 * sysdeps/sh/ldsodefs.h: Likewise.
25632 * sysdeps/sparc/ldsodefs.h: Likewise.
25633 * sysdeps/x86_64/ldsodefs.h: Likewise.
25635 2012-07-25 Marek Polacek <polacek@redhat.com>
25638 * math/libm-test.inc (yn_test): Add another test.
25639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25640 to ERANGE when the result is +-Inf.
25641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25642 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25643 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25644 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25646 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25648 * conform/data/time.h-data (NULL): Use macro-constant. Require
25650 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25652 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25654 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25656 * configure.in <sysdeps resolving>: Correct printing
25658 * configure: Regenerate.
25660 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25662 * math/w_ilogb.c: Include <limits.h>.
25663 * math/w_ilogbl.c: Likewise.
25665 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25667 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25668 va_copy. Document allowing for unavailable va_copy only as
25669 pre-C99 compatibility.
25670 * manual/string.texi (Copying and Concatenation): Use va_copy
25671 instead of __va_copy in concat example.
25673 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25675 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25676 (__sendto): Use create_address_port. Initialize APORT and deallocate
25679 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25680 with O_NOLINK passed to __file_name_lookup.
25682 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25683 with O_NOLINK passed to __file_name_lookup.
25685 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25686 negative N or less than NGIDS.
25688 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25689 type to string_t. Set ERANGE as errno and return it if NAME is not big
25690 enough. Use memcpy instead of strncpy.
25692 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25694 * elf/Makefile (check-data): Remove.
25695 (localplt.data): New vpath directive.
25696 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25697 instead of $(check-data).
25698 * scripts/data/localplt-generic.data: Move to ...
25699 * sysdeps/generic/localplt.data: ... here.
25700 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25701 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25702 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25705 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25708 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25711 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25714 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25717 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25721 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25723 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25724 PPC32 and PPC64 files.
25725 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25726 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25728 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25730 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25731 __makecontext_ret to ...
25732 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25733 ... here and call exit if uc_link is NULL. New file.
25734 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25735 __makecontext_ret.S.
25736 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25737 __makecontext_ret to ...
25738 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25739 ... here and call exit if uc_link is NULL. New file.
25740 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25741 __makecontext_ret.S.
25743 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25745 * elf/elf.h (R_390_IRELATIVE): New definition.
25746 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25747 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25748 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25750 (elf_machine_lazy_rel): Likewise.
25751 * sysdeps/s390/dl-irel.h: New file.
25752 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25753 * sysdeps/s390/s390-64/memset.S: New asm code.
25754 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25755 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25756 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25757 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25758 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25759 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25761 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25762 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25763 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25764 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25765 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25766 * sysdeps/s390/s390-32/memset.S: New asm code.
25767 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25769 2012-07-17 Marek Polacek <polacek@redhat.com>
25772 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25773 * sysdeps/s390/s390-64/configure.in: Likewise.
25774 * sysdeps/sparc/configure.in: Likewise.
25775 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25776 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25777 * sysdeps/i386/configure.in: Likewise.
25778 * sysdeps/x86_64/configure.in: Likewise.
25779 * sysdeps/sh/configure.in: Likewise.
25780 * sysdeps/s390/s390-32/configure: Regenerated.
25781 * sysdeps/s390/s390-64/configure: Likewise.
25782 * sysdeps/x86_64/configure: Likewise.
25783 * sysdeps/sh/configure: Likewise.
25784 * sysdeps/powerpc/powerpc64/configure: Likewise.
25785 * sysdeps/powerpc/powerpc32/configure: Likewise.
25786 * sysdeps/sparc/configure: Likwise.
25787 * sysdeps/i386/configure: Likewise.
25789 * elf/dl-open.c: Comment fixes.
25791 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25793 * Makefile [CXX] (check-data): Remove.
25794 [CXX] (c++-types.data): New vpath directive.
25795 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25796 vpath. Do not allow for C++ type data being missing.
25797 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25798 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25799 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25800 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25801 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25802 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25803 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25806 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25809 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25812 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25815 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25818 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25821 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25824 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25827 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25828 definitions to architecture-specific files.
25829 (TLS_IE): Likewise.
25830 (TLS_LD): Likewise.
25831 (TLS_GD): Likewise.
25832 * sysdeps/i386/tls-macros.h: New file.
25833 * sysdeps/powerpc/tls-macros.h: Likewise.
25834 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25835 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25836 * sysdeps/sh/tls-macros.h: Likewise.
25837 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25838 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25839 * sysdeps/x86_64/tls-macros.h: Likewise.
25841 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25843 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25844 zero value for regular exit case.
25846 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25847 (__start_context): Preserve zero value for regular exit case.
25849 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25850 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25852 * manual/setjmp.texi (setcontext): Clarify normal process
25853 termination when uc_link is the null pointer.
25854 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25857 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25859 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25860 preprocessor. Test for each exception mask separately.
25862 2012-07-16 Andreas Jaeger <aj@suse.de>
25864 * po/ru.po: Update from translation team.
25866 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25868 * conform/data/string.h-data (NULL): Use macro-constant. Require
25870 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25871 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25872 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25873 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25876 2012-07-13 Andreas Jaeger <aj@suse.de>
25878 * po/fr.po: Update from translation team.
25880 2012-07-12 Marek Polacek <polacek@redhat.com>
25883 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25887 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25891 Change to 2.4.1 where previously 2.4.0.
25892 * sysdeps/unix/sysv/linux/configure: Regenerated.
25893 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25894 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25896 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25897 (__ASSUME_AT_CLKTCK): Remove.
25898 (__ASSUME_AT_PAGESIZE): Likewise.
25899 (__ASSUME_AT_XID): Likewise.
25900 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25901 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25902 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25904 (HAVE_AUX_PAGESIZE): Likewise.
25905 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25906 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25907 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25909 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25913 the temporary buffer used to invoke __gethostbyname2_r,
25914 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25915 host_data / struct gaih_addrtuple.
25916 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25917 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25918 header file nss/nsswitch.h.
25919 * nss/nsswitch.h (global scope): Add definition of implementation
25920 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25921 resolv/nss_dns/dns-host.c).
25923 2012-07-11 Andreas Jaeger <aj@suse.de>
25925 * po/fr.po: Update from translation team.
25927 * po/sv.po: Update from translation team
25928 * po/fr.po: Another update from translation team.
25930 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25932 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25933 for subnormals or multiply small sinh result by itself.
25934 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25937 2012-07-11 David S. Miller <davem@davemloft.net>
25939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25941 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25944 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25945 (INTERNAL_MARK): Shift it here.
25947 2012-07-10 Marek Polacek <polacek@redhat.com>
25950 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25951 libc_cv_asm_global_directive with .globl.
25952 * configure: Regenerated.
25953 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25955 * sysdeps/i386/configure: Regenerated.
25956 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25958 * sysdeps/x86_64/configure: Regenerated.
25959 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25960 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25961 * elf/tst-unique2mod2.c: Likewise.
25962 * elf/tst-unique2mod1.c: Likewise.
25963 * elf/tst-unique1mod2.c: Likewise.
25964 * elf/tst-unique1mod1.c: Likewise.
25965 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25966 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25968 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25969 * sysdeps/mach/sysdep.h: Likewise.
25970 * sysdeps/i386/sysdep.h: Likewise.
25971 * sysdeps/i386/i386-mcount.S: Likewise.
25972 * sysdeps/x86_64/_mcount.S: Likewise.
25973 * sysdeps/x86_64/sysdep.h: Likewise.
25974 * sysdeps/sh/_mcount.S: Likewise.
25975 * sysdeps/sh/sysdep.h: Likewise.
25976 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25977 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25978 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25979 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25980 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25981 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25982 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25983 * locale/localeinfo.h: Likewise.
25984 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25985 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25987 2012-07-09 Roland McGrath <roland@hack.frob.com>
25990 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25992 * manual/message.texi (The Uniforum approach): Likewise.
25993 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25994 (glibc iconv Implementation): Likewise.
25996 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25999 * math/s_clog.c (__clog): Avoid scaling a value down where that
26000 could result in underflow.
26001 * math/s_clog10.c (__clog10): Likewise.
26002 * math/s_clog10f.c (__clog10f): Likewise.
26003 * math/s_clog10l.c (__clog10l): Likewise.
26004 * math/s_clogf.c (__clogf): Likewise.
26005 * math/s_clogl.c (__clogl): Likewise.
26006 * math/libm-test.inc (clog_test): Add more tests.
26007 (clog10_test): Likewise.
26008 * sysdeps/i386/fpu/libm-test-ulps: Update.
26009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26011 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26014 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26015 by 7 not 8 to examine high bit of fractional part.
26018 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26019 for call to __mcount_internal.
26020 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26021 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26022 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26024 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26027 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26028 approximation for values within 0x1p-13f of an odd multiple of
26030 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26031 exception. Add more tests.
26032 * sysdeps/i386/fpu/libm-test-ulps: Update.
26035 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26036 inputs and return -1 for them. Do not check for +Inf in case not
26037 reachable for +Inf.
26038 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26039 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26041 and return -1 for them. Do not check for +Inf in case not
26042 reachable for +Inf.
26043 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26045 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26046 and return -1 for them. Do not check for +Inf in case not
26047 reachable for +Inf.
26048 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26049 spurious underflow.
26050 * sysdeps/i386/fpu/libm-test-ulps: Update.
26051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26053 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26055 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26057 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26061 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26062 could result in spurious underflow. Scale down values above
26063 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26064 * math/s_csqrtf.c (__csqrtf): Likewise.
26065 * math/s_csqrtl.c (__csqrtl): Likewise.
26066 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26067 spurious underflow.
26068 * sysdeps/i386/fpu/libm-test-ulps: Update.
26069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26073 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26075 * catgets/xopen-msg.awk: New file.
26076 * catgets/xopen-msg.sed: Removed.
26078 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26080 * intl/po2test.awk: New file.
26081 * intl/po2test.sed: Removed.
26083 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26086 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26087 or multiply small sinh result by itself.
26088 * math/s_ctanf.c (__ctanf): Likewise.
26089 * math/s_ctanh.c (__ctanh): Likewise.
26090 * math/s_ctanhf.c (__ctanhf): Likewise.
26091 * math/s_ctanhl.c (__ctanhl): Likewise.
26092 * math/s_ctanl.c (__ctanl): Likewise.
26093 * math/libm-test.inc (ctan_test_tonearest): New function.
26094 (ctan_test_towardzero): Likewise.
26095 (ctan_test_downward): Likewise.
26096 (ctan_test_upward): Likewise.
26097 (ctanh_test_tonearest): Likewise.
26098 (ctanh_test_towardzero): Likewise.
26099 (ctanh_test_downward): Likewise.
26100 (ctanh_test_upward): Likewise.
26101 (main): Call these new functions.
26102 * sysdeps/i386/fpu/libm-test-ulps: Update.
26103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26105 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26107 * .gitignore: Delete /ports entry.
26109 2012-07-03 Andreas Jaeger <aj@suse.de>
26111 * po/bg.po: Update from translation team.
26112 * po/cs.po: Likewise.
26113 * po/de.po: Likewise.
26114 * po/hr.po: Likewise.
26115 * po/nl.pl: Likewise.
26116 * po/pl.po: Likewise.
26117 * po/vi.po: Likewise.
26119 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26121 * Makeconfig [!+link] (+link-before-libc): New variable.
26122 [!+link] (+link-after-libc): Likewise.
26123 [!+link] (+link-tests): Likewise.
26124 [!+link] (+link): Define in terms of $(+link-before-libc) and
26125 $(+link-after-libc).
26126 [!+link-static] (+link-static-before-libc): New variable.
26127 [!+link-static] (+link-static-after-libc): Likewise.
26128 [!+link-static] (+link-static-tests): Likewise.
26129 [!+link-static] (+link-static): Define in terms of
26130 $(+link-static-before-libc) and $(+link-static-after-libc).
26131 [build-shared] (link-libc-before-gnulib): New variable.
26132 [build-shared] (link-libc-tests): Likewise.
26133 [build-shared] (link-libc): Define in terms of
26134 $(link-libc-before-gnulib).
26135 [!build-shared] (link-libc-tests): New variable.
26136 (link-libc-static-tests): New variable.
26137 [!gnulib] (gnulib-arch): New variable.
26138 [!gnulib] (gnulib-tests): Likewise.
26139 [!gnulib] (static-gnulib-arch): Likewise.
26140 [!gnulib] (static-gnulib-tests): Likewise.
26141 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26142 Define with "=" instead of ":=".
26143 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26144 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26145 * Rules (binaries-all-notests): New variable.
26146 (binaries-all-tests): Likewise.
26147 (binaries-static-notests): Likewise.
26148 (binaries-static-tests): Likewise.
26149 (binaries-all): Define using $(binaries-all-notests) and
26150 $(binaries-all-tests).
26151 (binaries-static): Define using $(binaries-static-notests) and
26152 $(binaries-static-tests).
26153 (binaries-shared-tests): New variable.
26154 (binaries-shared-notests): Likewise.
26155 (binaries-shared): Remove variable.
26156 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26157 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26158 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26159 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26160 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26161 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26162 * elf/Makefile (sln-modules): New variable.
26163 (extra-objs): Add $(sln-modules:=.o).
26164 (ldconfig-modules): Add static-stubs.
26165 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26166 * elf/static-stubs.c: New file.
26169 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26170 by 7 not 8 to examine high bit of fractional part. Use volatile
26171 variables when splitting into final array of floats if
26172 __FLT_EVAL_METHOD__ != 0.
26173 * math/libm-test.inc (cos_test): Add another test.
26174 (sin_test): Likewise.
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26178 * math/libm-test.inc (cosh_test): Add more tests.
26180 * version.h (RELEASE): Set to "development".
26181 (VERSION): Set to "2.16.90".
26183 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26185 * NEWS: Update copyright. Remove last-updated date.
26186 Mention math library bug fixes and timezone data changes.
26187 * README: Mention GNU/Hurd, x32, and HPPA support status.
26189 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26191 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26193 2012-06-27 Andreas Jaeger <aj@suse.de>
26195 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26197 2012-06-25 Andreas Jaeger <aj@suse.de>
26199 * sysdeps/s390/fpu/libm-test-ulps: Update.
26201 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26202 Thomas Schwinge <thomas@codesourcery.com>
26204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26205 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26209 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26211 * sysdeps/mach/start.c: Remove file.
26212 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26213 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26214 * sysdeps/sh/init-first.c: Likewise.
26216 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26217 registers for frame unwinding purposes, add CFI directives.
26218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26220 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26223 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26224 __fortify_fail returning.
26225 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26227 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26228 sysdeps/sh/____longjmp_chk.S.
26229 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26230 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26231 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26232 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26234 * sysdeps/sh/abort-instr.h: New file.
26235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26236 process in case exit returns.
26238 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26239 initialize the GOT register before use.
26241 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26242 calculation of ARGC > 4.
26244 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26245 meaningful names to some local labels.
26247 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26248 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26251 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26252 (__arch_compare_and_exchange_val_16_acq): Likewise.
26253 (__arch_compare_and_exchange_val_32_acq): Likewise.
26254 (atomic_exchange_and_add): Fix gUSA sequence.
26255 (atomic_add): Likewise.
26256 (atomic_add_negative): Likewise.
26257 (atomic_add_zero): Likewise.
26258 (atomic_bit_test_set): Likewise.
26260 2012-06-22 Andreas Schwab <schwab@redhat.com>
26263 * include/link.h (struct link_map): Add l_free_initfini.
26264 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26266 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26267 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26268 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26271 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26273 * configure.in: Use AC_LANG_SOURCE.
26274 * configure: Regenerate.
26276 2012-06-22 Roland McGrath <roland@hack.frob.com>
26278 * configure.in (libc_cv_localstatedir): New substituted variable.
26279 * configure: Regenerated.
26280 * config.make.in (localstatedir): New variable, substituted from
26281 libc_cv_localstatedir.
26282 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26283 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26284 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26285 * sysdeps/gnu/configure: Regenerated.
26287 2012-06-21 Jeff Law <law@redhat.com>
26290 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26291 free. Simplify list management for _LIBC case.
26293 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26296 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26297 Clear sign bit of 64-bit integer value before comparing against
26300 * sysdeps/mach/configure: Regenerated.
26302 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26305 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26307 2012-06-21 Jeff Law <law@redhat.com>
26310 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26311 uint16_t for elements in the "seen" array to avoid char overflows.
26312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26313 * elf/dl-open.c (dl_open_worker): Likewise.
26315 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26317 * scripts/list-sources.sh: Scan PORTS for translations.
26318 * po/libc.pot: Regenerated.
26320 2012-06-21 Andreas Jaeger <aj@suse.de>
26323 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26325 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26326 * bits/byteswap-16.h (__bswap_16): Likewise.
26327 * bits/byteswap.h (__bswap_constant_16): Likewise.
26329 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26332 * sysdeps/i386/fpu_control.h: Removed.
26333 * sysdeps/x86_64/fpu_control.h: Moved to ...
26334 * sysdeps/x86/fpu_control.h: Here.
26336 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26337 (_FPU_SETCW): Likewise.
26339 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26342 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26343 * sysdeps/x86/fpu/bits/mathinline.h: This.
26344 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26348 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26349 functions if __x86_64__ is defined.
26351 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26353 * string/endian.h: Add !__ASSEMBLER__ condition for including
26354 conversion interfaces.
26356 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26360 of ABS(x) in calculating zero to negative powers other than odd
26362 * math/libm-test.inc (pow_test): Add more tests.
26364 2012-06-15 Andreas Jaeger <aj@suse.de>
26366 * manual/contrib.texi (Contributors): Update entry of Liubov
26367 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26370 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26372 * string/string.h: Add __wur to GNU version of strerror_r.
26374 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26377 * string/Makefile (tests): Add tst-strtok_r.
26378 * string/tst-strtok_r.c: New file.
26379 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26380 RAX_LP/RDX_LP on SAVE_PTR.
26382 2012-06-14 Roland McGrath <roland@hack.frob.com>
26384 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26386 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26388 * libm_test.inc (csqrt_test): Allow more spurious underflow
26390 (j0_test): Likewise.
26391 (j1_test): Likewise.
26392 (y0_test): Likewise.
26393 (y1_test): Likewise.
26395 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26397 * po/Makefile (libc.pot): Use UTF-8 charset.
26399 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26402 Suppress sign-conversion warning from FD_SET.
26403 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26404 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26405 not unsigned long int.
26406 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26408 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26412 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26413 __extern_always_inline instead of __extern_inline.
26414 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26415 (__signbit): Likewise.
26416 (__signbitl): Support C++ namespace.
26417 (lrintf): New inline function.
26419 (llrintf): Likewise.
26420 (llrint): Likewise.
26430 (floorf): Likewise.
26431 (nearbyint): Likewise.
26432 (nearbyintf): Likewise.
26434 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26437 non-default versions.
26439 2012-06-11 Roland McGrath <roland@hack.frob.com>
26442 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26444 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26446 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26447 (FE_UPWARD, FE_DOWNWARD): Don't define.
26448 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26449 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26451 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26453 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26454 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26456 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26458 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26460 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26463 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26466 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26467 * sysdeps/i386/fpu/Implies: New file.
26468 * sysdeps/x86_64/fpu/Implies: Likewise.
26469 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26470 * sysdeps/x86/fpu/bits/fenv.h: This.
26472 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26475 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26478 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26479 character 0xffff that matches the last element of the
26482 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26487 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26490 values higher than 25.6283.
26492 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26495 subnormal exponent extraction and add some __builtin_expect.
26496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26497 Fix for subnormal mantissa calculation.
26499 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26501 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26502 cpu2 is -1 and errno is not ENOSYS.
26504 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26507 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26508 * sysdeps/x86/bits/string.h: This.
26509 * sysdeps/x86_64/bits/string.h: Removed.
26511 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26512 if not compiling for x86-64, but compiling for >= i486.
26514 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26515 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26517 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26518 New macro from Linux kernel 3.4.0.
26519 (FP_XSTATE_MAGIC2): Likewise.
26520 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26521 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26522 (struct _fpx_sw_bytes): New struct.
26523 (struct _xsave_hdr): Likewise.
26524 (struct _ymmh_state): Likewise.
26525 (struct _xstate): Likewise.
26527 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26528 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26529 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26530 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26531 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26532 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26534 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26535 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26536 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26537 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26538 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26539 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26541 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26544 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26545 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26546 (sysdep_headers): Include sys/platform/ppc.h.
26547 * sysdeps/powerpc/test-gettimebase.c: Test for
26548 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26549 * manual/Makefile (appendices): Include platform.texi.
26550 * manual/contrib.texi (Contributors): Update @node pointers.
26551 * manual/maint.texi (Maintenance): Likewise.
26552 (Platform): New node.
26553 * manual/platform.texi: New file. Document the new features.
26555 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26556 Jakub Jelinek <jakub@redhat.com>
26559 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26560 where __builtin_expect is unavailable.
26562 2012-06-03 David S. Miller <davem@davemloft.net>
26564 * stdlib/longlong.h: Updated from GCC.
26566 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26569 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26570 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26573 (GLIBC_2.16): Likewise.
26575 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26577 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26579 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26582 (default-abi): New variable.
26583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26584 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26586 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26588 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26590 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26593 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26594 definition. Document in comment.
26596 2012-06-01 David S. Miller <davem@davemloft.net>
26598 * stdlib/longlong.h: Updated from GCC.
26600 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26603 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26604 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26605 sys/debugreg.h sys/io.h here.
26606 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26607 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26609 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26610 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26611 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26612 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26613 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26614 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26617 Define only if __x86_64__ is defined.
26619 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26622 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26623 Use int64_t for variable i.
26624 * math/libm-test.inc (fmod_test): Add more tests.
26626 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26627 z computation is not scheduled after fetestexcept.
26628 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26629 Use math_force_eval instead of asm to ensure calculation scheduled
26630 before exception test.
26631 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26632 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26634 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26637 computation is not scheduled after fetestexcept.
26639 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26642 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26643 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26645 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26647 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26648 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26650 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26653 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26655 (__WCHAR_MIN): Support __WORDSIZE == 64.
26656 (__WCHAR_MAX): Likewise.
26658 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26662 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26663 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26666 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26667 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26669 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26670 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26672 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26673 Defined to 1 if __x86_64__ isn't defined.
26674 (_STAT_VER_LINUX_OLD): New.
26675 (st_atime): Remove duplicate.
26676 (st_mtime): Likewise.
26677 (st_ctime): Likewise.
26679 2012-05-31 David S. Miller <davem@davemloft.net>
26681 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26684 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26686 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26690 * elf/dl-reloc.c: Include <_itoa.h>.
26691 (_dl_reloc_bad_type): Remove use of INTUSE.
26692 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26693 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26694 * stdio-common/psiginfo.c (psiginfo): Likewise.
26695 * stdio-common/psignal.c (psignal): Likewise.
26696 * string/strsignal.c (strsignal): Likewise.
26697 * include/signal.h (_sys_siglist): Declare hidden proto.
26698 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26699 INTVARDEF with libc_hidden_data_def.
26700 * stdio-common/itoa-udigits.c: Likewise.
26701 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26702 (_itoa_lower_digits_internal): Remove declaration.
26703 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26704 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26705 (_sys_sigabbrev_internal): Remove aliases.
26706 (_sys_siglist): Define hidden alias.
26708 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26713 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26716 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26717 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26719 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26720 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26721 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26722 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26723 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26724 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26726 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26727 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26728 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26730 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26740 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26742 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26743 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26744 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26745 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26746 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26747 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26749 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26750 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26752 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26753 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26759 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26760 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26762 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26764 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26765 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26766 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26768 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26770 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26772 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26774 * math/math.h (M_El): Use two more decimal places.
26775 (M_LOG2El): Likewise.
26776 (M_LOG10El): Likewise.
26777 (M_LN2l): Likewise.
26778 (M_LN10l): Likewise.
26780 (M_PI_2l): Likewise.
26781 (M_PI_4l): Likewise.
26782 (M_1_PIl): Likewise.
26783 (M_2_PIl): Likewise.
26784 (M_2_SQRTPIl): Likewise.
26785 (M_SQRT2l): Likewise.
26786 (M_SQRT1_2l): Likewise.
26788 2012-05-31 David S. Miller <davem@davemloft.net>
26790 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26791 values between float registers.
26792 * sysdeps/sparc/sparc64/memset.S: Likewise.
26793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26795 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26797 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26798 -D_FORTIFY_SOURCE=1.
26799 (CPPFLAGS-tst-longjmp_chk.c): Define.
26800 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26801 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26802 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26803 CFLAGS-tst-wchar-h.c.
26805 2012-05-31 Marek Polacek <polacek@redhat.com>
26808 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26809 __endmntent_internal): Remove declaration.
26810 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26811 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26812 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26814 2012-05-30 David S. Miller <davem@davemloft.net>
26816 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26817 (___Q_simulate_exceptions): Use real FP ops rather than writing
26819 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26822 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26825 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26826 * sysdeps/x86/bits/xtitypes.h: This.
26828 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26829 * sysdeps/x86/bits/wordsize.h: This.
26831 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26832 * sysdeps/x86/bits/huge_vall.h: This.
26834 * sysdeps/i386/bits/select.h: Removed.
26835 * sysdeps/x86_64/bits/select.h: Renamed to ...
26836 * sysdeps/x86/bits/select.h: This.
26838 * sysdeps/i386/bits/setjmp.h: Removed.
26839 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26840 * sysdeps/x86/bits/setjmp.h: This.
26842 * sysdeps/i386/bits/mathdef.h: Removed.
26843 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26844 * sysdeps/x86/bits/mathdef.h: This.
26846 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26849 * include/sys/socket.h (__connect_internal)
26850 (__libc_sa_len_internal): Remove declaration.
26851 (__connect, __libc_sa_len): Declare hidden_proto.
26852 (SA_LEN): Remove use of INTUSE.
26853 * socket/connect.c: Add libc_hidden_def.
26854 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26855 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26856 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26858 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26859 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26860 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26861 of adding _internal alias.
26863 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26866 * sysdeps/i386/bits/link.h: Removed.
26867 * sysdeps/i386/bits/linkmap.h: Likewise.
26868 * sysdeps/x86_64/bits/link.h: Renamed to ...
26869 * sysdeps/x86/bits/link.h: This.
26870 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26871 * sysdeps/x86/bits/linkmap.h: This.
26873 * sysdeps/i386/bits/endian.h: Removed.
26874 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26875 * sysdeps/x86/bits/endian.h: This.
26877 * sysdeps/i386/bits/byteswap.h: Removed.
26878 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26879 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26880 * sysdeps/x86/bits/byteswap.h: This.
26881 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26882 * sysdeps/x86/bits/byteswap-16.h: This.
26883 * sysdeps/i386/Implies: Add x86.
26884 * sysdeps/x86_64/Implies: Likewise.
26886 2012-05-30 David S. Miller <davem@davemloft.net>
26888 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26889 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26891 (FP_TRAPPING_EXCEPTIONS): Define.
26892 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26893 (FP_TRAPPING_EXCEPTIONS): Define.
26894 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26895 subnormals only when inexact has been signalled or underflow
26896 exceptions are enabled.
26897 (_FP_PACK_CANONICAL): Likewise.
26899 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26903 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26905 2012-05-30 Richard Henderson <rth@twiddle.net>
26907 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26908 with #ifndef NOT_IN_libc.
26910 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26911 marked to avoid plt entry.
26913 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26916 * Makeconfig (default-abi): New macro.
26917 (abi-includes): Likewise.
26918 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26919 $(abi-$(default-abi)-lib-soname) for soname if defined.
26920 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26922 * Makefile (installed-stubs): Likewise.
26923 * include/stubs-biarch.h: Removed.
26924 * scripts/lib-names.awk: Only handle one library at a time.
26925 * scripts/soversions.awk: Remove WORDSIZE support.
26926 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26928 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26930 (syscall-list-default-condition): Likewise.
26931 (syscall-list-default-condition): Likewise.
26932 (syscall-list-includes): Likewise.
26933 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26934 syscall-list-* with abi-*. Handle undefined abi-variants.
26935 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26936 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26937 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26939 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26940 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26942 (syscall-list-32-options): Likewise.
26943 (syscall-list-32-condition): Likewise.
26944 (syscall-list-64-options): Likewise.
26945 (syscall-list-64-condition): Likewise.
26946 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26948 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26951 (abi-64-ld-soname): New macro.
26952 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26953 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26956 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26957 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26959 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/unix/sysv/linux/kernel-features.h
26962 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26963 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26964 include <kernel-features.h>.
26965 [!__NR_ftruncate64]: Remove conditional code.
26966 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26967 [__NR_ftruncate64]: Make code unconditional.
26968 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26969 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26970 include <kernel-features.h>.
26971 [!__NR_ftruncate64]: Remove conditional code.
26972 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26973 [__NR_ftruncate64]: Make code unconditional.
26974 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26976 include <kernel-features.h>.
26977 [!__NR_ftruncate64]: Remove conditional code.
26978 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26979 [__NR_ftruncate64]: Make code unconditional.
26980 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26982 include <kernel-features.h>.
26983 [!__NR_ftruncate64]: Remove conditional code.
26984 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26985 [__NR_ftruncate64]: Make code unconditional.
26986 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26988 * configure.in (libc_cv_fpie): Weaken to a compile test using
26989 LIBC_TRY_CC_OPTION.
26990 * configure: Regenerated.
26992 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27007 2012-05-27 David S. Miller <davem@davemloft.net>
27009 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27011 (__Q_simulate_exceptions): Return void. Change to simulate
27012 exceptions by writing into the %fsr.
27013 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27014 (__Qp_handle_exceptions): Likewise.
27016 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27017 __Qp_handle_exceptions.
27018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27019 __Qp_handle_exceptions.
27020 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27021 as unused and give dummy FP_RND_NEAREST initializer.
27022 (FP_INHIBIT_RESULTS): Define.
27023 (___Q_simulate_exceptions): Update declaration.
27024 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27027 as unused and give dummy FP_RND_NEAREST initializer.
27028 (__Qp_handle_exceptions): Update declaration.
27029 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27032 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27034 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27035 the temporary FPU control word.
27036 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27037 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27038 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27039 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27041 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27042 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27043 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27044 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27045 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27046 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27048 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27050 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27053 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27055 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27056 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27057 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27058 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27060 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27061 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27064 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27066 * po/h.po: Update from translation team.
27068 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27070 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27072 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27073 handling of denormals.
27074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27075 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27076 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27077 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27083 2012-05-26 Marek Polacek <polacek@redhat.com>
27086 * math/libm-test.inc (fma_test): Don't always expect underflow
27089 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27092 * elf/tst-execstack.c: Include stackinfo.h.
27093 (do_test): Adjust test case to ensure that pthread_getattr_np
27094 behaviour remains the same after marking stack executable.
27096 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27098 * sysdeps/unix/sysv/linux/kernel-features.h
27099 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27100 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27102 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27103 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27104 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27106 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27107 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27109 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27111 * configure.in: Define the default includes to being none.
27112 * configure: Regenerated.
27114 2012-05-25 Roland McGrath <roland@hack.frob.com>
27116 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27117 * sysdeps/x86_64/setjmp.S: Likewise.
27118 * sysdeps/i386/bsd-setjmp.S: Likewise.
27119 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27120 * sysdeps/i386/setjmp.S: Likewise.
27121 * sysdeps/i386/__longjmp.S: Likewise.
27122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27123 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27125 * include/stap-probe.h: New file.
27126 * configure.in: Handle --enable-systemtap.
27127 * configure: Regenerated.
27128 * config.h.in (USE_STAP_PROBE): New #undef.
27129 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27130 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27131 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27133 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27137 to 2.4.0 where earlier.
27138 * sysdeps/unix/sysv/linux/configure: Regenerated.
27139 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27140 <kernel-features.h>.
27141 [__ASSUME_32BITUIDS]: Make code unconditional.
27142 [!__ASSUME_32BITUIDS]: Remove conditional code.
27143 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27144 <kernel-features.h>.
27145 [__ASSUME_32BITUIDS]: Make code unconditional.
27146 [!__ASSUME_32BITUIDS]: Remove conditional code.
27147 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27148 [__ASSUME_32BITUIDS]: Make code unconditional.
27149 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27150 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27151 <kernel-features.h>.
27152 [__ASSUME_32BITUIDS]: Make code unconditional.
27153 [!__ASSUME_32BITUIDS]: Remove conditional code.
27154 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27155 <kernel-features.h>.
27156 [__ASSUME_32BITUIDS]: Make code unconditional.
27157 [!__ASSUME_32BITUIDS]: Remove conditional code.
27158 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27159 <kernel-features.h>.
27160 [__ASSUME_32BITUIDS]: Make code unconditional.
27161 [!__ASSUME_32BITUIDS]: Remove conditional code.
27162 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27163 <kernel-features.h>.
27164 [__ASSUME_32BITUIDS]: Make code unconditional.
27165 [!__ASSUME_32BITUIDS]: Remove conditional code.
27166 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27167 <kernel-features.h>.
27168 [__ASSUME_32BITUIDS]: Make code unconditional.
27169 [!__ASSUME_32BITUIDS]: Remove conditional code.
27170 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27171 <kernel-features.h>.
27172 [__ASSUME_32BITUIDS]: Make code unconditional.
27173 [!__ASSUME_32BITUIDS]: Remove conditional code.
27174 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27175 <kernel-features.h>.
27176 [__ASSUME_32BITUIDS]: Make code unconditional.
27177 [!__ASSUME_32BITUIDS]: Remove conditional code.
27178 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27179 <kernel-features.h>.
27180 [__ASSUME_32BITUIDS]: Make code unconditional.
27181 [!__ASSUME_32BITUIDS]: Remove conditional code.
27182 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27183 <kernel-features.h>.
27184 [__ASSUME_32BITUIDS]: Make code unconditional.
27185 [!__ASSUME_32BITUIDS]: Remove conditional code.
27186 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27187 <kernel-features.h>.
27188 [__ASSUME_32BITUIDS]: Make code unconditional.
27189 [!__ASSUME_32BITUIDS]: Remove conditional code.
27190 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27191 <kernel-features.h>.
27192 [__NR_setresgid] (__setresgid): Do not declare.
27193 [__ASSUME_32BITUIDS]: Make code unconditional.
27194 [!__ASSUME_32BITUIDS]: Remove conditional code.
27195 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27196 <kernel-features.h>.
27197 [__NR_setresuid] (__setresuid): Do not declare.
27198 [__ASSUME_32BITUIDS]: Make code unconditional.
27199 [!__ASSUME_32BITUIDS]: Remove conditional code.
27200 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27201 <kernel-features.h>.
27202 [__ASSUME_32BITUIDS]: Make code unconditional.
27203 [!__ASSUME_32BITUIDS]: Remove conditional code.
27204 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27205 <kernel-features.h>.
27206 [__ASSUME_32BITUIDS]: Make code unconditional.
27207 [!__ASSUME_32BITUIDS]: Remove conditional code.
27208 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27209 <kernel-features.h>.
27210 [__ASSUME_32BITUIDS]: Make code unconditional.
27211 [!__ASSUME_32BITUIDS]: Remove conditional code.
27212 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27213 <kernel-features.h>.
27214 [__ASSUME_32BITUIDS]: Make code unconditional.
27215 [!__ASSUME_32BITUIDS]: Remove conditional code.
27216 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27217 <kernel-features.h>.
27218 [__ASSUME_32BITUIDS]: Make code unconditional.
27219 [!__ASSUME_32BITUIDS]: Remove conditional code.
27220 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27221 <kernel-features.h>.
27222 [__ASSUME_32BITUIDS]: Make code unconditional.
27223 [!__ASSUME_32BITUIDS]: Remove conditional code.
27224 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27225 <kernel-features.h>.
27226 [__ASSUME_32BITUIDS]: Make code unconditional.
27227 [!__ASSUME_32BITUIDS]: Remove conditional code.
27228 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27229 <kernel-features.h>.
27230 [__ASSUME_32BITUIDS]: Make code unconditional.
27231 [!__ASSUME_32BITUIDS]: Remove conditional code.
27232 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27233 <kernel-features.h>.
27234 [__ASSUME_32BITUIDS]: Make code unconditional.
27235 [!__ASSUME_32BITUIDS]: Remove conditional code.
27236 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27237 <kernel-features.h>.
27238 [__ASSUME_32BITUIDS]: Make code unconditional.
27239 [!__ASSUME_32BITUIDS]: Remove conditional code.
27240 * sysdeps/unix/sysv/linux/kernel-features.h
27241 (__ASSUME_SETRESUID_SYSCALL): Remove.
27242 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27243 (__ASSUME_32BITUIDS): Likewise.
27244 (__ASSUME_LDT_WORKS): Likewise.
27245 (__ASSUME_O_DIRECTORY): Likewise.
27246 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27247 architecture but not kernel version.
27248 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27249 (__ASSUME_MMAP2_SYSCALL): Likewise.
27250 (__ASSUME_STAT64_SYSCALL): Likewise.
27251 (__ASSUME_IPC64): Likewise.
27252 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27253 <kernel-features.h>.
27254 [__ASSUME_32BITUIDS]: Make code unconditional.
27255 [!__ASSUME_32BITUIDS]: Remove conditional code.
27256 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27257 <kernel-features.h>.
27258 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27259 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27260 132096]: Remove conditional code.
27261 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27262 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27263 <kernel-features.h>.
27264 [__ASSUME_32BITUIDS]: Make code unconditional.
27265 [!__ASSUME_32BITUIDS]: Remove conditional code.
27266 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27267 <kernel-features.h>.
27268 [__ASSUME_32BITUIDS]: Make code unconditional.
27269 [!__ASSUME_32BITUIDS]: Remove conditional code.
27270 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27271 <kernel-features.h>.
27272 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27274 (__setresgid): Do not declare.
27275 [__ASSUME_32BITUIDS]: Make code unconditional.
27276 [!__ASSUME_32BITUIDS]: Remove conditional code.
27277 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27278 <kernel-features.h>.
27279 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27281 (__setresuid): Do not declare.
27282 [__ASSUME_32BITUIDS]: Make code unconditional.
27283 [!__ASSUME_32BITUIDS]: Remove conditional code.
27284 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27285 <kernel-features.h>.
27286 [__ASSUME_32BITUIDS]: Make code unconditional.
27287 [!__ASSUME_32BITUIDS]: Remove conditional code.
27288 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27289 <kernel-features.h>.
27290 [__ASSUME_32BITUIDS]: Make code unconditional.
27291 [!__ASSUME_32BITUIDS]: Remove conditional code.
27293 2012-05-25 Richard Henderson <rth@twiddle.net>
27295 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27296 dl_hwcap to ifunc resolver.
27297 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27299 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27300 dl_hwcap to ifunc resolver.
27301 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27303 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27306 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27307 for |x| <= 2**-26, not 2**-57.
27308 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27311 2012-05-24 Jeff Law <law@redhat.com>
27313 * stdio-common/Makefile (tests): Add bug25.
27314 * stdio-common/bug25.c: New test.
27316 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27319 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27320 multiple of MALLOC_ALIGNMENT in size.
27321 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27323 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27325 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27327 (FILENAME_MAX): Use macro-int-constant.
27328 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27329 (_IOFBF): Use macro-int-constant.
27330 (_IOLBF): Likewise.
27331 (_IONBF): Likewise.
27332 (SEEK_CUR): Likewise.
27333 (SEEK_END): Likewise.
27334 (SEEK_SET): Likewise.
27335 (TMP_MAX): Likewise.
27336 (EOF): Use macro-int-constant. Require < 0.
27337 (NULL): Use macro-constant. Require == 0.
27338 (stdin): Require type to be FILE *.
27339 (stdout): Likewise.
27340 (stderr): Likewise.
27341 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27342 macro-int-constant.
27343 (EXIT_SUCCESS): Likewise.
27344 (NULL): Use macro-constant. Require == 0.
27345 (RAND_MAX): Use macro-int-constant.
27346 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27347 [C99-based standards] (strtof): Require function.
27348 [C99-based standards] (strtold): Likewise.
27349 [C99-based standards] (strtoll): Likewise.
27350 [C99-based standards] (strtoull): Likewise.
27351 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27352 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27353 [ISO || ISO99 || ISO11] (math.h): Likewise.
27354 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27355 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27356 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27358 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27361 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27362 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27363 * intl/dgettext.c (DCGETTEXT): Likewise.
27364 * intl/gettext.c (DCGETTEXT): Likewise.
27365 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27366 * posix/regex_internal.h (gettext): Likewise.
27367 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27368 Remove declaration.
27369 * include/argz.h (__argz_count_internal)
27370 (__argz_stringify_internal): Remove declaration.
27371 (__argz_count, __argz_stringify): Declare hidden proto.
27372 * intl/dcgettext.c: Remove use of INTDEF.
27373 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27374 * string/argz-stringify.c: Likewise.
27375 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27376 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27377 Declare hidden proto.
27378 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27379 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27380 Declare hidden proto.
27381 * include/stdio.h (__asprintf_internal): Don't declare.
27382 (__asprintf): Don't define as macro. Declare hidden proto.
27383 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27384 (__fsetlocking): Declare hidden proto.
27385 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27386 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27388 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27389 (_IO_setlinebuf): Remove use of INTUSE.
27390 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27391 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27392 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27393 Remove declaration.
27394 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27395 (_IO_do_flush): Remove use of INTUSE.
27396 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27397 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27398 (_IO_adjust_column, _IO_least_wmarker)
27399 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27400 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27401 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27402 (_IO_default_doallocate, _IO_wdefault_doallocate)
27403 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27404 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27405 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27406 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27407 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27408 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27409 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27410 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27411 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27412 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27413 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27414 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27415 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27417 (_IO_flush_all_internal, _IO_adjust_column_internal)
27418 (_IO_default_uflow_internal, _IO_default_finish_internal)
27419 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27420 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27421 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27422 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27423 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27424 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27425 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27426 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27427 (_IO_file_close_internal, _IO_file_close_it_internal)
27428 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27429 (_IO_file_init_internal, _IO_file_attach_internal)
27430 (_IO_file_fopen_internal, _IO_file_read_internal)
27431 (_IO_file_sync_internal, _IO_file_seek_internal)
27432 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27433 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27434 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27435 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27436 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27437 (_IO_list_all_internal, _IO_link_in_internal)
27438 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27439 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27440 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27441 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27442 (_IO_do_write_internal, _IO_padn_internal)
27443 (_IO_getline_info_internal, _IO_getline_internal)
27444 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27445 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27446 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27447 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27448 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27449 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27450 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27451 with libc_hidden_ver, remove use of INTUSE.
27452 * libio/genops.c: Likewise.
27453 * libio/freopen.c: Likewise.
27454 * libio/freopen64.c: Likewise.
27455 * libio/iofclose.c: Likewise.
27456 * libio/iofdopen.c: Likewise.
27457 * libio/iofflush.c: Likewise.
27458 * libio/iofflush_u.c: Likewise.
27459 * libio/iofgets.c: Likewise.
27460 * libio/iofgets_u.c: Likewise.
27461 * libio/iofopen.c: Likewise.
27462 * libio/iofopncook.c: Likewise.
27463 * libio/iofread.c: Likewise.
27464 * libio/iofread_u.c: Likewise.
27465 * libio/ioftell.c: Likewise.
27466 * libio/iofwrite.c: Likewise.
27467 * libio/iogetline.c: Likewise.
27468 * libio/iogets.c: Likewise.
27469 * libio/iogetwline.c: Likewise.
27470 * libio/iopadn.c: Likewise.
27471 * libio/iopopen.c: Likewise.
27472 * libio/ioseekoff.c: Likewise.
27473 * libio/ioseekpos.c: Likewise.
27474 * libio/iosetbuffer.c: Likewise.
27475 * libio/iosetvbuf.c: Likewise.
27476 * libio/ioungetc.c: Likewise.
27477 * libio/ioungetwc.c: Likewise.
27478 * libio/iovdprintf.c: Likewise.
27479 * libio/iovsprintf.c: Likewise.
27480 * libio/iovsscanf.c: Likewise.
27481 * libio/memstream.c: Likewise.
27482 * libio/obprintf.c: Likewise.
27483 * libio/oldfileops.c: Likewise.
27484 * libio/oldiofclose.c: Likewise.
27485 * libio/oldiofdopen.c: Likewise.
27486 * libio/oldiofopen.c: Likewise.
27487 * libio/oldiopopen.c: Likewise.
27488 * libio/oldstdfiles.c: Likewise.
27489 * libio/putc.c: Likewise.
27490 * libio/setbuf.c: Likewise.
27491 * libio/setlinebuf.c: Likewise.
27492 * libio/stdfiles.c: Likewise.
27493 * libio/strops.c: Likewise.
27494 * libio/vasprintf.c: Likewise.
27495 * libio/vscanf.c: Likewise.
27496 * libio/vsnprintf.c: Likewise.
27497 * libio/vswprintf.c: Likewise.
27498 * libio/wfiledoalloc.c: Likewise.
27499 * libio/wfileops.c: Likewise.
27500 * libio/wgenops.c: Likewise.
27501 * libio/wmemstream.c: Likewise.
27502 * libio/wstrops.c: Likewise.
27503 * libio/__fpurge.c: Likewise.
27504 * libio/__fsetlocking.c: Likewise.
27505 * assert/assert.c: Likewise.
27506 * debug/fgets_chk.c: Likewise.
27507 * debug/fgets_u_chk.c: Likewise.
27508 * debug/fread_chk.c: Likewise.
27509 * debug/fread_u_chk.c: Likewise.
27510 * debug/gets_chk.c: Likewise.
27511 * debug/obprintf_chk.c: Likewise.
27512 * debug/vasprintf_chk.c: Likewise.
27513 * debug/vdprintf_chk.c: Likewise.
27514 * debug/vsnprintf_chk.c: Likewise.
27515 * debug/vsprintf_chk.c: Likewise.
27516 * malloc/mtrace.c: Likewise.
27517 * misc/error.c: Likewise.
27518 * misc/syslog.c: Likewise.
27519 * stdio-common/asprintf.c: Likewise.
27520 * stdio-common/fxprintf.c: Likewise.
27521 * stdio-common/getw.c: Likewise.
27522 * stdio-common/isoc99_fscanf.c: Likewise.
27523 * stdio-common/isoc99_scanf.c: Likewise.
27524 * stdio-common/isoc99_vfscanf.c: Likewise.
27525 * stdio-common/isoc99_vscanf.c: Likewise.
27526 * stdio-common/isoc99_vsscanf.c: Likewise.
27527 * stdio-common/printf-prs.c: Likewise.
27528 * stdio-common/printf_fp.c: Likewise.
27529 * stdio-common/printf_fphex.c: Likewise.
27530 * stdio-common/printf_size.c: Likewise.
27531 * stdio-common/putw.c: Likewise.
27532 * stdio-common/scanf.c: Likewise.
27533 * stdio-common/sprintf.c: Likewise.
27534 * stdio-common/tmpfile.c: Likewise.
27535 * stdio-common/vfprintf.c: Likewise.
27536 * stdio-common/vfscanf.c: Likewise.
27537 * stdlib/strfmon_l.c: Likewise.
27538 * sunrpc/openchild.c: Likewise.
27539 * sunrpc/xdr_stdio.c: Likewise.
27540 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27541 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27543 2012-05-24 Roland McGrath <roland@hack.frob.com>
27545 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27547 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27548 in the third column, to generate for the shared library an IFUNC
27549 that uses _dl_vdso_vsym.
27550 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27551 * Makeconfig (object-suffixes-noshared): New variable.
27553 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27554 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27555 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27556 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27559 * include/sys/time.h (__gettimeofday): Remove macro.
27560 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27561 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27563 (__gettimeofday): Add libc_hidden_def.
27564 (gettimeofday): Add libc_hidden_weak.
27565 * sysdeps/mach/gettimeofday.c: Likewise.
27566 * sysdeps/posix/gettimeofday.c: Likewise.
27567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27568 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27570 (__gettimeofday_internal): Remove strong_alias.
27571 (__gettimeofday): Add libc_hidden_def.
27572 (gettimeofday): Add libc_hidden_weak.
27573 * sysdeps/unix/syscalls.list (gettimeofday):
27574 Remove __gettimeofday_internal alias.
27576 2012-05-24 Daniel Jacobowitz <drow@false.org>
27577 H.J. Lu <hongjiu.lu@intel.com>
27580 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27581 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27582 (largebin_index_32_big): New.
27583 (largebin_index): Use it for 16-byte alignment.
27584 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27585 correction with front_misalign.
27587 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27615 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27616 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27618 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27622 * math/libm-test.inc (exp_test): Add test from bug 14036.
27623 (pow_test): Add test from bug 10846.
27625 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27627 (special_function): Do not include flags in test name.
27628 (parse_args): Likewise.
27629 * sysdeps/i386/fpu/libm-test-ulps: Update.
27630 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27631 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27635 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27637 * math/libm-test.inc ("Philosophy"): Update comment about
27639 (UNDERFLOW_EXCEPTION): New macro.
27640 (UNDERFLOW_EXCEPTION_OK): Likewise.
27641 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27642 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27643 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27644 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27645 (INVALID_EXCEPTION_OK): Update value.
27646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27647 (OVERFLOW_EXCEPTION_OK): Likewise.
27648 (IGNORE_ZERO_INF_SIGN): Likewise.
27649 (test_exceptions): Handle underflow exceptions.
27650 (acos_test): Update for underflow exception expectations.
27651 (cexp_test): Likewise.
27652 (clog_test): Likewise.
27653 (clog10_test): Likewise.
27654 (csqrt_test): Likewise.
27655 (ctan_test): Likewise.
27656 (ctanh_test): Likewise.
27657 (exp_test): Likewise.
27658 (exp10_test): Likewise.
27659 (exp2_test): Likewise.
27660 (expm1_test): Likewise.
27661 (fma_test): Likewise.
27662 (j0_test): Likewise.
27663 (jn_test): Likewise.
27664 (nexttoward_test): Likewise.
27665 (pow_test): Likewise.
27666 (scalbn_test): Likewise.
27667 (scalbln_test): Likewise.
27668 (tan_test): Likewise.
27669 (y1_test): Likewise.
27670 * sysdeps/i386/fpu/libm-test-ulps: Update.
27671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27673 2012-05-23 David S. Miller <davem@davemloft.net>
27675 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27676 (__libc_sigaction): Remove unused local variables.
27678 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27682 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27684 mktime: avoid signed integer overflow
27685 * time/mktime.c (__mktime_internal): Do not mishandle the case
27686 where diff == INT_MIN.
27688 mktime: simplify computation of average
27689 * time/mktime.c (ranged_convert): Use new time_t_avg function
27690 instead of rolling our own (probably-slower) code.
27692 mktime: do not assume signed right shift propagates sign bit
27693 * time/mktime.c (isdst_differ): New static function.
27694 (__mktime_internal): No need to normalize tm_isdst now.
27695 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27698 mktime: merge another wrapv change from gnulib
27699 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27700 from some compilers.
27702 mktime: remove incorrect attempt at unusual arithmetics
27703 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27704 The code didn't really work on such machines anyway.
27705 (TYPE_MINIMUM): Assume two's complement.
27706 (twos_complement_arithmetic): Verify that long_int and time_t
27707 are two's complement (or unsigned, in the latter case).
27709 mktime: check signed shifts on long_int and time_t, too
27710 * time/mktime.c (SHR): Check that shifts work as desired
27711 on the types long_int and time_t too, as SHR is used on
27714 mktime: do not assume 'long' is wide enough
27715 * time/mktime.c (verify): Move decl up.
27716 (long_int): New type.
27717 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27718 to remove assumption in the code that 'long' is wide enough to
27719 store year values. This assumption is not true on x32 and on
27720 some non-glibc platforms.
27722 mktime: merge wrapv change from gnulib
27723 * time/mktime.c (WRAPV): New macro.
27724 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27725 (guess_time_tm, __mktime_internal): Do not assume that signed
27726 integer overflow wraps around; modern compilers generate code
27727 where this assumption is no longer valid.
27729 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27731 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27732 Replace "jmp L(pseudo_end)" with "ret".
27733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27736 2012-05-23 Andreas Jaeger <aj@suse.de>
27738 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27739 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27741 2012-05-23 Andreas Jaeger <aj@suse.de>
27742 Maximilian Attems <max@stro.at>
27744 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27747 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27749 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27750 code so that pseudo_end is just ret and the stack pointer is
27751 correct also for static library in error case.
27753 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27755 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27756 move to syscalls.list.
27757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27762 * manual/install.texi (Running make install): Do not mention Linux
27763 kernel version for which pt_chown is not needed.
27764 (Linux): Do not mention problems with nscd with 2.0 kernels.
27765 * INSTALL: Regenerated.
27767 2012-05-23 Andreas Jaeger <aj@suse.de>
27769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27770 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27772 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27773 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27774 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27775 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27776 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27777 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27778 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27779 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27780 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27781 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27782 * sysdeps/unix/sysv/linux/bits/in.h
27783 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27785 2012-05-22 Roland McGrath <roland@hack.frob.com>
27787 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27788 (PREPARE_VERSION): Just use assert instead, it will be elided
27789 under [NDEBUG] anyway.
27791 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27793 * sysdeps/unix/sysv/linux/Makefile: Include
27794 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27795 (sysdep_routines): Remove sysctl.
27796 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27797 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27798 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27799 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27800 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27802 2012-05-22 Andreas Jaeger <aj@suse.de>
27804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27805 that pseudo_end is just ret and the stack pointer is correct also
27806 for static library in error case.
27808 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27811 * nss/nsswitch.c (defconfig_entries): New variable.
27812 (__nss_database_lookup): Don't leak defconfig entries.
27813 (nss_parse_service_list): Don't leak on error paths.
27814 (free_database_entries): New function.
27815 (free_defconfig): New function.
27816 (free_mem): Move common code to free_database_entries.
27818 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27820 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27822 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27824 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27825 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27828 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27829 (INTERNAL_SYSCALL_TYPES): Likewise.
27830 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27831 (LOAD_REGS_TYPES_[1-6]): Likewise.
27832 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27833 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27835 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27837 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27838 copysignl for GLIBC_2_0.
27839 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27840 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27842 logbl for GLIBC_2_0.
27843 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27844 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27846 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27849 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27851 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27854 * time/mktime.c: Update copyright years.
27856 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27858 mktime: merge comment-quoting-style change from gnulib
27859 * time/mktime.c: Quote 'like this' in comments.
27860 The GNU coding standards suggest that we no longer quote `like this',
27861 as "`" and "'" are typically rendered asymmetrically nowadays.
27862 The typical gnulib style is to quote 'like this' when quoting
27863 code, and "like this" when quoting English.
27865 * time/mktime.c (compile-command): Add "-I.".
27867 mktime: merge mktime-internal.h change from gnulib
27868 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27870 mktime: merge time_r change from gnulib
27871 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27873 mktime: merge DEBUG change from gnulib
27874 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27875 case system <time.h> has a #define.
27877 mktime: merge <sys/types.h> change from gnulib
27878 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27879 since <time.t> is now guaranteed to define time_t.
27881 mktime: merge HAVE_CONFIG_H change from gnulib
27882 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27884 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27889 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27891 (struct rusage): Use anonymous union to pad each field to
27894 2012-05-21 David S. Miller <davem@davemloft.net>
27896 * Makefules (o-iterator): Remove .s cases.
27897 (compile-command.s): Delete.
27898 (COMPILE.s): Delete.
27899 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27901 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27903 * configure.in (libc_cv_predef_stack_protector): Only consider
27904 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27905 * configure: Regenerated.
27907 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27910 New macro. Use R*LP on int and pointer.
27911 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27912 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27913 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27914 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27916 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27917 [__WORDSIZE_TIME64_COMPAT32] instead of
27918 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27919 (struct utmp): Likewise.
27920 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27921 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27923 (__WORDSIZE_TIME64_COMPAT32): This.
27924 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27925 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27926 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27927 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27928 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27929 (__WORDSIZE_TIME64_COMPAT32): New macro.
27931 2012-05-21 Andreas Jaeger <aj@suse.de>
27933 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27934 only if [SHARED]. Add prototype for __wcschr_ia32.
27936 2012-05-21 Roland McGrath <roland@hack.frob.com>
27938 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27939 of %rbp unmolested in the jmp_buf while mangling the low bits.
27940 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27941 unmolested high bits of %rbp while demangling the low bits.
27942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27944 2012-05-21 Andreas Jaeger <aj@suse.de>
27946 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27947 * sunrpc/svc_simple.c: Use it for registerrpc.
27948 * sunrpc/xcrypt.c: Use it for passwd2des.
27950 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27952 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27954 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27955 Don't define if [__SYSCALL_WORDSIZE != 32].
27956 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27959 2012-05-21 Bruno Haible <bruno@clisp.org>
27960 Andreas Jaeger <aj@suse.de>
27962 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27963 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27964 inptr and inend for must_buffer_ch.
27965 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27966 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27967 * stdio-common/Makefile (tests): Remove bug15.
27968 (bug15-ENV): Remove macro.
27969 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27972 2012-05-19 Andreas Jaeger <aj@suse.de>
27973 Roland McGrath <roland@hack.frob.com>
27975 * manual/contrib.texi: Completely rewritten. It contains now an
27976 alphabetical list of contributors and their contributions.
27978 2012-05-21 Richard Henderson <rth@twiddle.net>
27980 * misc/getauxval.c (__getauxval): Use unsigned long int.
27981 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27982 (getauxval): Use unsigned long int.
27984 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27986 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27988 2012-05-21 Roland McGrath <roland@hack.frob.com>
27990 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27991 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27992 __alignof__ (long double).
27994 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27998 2012-05-20 Richard Henderson <rth@twiddle.net>
28000 * misc/getauxval.c: New file.
28001 * misc/sys/auxv.h: New file.
28002 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28003 (routines): Add getauxval.
28004 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28006 * elf/dl-sysdep.c (_dl_auxv): Remove.
28007 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28008 * elf/dl-support.c (_dl_auxv): New variable.
28009 (_dl_aux_init): Initialize it.
28010 * manual/startup.texi (Auxiliary Vector): New node.
28011 * sysdeps/generic/bits/hwcap.h: New file.
28012 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28013 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28014 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28015 * sysdeps/sparc/sysdep.h: ... here. Include it.
28016 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28029 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28033 2012-05-19 David S. Miller <davem@davemloft.net>
28035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28037 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28040 * math/s_ccosh.c: Include <float.h>
28041 (__ccosh): Avoid internal overflow calculating sinh and cosh
28042 values before multiplying by sin and cos values.
28043 * math/s_ccoshf.c: Likewise.
28044 * math/s_ccoshl.c: Likewise.
28045 * math/s_csin.c: Likewise.
28046 * math/s_csinf.c: Likewise.
28047 * math/s_csinl.c: Likewise.
28048 * math/s_csinh.c: Likewise.
28049 * math/s_csinhf.c: Likewise.
28050 * math/s_csinhl.c: Likewise.
28051 * math/libm-test.inc (ccos_test): Add more tests.
28052 (ccosh_test): Likewise.
28053 (csin_test): Likewise.
28054 (csinh_test): Likewise.
28055 * sysdeps/i386/fpu/libm-test-ulps: Update.
28056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28058 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28060 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28061 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28063 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28065 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28067 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28068 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28069 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28070 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28071 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28072 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28073 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28074 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28075 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28076 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28077 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28078 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28079 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28080 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28081 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28082 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28083 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28084 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28085 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28086 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28087 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28088 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28089 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28090 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28091 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28092 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28093 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28094 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28095 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28096 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28097 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28099 2012-05-18 Andreas Jaeger <aj@suse.de>
28101 * csu/.gitignore: Delete.
28103 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28105 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28106 (timex): Use __syscall_slong_t.
28108 2012-05-18 Andreas Jaeger <aj@suse.de>
28109 Carlos O'Donell <carlos_odonell@mentor.com>
28111 * manual/install.texi (Configuring and compiling): Update
28112 description about files modified in the source directory.
28113 * INSTALL: Regenerated.
28115 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28117 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28118 value. Use "or" to set return value to -1.
28119 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28120 negate return value.
28122 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28124 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28125 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28126 failure if the compiler has Graphite support disabled.
28127 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28129 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28130 CFLAGS-memmove.c): Likewise.
28131 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28134 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28136 * sysdeps/x86_64/x32/_itoa.h: New file.
28138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28139 getdents system call only if kernel and user dirents have the
28140 same d_ino and d_off.
28142 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28143 LLONG_MAX != LONG_MAX.
28144 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28145 (_fitoa_word): Likewise.
28147 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28150 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28151 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28153 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28154 include <bits/wordsize.h>. Check __x86_64__ instead of
28156 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28157 if __x86_64__ is defined. Use anonymous union on fpstate.
28159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28162 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28164 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28165 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28166 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28167 Refer to _rtld_local_ro instead of _rtld_global_ro.
28168 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28170 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28172 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28174 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28175 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28176 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28178 * sysdeps/powerpc/powerpc32/dl-machine.c
28179 (__elf_machine_runtime_setup) [PROF]: Don't reference
28182 2012-05-18 Andreas Jaeger <aj@suse.de>
28184 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28185 function only available for GCCs before 3.4 since GCC 3.4
28186 introduced a builtin.
28188 (llrintf): Likewise.
28189 (llrint): Likewise.
28196 (nearbyint): Likewise.
28197 (nearbyintf): Likewise.
28201 (floorf): Likewise.
28203 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28206 on both fields and cast pointer to __syscall_ulong_t.
28208 * bits/types.h (__fsword_t): New type.
28209 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28210 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28212 (__FSWORD_T_TYPE): Likewise.
28213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28214 (__FSWORD_T_TYPE): Likewise.
28215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28216 (__FSWORD_T_TYPE): Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28218 (__FSWORD_T_TYPE): Likewise.
28219 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28220 __SWORD_TYPE with __fsword_t.
28221 (statfs64): Likewise.
28223 2012-05-17 David S. Miller <davem@davemloft.net>
28225 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28227 2012-05-17 Andreas Jaeger <aj@suse.de>
28229 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28232 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28234 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28236 2012-05-17 Andreas Jaeger <aj@suse.de>
28238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28241 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28243 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28245 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28247 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28248 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28250 2012-05-17 Andreas Jaeger <aj@suse.de>
28251 Carlos O'Donell <carlos_odonell@mentor.com>
28254 * sysdeps/x86_64/multiarch/init-arch.h
28255 (bit_YMM_Usable): Rename to...
28256 (bit_AVX_Usable): ... this.
28257 (bit_FMA4_Usable): New macro.
28258 (bit_XMM_state): New macro.
28259 (bit_YMM_state): New macro.
28260 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28261 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28262 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28263 (CPUID_OSXSAVE): New macro.
28264 (CPUID_AVX): New macro.
28265 (CPUID_FMA4): New macro.
28266 (index_YMM_Usable): Rename to...
28267 (index_AVX_Usable): ... this.
28268 (HAS_AVX): Use HAS_ARCH_FEATURE.
28269 (HAS_FMA4): Likewise.
28270 (HAS_YMM_USABLE): Remove.
28271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28272 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28274 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28275 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28276 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28277 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28278 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28280 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28282 * math/libm-test.c: Support platforms without multiple rounding modes.
28283 * math/bug-nextafter.c: Support platforms without FP exceptions.
28284 * math/bug-nexttoward.c: Likewise.
28285 * math/test-fenv.c: Likewise.
28286 * math/test-misc.c: Likewise.
28287 * stdlib/bug-getcontext.c: Likewise.
28289 2012-05-17 Andreas Jaeger <aj@suse.de>
28291 * manual/examples/search.c (critter_cmp): Change signature to
28293 * manual/string.texi (Collation Functions): Likewise.
28295 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28297 * bits/types.h: Fold copyright years.
28298 * bits/typesizes.h: Likewise.
28299 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28303 * time/time.h: Likewise.
28305 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28308 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28309 in instead of returning them. Return void.
28310 (__libc_mallinfo): Accumulate over all arenas.
28311 (__malloc_stats): Adjust for change in int_mallinfo interface.
28313 2012-05-16 Roland McGrath <roland@hack.frob.com>
28316 * configure.in (NM): Add AC_CHECK_TOOL for it.
28317 (libc_extra_cflags): New substituted variable.
28318 Check for -fstack-protector being used implicitly.
28319 * configure: Regenerated.
28320 * config.make.in (config-extra-cflags): New variable,
28321 gets @libc_extra_cflags@.
28322 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28325 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28326 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28327 * configure: Regenerated.
28328 * config.make.in (CPPUNDEFS): New substituted variable.
28329 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28330 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28331 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28335 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28336 (mq_attr): Use __syscall_slong_t.
28338 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28340 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28341 Check __x86_64__ instead of __WORDSIZE.
28342 (_STAT_VER_LINUX): Likewise.
28343 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28344 __syscall_ulong_t and __syscall_slong_t.
28345 (stat64): Likewise.
28347 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28349 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28351 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28353 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28357 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28361 include <bits/wordsize.h>. Check __x86_64__ instead of
28363 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28365 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28368 include <bits/wordsize.h>. Check __x86_64__ instead of
28370 (user_regs_struct): Use "__extension__ unsigned long long"
28371 instead of "unsigned long" if __x86_64__ is defined.
28372 (user): Likewise. Pad after pointer field if __ILP32__ is
28375 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28377 * configure.in (makeinfo): Require version 4.5 or later. Allow
28379 * configure: Regenerated.
28380 * manual/install.texi (texinfo): Increase version requirement to
28382 * INSTALL: Regenerated.
28384 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28386 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28388 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28390 * sysdeps/x86_64/x32/ffs.c: New file.
28392 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28394 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28395 defined. Use __syscall_ulong_t.
28396 (shminfo): Use __syscall_ulong_t.
28397 (shm_info): Likewise.
28399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28402 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28404 (msgqnum_t): Use __syscall_ulong_t.
28405 (msglen_t): Likewise.
28406 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28409 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28412 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28414 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28415 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28417 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28420 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28421 include <bits/wordsize.h>. Check __x86_64__ instead of
28424 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28425 "unsigned long long int" if __x86_64__ is defined.
28426 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28430 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28432 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28434 (GET_PC): Cast to uintptr_t first.
28435 (GET_FRAME): Likewise.
28436 (GET_STACK): Likewise.
28438 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28439 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28444 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28445 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28446 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28448 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28450 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28451 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28452 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28453 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28454 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28455 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28456 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28457 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28459 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28460 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28461 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28462 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28463 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28464 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28468 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28470 * Makerules (+depfiles): Also collect depfiles from .oS in
28472 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28473 .oS, $(libnldbl-routines)).
28475 * Makerules (native-compile-mkdep-flags): Define.
28476 * sunrpc/Makefile (extra-objs): Add $(addprefix
28477 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28478 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28479 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28480 calling $(make-target-directory).
28482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28484 * bits/types.h (__snseconds_t): Removed.
28485 * time/time.h (struct timespec): Replace __snseconds_t with
28487 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28488 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28491 (__SNSECONDS_T_TYPE): Likewise.
28492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28493 (__SNSECONDS_T_TYPE): Likewise.
28494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28495 (__SNSECONDS_T_TYPE): Likewise.
28497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28499 * sysdeps/mach/hurd/bits/typesizes.h
28500 (__SYSCALL_SLONG_TYPE): New macro.
28501 (__SYSCALL_ULONG_TYPE): Likewise.
28503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28505 * bits/types.h (__syscall_slong_t): New type.
28506 (__syscall_ulong_t): Likewise.
28508 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28509 (__SYSCALL_ULONG_TYPE): Likewise.
28510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28511 (__SYSCALL_SLONG_TYPE): Likewise.
28512 (__SYSCALL_ULONG_TYPE): Likewise.
28513 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28514 (__SYSCALL_SLONG_TYPE): Likewise.
28515 (__SYSCALL_ULONG_TYPE): Likewise.
28516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28517 (__SYSCALL_SLONG_TYPE): Likewise.
28518 (__SYSCALL_ULONG_TYPE): Likewise.
28520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28522 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28523 Add sigaltstack-offsets.sym.
28524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28525 <sigaltstack-offsets.h>.
28526 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28527 longjmp_msg pointer.
28528 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28529 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28531 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28533 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28535 * elf/stackguard-macros.h: Remove file.
28536 * sysdeps/generic/stackguard-macros.h: New file.
28537 * sysdeps/i386/stackguard-macros.h: Likewise.
28538 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28539 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28540 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28541 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28542 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28543 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28544 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28545 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28546 <elf/stackguard-macros.h>.
28549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28550 __aligned__ in attribute.
28551 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28552 (gregset_t): Likewise.
28554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28556 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28557 * sysdeps/x86_64/64/Implies-after: Here. New file.
28558 * sysdeps/x86_64/x32/Implies-after: New file.
28560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28562 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28563 and access return value for _dl_profile_fixup. Use R10_LP to
28566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28568 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28572 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28573 * sysdeps/x86_64/x32/sysdep.h: New file.
28575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28577 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28578 * sysdeps/x86_64/setjmp.S: Likewise.
28580 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28582 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28583 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28584 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28586 remove unused global constant.
28588 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28590 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28591 include of <not-cancel.h>.
28593 2012-05-15 Roland McGrath <roland@hack.frob.com>
28595 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28597 2012-05-15 Jeff Law <law@redhat.com>
28598 Andreas Jaeger <aj@suse.de>
28601 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28603 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28604 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28606 code changing __hst_map_handle.map.
28608 2012-05-15 Roland McGrath <roland@hack.frob.com>
28610 * configure.in (sysnames): Look for Implies-before and Implies-after
28612 * configure: Regenerated.
28614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28616 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28617 8-byte data alignment with LP_SIZE alignment.
28619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28621 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28626 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28630 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28631 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28632 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28634 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28638 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28639 (stackinfo_sub_sp): Likewise.
28641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28653 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28658 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28662 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28663 into R11_LP and load __x86_64_shared_cache_size_half into
28666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28668 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28671 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28677 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28680 powerpc32/power7/fpu/s_logb.c via #include.
28681 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28682 powerpc32/power7/fpu/s_logbf.c via #include.
28683 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28684 powerpc32/power7/fpu/s_logbl.c via #include.
28686 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28688 * README.libm: Remove file.
28690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28692 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28693 count for x32. Use R*_LP and omit operand-size suffix.
28695 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28697 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28698 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28699 * sysdeps/x86_64/x32/shlib-versions: New file.
28701 2012-05-14 Roland McGrath <roland@hack.frob.com>
28703 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28704 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28705 Use _dl_fatal_printf instead.
28707 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28709 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28710 set if not set by the user. Do not allow for being unset.
28711 * sysdeps/unix/sysv/linux/configure: Regenerated.
28713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28715 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28716 the `q' suffix from lea and replace .quad with ASM_ADDR.
28718 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28721 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28723 (PTR_DEMANGLE): Likewise.
28725 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28727 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28729 (ASM_ADDR): Likewise.
28730 (RAX_LP): Likewise.
28731 (RBP_LP): Likewise.
28732 (RBX_LP): Likewise.
28733 (RCX_LP): Likewise.
28734 (RDI_LP): Likewise.
28735 (RSI_LP): Likewise.
28736 (RSP_LP): Likewise.
28739 (R10_LP): Likewise.
28740 (R10_LP): Likewise.
28741 (R11_LP): Likewise.
28742 (R12_LP): Likewise.
28743 (R13_LP): Likewise.
28744 (R14_LP): Likewise.
28745 (R15_LP): Likewise.
28747 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28749 * sysdeps/x86_64/x32/dl-machine.h: New file.
28751 2012-05-14 Andreas Jaeger <aj@suse.de>
28753 * manual/Makefile (subdir): Remove export of subdir.
28754 (all): Remove target.
28755 (.PHONY): Remove all from list.
28756 (mkinstalldirs): Remove.
28757 (.PHONY): Remove installdirs from list.
28758 ($(inst_infodir)/libc.info): Use make-target-directory.
28759 (installdirs): Remove.
28760 (subdir_%): Remove.
28761 (glibc-targets): Remove.
28764 ($(objpfx)stubs ../po/manual.pot): Remove.
28765 ($(objpfx)stamp%): Remove.
28766 (make-target-directory): Remove.
28767 (subdir_install): Remove.
28768 (routines): Remove.
28775 * manual/.gitignore: Remove, it's not needed anymore.
28776 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28778 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28780 (texis): Renamed to $(objpfx)texis.
28781 (texis-path): New, contains path to generated files.
28782 (chapters.%): Use texis-path for complete path, add extra argument
28784 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28785 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28786 (summary,texi, stamp-summary): Use complete path of
28787 files. Generate files in build dir.
28788 (dir-add.texi): Build in build dir.
28789 (libm-err.texi,stamp-libm-err): Likewise.
28790 (version.texi, stamp-version): Likewise.
28791 (.%c.texi): Likewise.
28792 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28793 (mostlyclean): Remove target.
28794 (realclean): Remove target.
28795 (generated): Add new variable with contents from mostlyclean and
28796 realclean, remove entries duplicated in common-mostlyclean, add
28797 stamp-libm-err and stamp-version.
28798 (generated-dirs): Add libc directory.
28799 ($(inst_infodir)/libc.info): Install files from build dir.
28801 * manual/install.texi (Configuring and compiling): Adjust since
28802 the info files are not part of the tar ball anymore.
28804 2012-05-14 Andreas Jaeger <aj@suse.de>
28806 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28809 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28813 to 2.2.0 where earlier.
28814 * sysdeps/unix/sysv/linux/configure: Regenerated.
28815 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28816 Remove conditional code.
28817 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28818 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28819 Remove conditional code.
28820 [!__NR_lchown]: Likewise.
28821 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28822 [__NR_lchown]: Likewise.
28823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28824 comment referencing __ASSUME_LCHOWN_SYSCALL.
28825 * sysdeps/unix/sysv/linux/i386/sigaction.c
28826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28828 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28829 Remove conditional code.
28830 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28831 (__protocol_available): Remove #if 0 code.
28832 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28834 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28835 * sysdeps/unix/sysv/linux/kernel-features.h
28836 (__ASSUME_GETCWD_SYSCALL): Don't define.
28837 (__ASSUME_REALTIME_SIGNALS): Likewise.
28838 (__ASSUME_PREAD_SYSCALL): Likewise.
28839 (__ASSUME_PWRITE_SYSCALL): Likewise.
28840 (__ASSUME_POLL_SYSCALL): Likewise.
28841 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28842 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28844 (__ASSUME_SIOCGIFNAME): Don't define.
28845 (__ASSUME_MSG_NOSIGNAL): Likewise.
28846 (__ASSUME_SENDFILE): Define unconditionally.
28847 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28848 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28850 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28851 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28852 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28853 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28854 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28855 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28856 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28858 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28873 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28881 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28882 Remove conditional code.
28883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28884 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28885 Remove conditional code.
28886 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28887 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28888 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28889 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28890 Remove conditional code.
28891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28892 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28893 Remove conditional code.
28894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28895 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28896 Remove conditional code.
28897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28898 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28899 Remove conditional code.
28900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28901 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28902 Remove conditional code.
28903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28904 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28905 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28907 * sysdeps/unix/sysv/linux/sigaction.c
28908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28910 * sysdeps/unix/sysv/linux/sigpending.c
28911 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28912 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28913 * sysdeps/unix/sysv/linux/sigprocmask.c
28914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28916 * sysdeps/unix/sysv/linux/sigsuspend.c
28917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28919 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28920 (__libc_missing_rt_sigs): Remove.
28921 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28922 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28923 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28924 Remove conditional code.
28925 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28926 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28928 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28929 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28930 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28931 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28933 2012-05-14 Andreas Jaeger <aj@suse.de>
28935 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28936 it's not used in glibc.
28937 (__coshm1): Likewise.
28938 (__acosh1p): Likewise.
28941 * manual/string.texi (Copying and Concatenation): Add missing
28942 variable in concat example.
28943 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28945 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28949 __builtin_clzl with __builtin_clzll.
28951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28957 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28959 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28960 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28961 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28962 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28964 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28966 * NEWS: Update ia64 info.
28968 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28970 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28973 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28975 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28976 * sysdeps/unix/syscalls.list (dup3): Likewise.
28977 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28978 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28980 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28982 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28983 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28985 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28987 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28989 (TLS_IE): Use mov/add instead of movq/addq to load thread
28991 (TLS_GD_PREFIX): New.
28994 2012-05-11 David S. Miller <davem@davemloft.net>
28996 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28997 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28998 (_FPU_SETCW): Likewise.
29000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29002 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29003 is 32-byte aligned.
29005 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29008 * iconvdata/gb18030.c: Update tables.
29009 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29010 characters specially.
29011 (BODY for TO_LOOP): Add encoding of missing ranges.
29013 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29016 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29017 * sysdeps/mach/hurd/dup3.c: Likewise.
29018 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29019 * sysdeps/powerpc/memmove.c:: Likewise.
29021 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29024 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29026 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29028 * elf/elf.h (R_X86_64_RELATIVE64): New.
29029 (R_X86_64_NUM): Updated.
29030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29031 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29032 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29033 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29034 tst-quad1pie tst-quad2pie
29035 (modules-names): Add tst-quadmod1 tst-quadmod2.
29036 ($(objpfx)tst-quad1): New dependency.
29037 ($(objpfx)tst-quad2): Likewise.
29038 ($(objpfx)tst-quad1pie): Likewise.
29039 ($(objpfx)tst-quad2pie): Likewise.
29040 * sysdeps/x86_64/tst-quad1.c: New file.
29041 * sysdeps/x86_64/tst-quad1pie.c: New file.
29042 * sysdeps/x86_64/tst-quad2.c: Likewise.
29043 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29044 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29045 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29046 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29047 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29051 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29052 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29053 * streams/stropts.h (t_scalar_t): Define type.
29055 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29056 (_PATH_PRESERVE): Set to "/var/lib".
29057 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29059 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29062 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29063 if __dir_mkfile succeeded.
29065 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29066 checking for _hurd_dtablesize. Unlock it right after having
29067 finished _hurd_dtable allocation.
29069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29071 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29072 * sysdeps/mach/hurd/configure: Regenerated.
29073 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29074 special-casing to...
29075 * sysdeps/gnu/configure.in: ... this new file.
29076 * sysdeps/unix/sysv/linux/configure: Regenerated.
29077 * sysdeps/gnu/configure: New generated file.
29079 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29080 for Linux: use nsec instead of usec, as well as:
29081 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29082 members of type struct timespec.
29083 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29085 (struct stat64): Likewise.
29086 (_STATBUF_ST_NSEC): New macro.
29087 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29089 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29090 __strtoul_internal rather than strtoul.
29092 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29094 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29099 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29100 which preserves existing values.
29101 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29103 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29105 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29106 TIMEOUT values. Return EINVAL for NFDS values either negative or
29107 greater than FD_SETSIZE.
29109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29111 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29112 allocated, call __vm_protect to finish enabling the existing space, and
29113 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29114 allocate the remainder.
29116 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29118 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29119 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29123 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29124 sysdeps/mach/hurd/readlink.c.
29126 * posix/tst-sysconf.c (posix_options): Only use
29127 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29128 _POSIX_SYNCHRONIZED_IO when they are defined
29129 * sysdeps/mach/hurd/bits/posix_opt.h:
29130 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29131 (_XOPEN_REALTIME): Undefine macro.
29132 (_XOPEN_REALTIME_THREADS): Undefine macro.
29133 (_XOPEN_SHM): Undefine macro.
29134 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29136 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29138 (_POSIX_ASYNC_IO): Undefine macro.
29139 (_POSIX_PRIORITIZED_IO): Undefine macro.
29140 (_POSIX_SPIN_LOCKS): Define macro to -1.
29142 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29143 SA_NODEFER, SA_RESETHAND.
29144 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29145 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29150 * elf/Makefile (pldd-modules): Define unconditionally.
29152 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29154 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29158 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29159 Return ENOENT when name is empty.
29160 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29162 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29164 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29166 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29170 Fix mlock in all cases except non-readable pages.
29171 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29172 instead of VM_PROT_ALL as parameter to __vm_wire function.
29174 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29175 (__mkdir): When path is `/', just fail with EEXIST.
29176 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29180 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29181 <sys/uio.h> (for writev).
29182 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29183 and <sys/param.h> (for MIN).
29185 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29187 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29188 REQUESTED_TIME. Properly set the remaining time and return EINTR
29191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29193 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29194 Depend on against $(link-rpcuserlibs).
29196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29198 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29199 (__libc_stack_end): Do not use attribute_relro.
29200 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29201 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29202 to libthread-provided value.
29203 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29209 * bits/libc-lock.h (__libc_once_get): New macro.
29210 * sysdeps/mach/bits/libc-lock.h: Likewise.
29211 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29213 instead of using implementation details.
29215 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29216 * libio/freopen.c: Likewise.
29217 * libio/freopen64.c: Likewise.
29218 * misc/syslog.c: Likewise.
29219 * nscd/connections.c: Likewise.
29220 * nscd/netgroupcache.c: Likewise.
29221 * sysdeps/posix/getcwd.c: Likewise.
29223 2012-05-10 Roland McGrath <roland@hack.frob.com>
29225 * math/w_ilogbf.c: Add #include <limits.h>.
29227 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29229 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29230 path instead of returning without unlocking.
29232 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29233 immediate-write ioctls.
29234 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29238 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29239 __builtin_frame_address instead of making assumptions about the
29240 location of the return address relative to DATA. Force early load of
29241 the return address.
29242 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29243 __builtin_frame_address.
29246 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29247 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29248 implement dup3 and do some further code clean-ups.
29249 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29250 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29254 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29256 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29257 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29258 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29259 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29260 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29263 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29264 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29265 when handler == SIG_ERR, not when handler != SIG_ERR.
29267 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29269 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29270 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29273 accept4 for GNU Hurd.
29274 * include/sys/socket.h (__libc_accept4): New prototype.
29275 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29276 to implement __libc_accept4.
29277 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29279 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29281 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29282 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29283 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29284 signal-defines.sym.
29286 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29288 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29292 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29293 assertion on O_CLOEXEC flag.
29294 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29295 * hurd/intern-fd.c: Likewise.
29296 * hurd/port2fd.c: Likewise.
29298 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29301 * bits/in.h (IPV6_PKTINFO): Define new macro.
29302 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29304 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29309 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29311 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29312 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29315 * math/libm-test.inc (logb_test) : Additional logb tests.
29317 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29318 Andreas Jaeger <aj@suse.de>
29320 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29321 * configure: Regenerated.
29322 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29323 * config.make.in (link-obsolete-rpc): New substituted variable.
29324 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29325 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29326 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29327 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29328 so that libc.a contains the symbols.
29329 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29330 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29331 * sunrpc/auth_none.c: Likewise.
29332 * sunrpc/auth_unix.c: Likewise.
29333 * sunrpc/authdes_prot.c: Likewise.
29334 * sunrpc/authuxprot.c: Likewise.
29335 * sunrpc/clnt_gen.c: Likewise.
29336 * sunrpc/clnt_perr.c: Likewise.
29337 * sunrpc/clnt_raw.c: Likewise.
29338 * sunrpc/clnt_simp.c: Likewise.
29339 * sunrpc/clnt_tcp.c: Likewise.
29340 * sunrpc/clnt_udp.c: Likewise.
29341 * sunrpc/clnt_unix.c: Likewise.
29342 * sunrpc/des_crypt.c: Likewise.
29343 * sunrpc/des_soft.c: Likewise.
29344 * sunrpc/get_myaddr.c: Likewise.
29345 * sunrpc/key_call.c: Likewise.
29346 * sunrpc/key_prot.c: Likewise.
29347 * sunrpc/netname.c: Likewise.
29348 * sunrpc/pm_getmaps.c: Likewise.
29349 * sunrpc/pm_getport.c: Likewise.
29350 * sunrpc/pmap_clnt.c: Likewise.
29351 * sunrpc/pmap_prot.c: Likewise.
29352 * sunrpc/pmap_prot2.c: Likewise.
29353 * sunrpc/pmap_rmt.c: Likewise.
29354 * sunrpc/publickey.c: Likewise.
29355 * sunrpc/rpc_cmsg.c: Likewise.
29356 * sunrpc/rpc_common.c: Likewise.
29357 * sunrpc/rpc_dtable.c: Likewise.
29358 * sunrpc/rpc_prot.c: Likewise.
29359 * sunrpc/rpc_thread.c: Likewise.
29360 * sunrpc/rtime.c: Likewise.
29361 * sunrpc/svc.c: Likewise.
29362 * sunrpc/svc_auth.c: Likewise.
29363 * sunrpc/svc_raw.c: Likewise.
29364 * sunrpc/svc_run.c: Likewise.
29365 * sunrpc/svc_tcp.c: Likewise.
29366 * sunrpc/svc_udp.c: Likewise.
29367 * sunrpc/svc_unix.c: Likewise.
29368 * sunrpc/svcauth_des.c: Likewise.
29369 * sunrpc/xcrypt.c: Likewise.
29370 * sunrpc/xdr.c: Likewise.
29371 * sunrpc/xdr_array.c: Likewise.
29372 * sunrpc/xdr_float.c: Likewise.
29373 * sunrpc/xdr_intXX_t.c: Likewise.
29374 * sunrpc/xdr_mem.c: Likewise.
29375 * sunrpc/xdr_rec.c: Likewise.
29376 * sunrpc/xdr_ref.c: Likewise.
29377 * sunrpc/xdr_sizeof.c: Likewise.
29378 * sunrpc/xdr_stdio.c: Likewise.
29380 2012-05-10 Roland McGrath <roland@hack.frob.com>
29382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29383 change. Update copyright years.
29385 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29387 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29389 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29390 Joseph Myers <joseph@codesourcery.com>
29391 Paul Pluzhnikov <ppluzhnikov@google.com>
29394 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29396 [cross-compiling] (extra-libs): Likewise.
29397 [cross-compiling] (extra-libs-others): Likewise.
29398 [cross-compiling] (librpcsvc-routines): Likewise.
29399 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29400 [cross-compiling] (omit-deps): Likewise.
29401 (sunrpc-CPPFLAGS): New variable.
29402 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29403 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29404 (cross-rpcgen-objs): New variable.
29405 (extra-objs): Append $(cross-rpcgen-objs).
29406 ($(cross-rpcgen-objs)): New rule.
29407 ($(objpfx)cross-rpcgen): Likewise.
29408 (rpcgen-cmd): Define to use $(built-program-file). Expand
29410 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29411 ($(objpfx)x%.stmp): Likewise.
29412 * sunrpc/proto.h [IS_IN_build] (_): Define.
29413 [IS_IN_build] (_libc_intl_domainname): Likewise.
29415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29418 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29419 and R_X86_64_TPOFF64.
29421 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29423 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29424 sysdeps/unix/sysv/syscalls.list.
29427 * sysdeps/unix/sysv/syscalls.list: Remove file.
29429 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29432 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29433 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29434 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29435 (__LC_IDENTIFICATION): Make these macros useful in #if
29436 expressions, as required by C99.
29438 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29440 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29441 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29444 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29446 * stdlib/longlong.h: Updated from GCC.
29448 2012-05-09 Andreas Jaeger <aj@suse.de>
29450 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29451 default is first entry.
29452 (run_mode): Set type.
29453 (main): Remove informal message about syslog.
29454 (options): Fix typo.
29457 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29460 (llrintf): Likewise.
29461 (llrint): Likewise.
29464 (nearbyint): Likewise.
29465 (nearbyintf): Likewise.
29467 2012-05-09 Andreas Jaeger <aj@suse.de>
29468 Pedro Alves <palves@redhat.com>
29470 * nscd/nscd.c (run_mode): Use enum.
29471 (main): Cleanup coding style issue.
29473 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29474 Andreas Jaeger <aj@suse.de>
29476 * nscd/nscd.c (go_background): Replaced with...
29477 (run_mode): ... this.
29478 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29479 (options): Add -F --foreground.
29480 (main): Implement it.
29481 (parse_opt): Parse it.
29483 2012-05-09 Andreas Jaeger <aj@suse.de>
29486 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29487 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29488 -Wconversion warning.
29489 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29492 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29494 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29496 (LC_ALL): Use macro-int-constant.
29497 (LC_COLLATE): Likewise.
29498 (LC_CTYPE): Likewise.
29499 (LC_MESSAGES): Likewise.
29500 (LC_MONETARY): Likewise.
29501 (LC_NUMERIC): Likewise.
29502 (LC_TIME): Likewise.
29503 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29504 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29505 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29506 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29508 [C99-based standards] (float_t): Expect type.
29509 [C99-based standards] (double_t): Expect type.
29510 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29512 [C99-based standards] (HUGE_VALL): Likewise.
29513 [C99-based standards] (INFINITY): Likewise.
29514 [C99-based standards] (NAN): Likewise.
29515 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29516 [C99-based standards] (FP_NAN): Likewise.
29517 [C99-based standards] (FP_NORMAL): Likewise.
29518 [C99-based standards] (FP_SUBNORMAL): Likewise.
29519 [C99-based standards] (FP_ZERO): Likewise.
29520 [C99-based standards] (FP_FAST_FMA): Use
29521 optional-macro-int-constant. Specify type. Require == 1.
29522 [C99-based standards] (FP_FAST_FMAF): Likewise.
29523 [C99-based standards] (FP_FAST_FMAL): Likewise.
29524 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29525 [C99-based standards] (FP_ILOGBNAN): Likewise.
29526 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29528 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29529 [C99-based standards] (math_errhandling): Specify type.
29530 [ISO99 || ISO11] (signgam): Do not allow.
29531 [non-C99-based standards] (copysignf): Do not allow.
29532 [non-C99-based standards] (exp2f): Likewise.
29533 [non-C99-based standards] (log2f): Likewise.
29534 [non-C99-based standards] (modff): Allow.
29535 [non-C99-based standards] (erff): Do not allow.
29536 [non-C99-based standards] (erfcf): Likewise.
29537 [non-C99-based standards] (gammaf): Likewise.
29538 [non-C99-based standards] (hypotf): Likewise.
29539 [non-C99-based standards] (j0f): Likewise.
29540 [non-C99-based standards] (j1f): Likewise.
29541 [non-C99-based standards] (jnf): Likewise.
29542 [non-C99-based standards] (lgammaf): Likewise.
29543 [non-C99-based standards] (tgammaf): Likewise.
29544 [non-C99-based standards] (y0f): Likewise.
29545 [non-C99-based standards] (y1f): Likewise.
29546 [non-C99-based standards] (ynf): Likewise.
29547 [non-C99-based standards] (isnanf): Likewise.
29548 [non-C99-based standards] (acoshf): Likewise.
29549 [non-C99-based standards] (asinhf): Likewise.
29550 [non-C99-based standards] (atanhf): Likewise.
29551 [non-C99-based standards] (cbrtf): Likewise.
29552 [non-C99-based standards] (expm1f): Likewise.
29553 [non-C99-based standards] (ilogbf): Likewise.
29554 [non-C99-based standards] (log1pf): Likewise.
29555 [non-C99-based standards] (logbf): Likewise.
29556 [non-C99-based standards] (nextafterf): Likewise.
29557 [non-C99-based standards] (remainderf): Likewise.
29558 [non-C99-based standards] (rintf): Likewise.
29559 [non-C99-based standards] (scalbf): Likewise.
29560 [non-C99-based standards] (copysignl): Likewise.
29561 [non-C99-based standards] (exp2l): Likewise.
29562 [non-C99-based standards] (log2l): Likewise.
29563 [non-C99-based standards] (modfl): Allow.
29564 [non-C99-based standards] (erfl): Do not allow.
29565 [non-C99-based standards] (erfcl): Likewise.
29566 [non-C99-based standards] (gammal): Likewise.
29567 [non-C99-based standards] (hypotl): Likewise.
29568 [non-C99-based standards] (j0l): Likewise.
29569 [non-C99-based standards] (j1l): Likewise.
29570 [non-C99-based standards] (jnl): Likewise.
29571 [non-C99-based standards] (lgammal): Likewise.
29572 [non-C99-based standards] (tgammal): Likewise.
29573 [non-C99-based standards] (y0l): Likewise.
29574 [non-C99-based standards] (y1l): Likewise.
29575 [non-C99-based standards] (ynl): Likewise.
29576 [non-C99-based standards] (isnanl): Likewise.
29577 [non-C99-based standards] (acoshl): Likewise.
29578 [non-C99-based standards] (asinhl): Likewise.
29579 [non-C99-based standards] (atanhl): Likewise.
29580 [non-C99-based standards] (cbrtl): Likewise.
29581 [non-C99-based standards] (expm1l): Likewise.
29582 [non-C99-based standards] (ilogbl): Likewise.
29583 [non-C99-based standards] (log1pl): Likewise.
29584 [non-C99-based standards] (logbl): Likewise.
29585 [non-C99-based standards] (nextafterl): Likewise.
29586 [non-C99-based standards] (remainderl): Likewise.
29587 [non-C99-based standards] (rintl): Likewise.
29588 [non-C99-based standards] (scalbl): Likewise.
29589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29590 [non-C99-based standards] (FP_*): Do not allow.
29591 [C99-based standards] (FP_*): Change to
29592 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29593 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29595 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29596 (SIG_ERR): Likewise.
29597 [X/Open-based standards] (SIG_HOLD): Likewise.
29598 (SIG_IGN): Likewise.
29599 (SIGABRT): Use macro-int-constant. Specify type. Require
29601 (SIGFPE): Likewise.
29602 (SIGILL): Likewise.
29603 (SIGINT): Likewise.
29604 (SIGSEGV): Likewise.
29605 (SIGTER): Likewise.
29606 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29607 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29608 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29609 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29610 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29611 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29612 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29613 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29614 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29615 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29616 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29617 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29618 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29619 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29620 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29621 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29622 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29623 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29624 [X/Open-based standards] (SIGTRAP): Likewise.
29625 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29626 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29627 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29628 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29629 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29632 2012-05-08 Ian Wienand <ianw@vmware.com>
29635 * time/tzset.c (__tzset_parse_tz): Update default rules for
29636 daylight time changes in the Energy Policy Act of 2005.
29638 2012-05-09 Andreas Jaeger <aj@suse.de>
29641 * elf/ldconfig.c (parse_conf): Change string to make clear that
29642 ldconfig only issued a warning if ld.so.conf does not exist.
29644 2012-05-08 David S. Miller <davem@davemloft.net>
29646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29647 movxtod instead of popping the value on the stack.
29649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29651 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29653 * config.h.in: Add HAVE_ARM_PCS_VFP.
29655 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29658 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29659 checking but the checks are disabled for any reason.
29661 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29663 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29664 and ELF64_R_TYPE with ELFW(R_TYPE).
29666 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29668 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29669 (ulimit): Likewise.
29671 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29672 (settimeofday): Likewise.
29674 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29676 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29677 a struct th_u2 inside the union, and move tu_block/tu_code into
29678 a new th_u3 union of tu_block/tu_code inside of that. Move
29679 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29680 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29681 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29682 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29683 (th_stuff): Change to th_u1.tu_stuff.
29685 (th_msg): Change to th_u1.th_u2.tu_data.
29687 2012-05-07 David S. Miller <davem@davemloft.net>
29689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29692 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29693 (SETUP_PIC_REG): Use it.
29694 (SETUP_PIC_REG_LEAF): Use it.
29696 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29700 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29702 (EXPL_FINITE): Likewise.
29703 (FLDLOG): Likewise.
29704 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29705 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29709 (EXPL_FINITE): Likewise.
29710 (FLDLOG): Likewise.
29711 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29712 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29714 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29715 test of -max_value argument for long double.
29716 * sysdeps/i386/fpu/libm-test-ulps: Update.
29717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29719 2012-05-06 David S. Miller <davem@davemloft.net>
29721 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29722 quad soft-float symbols whose references which are compiler
29724 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29726 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29730 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29732 (EXPL_FINITE): Likewise.
29733 (FLDLOG): Likewise.
29736 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29737 Adjust comments for base varying.
29738 (__expl_finite): Change alias to EXPL_FINITE.
29739 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29741 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29742 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29743 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29744 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29747 (EXPL_FINITE): Likewise.
29748 (FLDLOG): Likewise.
29751 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29752 Adjust comments for base varying.
29753 (__expl_finite): Change alias to EXPL_FINITE.
29754 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29759 * math/libm-test.inc (check_float_internal): Correct ulp
29760 calculation for subnormal expected results.
29762 2012-05-06 Andreas Jaeger <aj@suse.de>
29764 * Makeconfig (+math-flags): New, set to -frounding-math.
29765 (+cflags): Add +math-flags so that all of glibc gets compiled with
29768 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29770 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29772 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29778 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29779 (__ieee754_expl): Allow for and saturate large arguments.
29780 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29781 (u_threshold): Likewise.
29782 (__exp): Call __ieee754_exp before checking for overflow and
29784 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29785 (u_threshold): Likewise.
29786 (__expf): Call __ieee754_expf before checking for overflow and
29788 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29789 (u_threshold): Likewise.
29790 (__expl): Call __ieee754_expl before checking for overflow and
29792 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29793 (__ieee754_expl): Allow for and saturate large arguments.
29794 * math/libm-test.inc (exp_test): Add another test. Do not allow
29795 missing overflow exception on overflow.
29796 (expm1_test): Do not allow missing overflow exception on overflow.
29798 * sysdeps/i386/fpu/e_expl.c: Move to ...
29799 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29800 rather than using inline asm.
29801 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29802 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29803 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29805 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29808 (signal): Likewise.
29812 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29814 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29815 sysdeps/unix/common/syscalls.list.
29816 (fchmod): Likewise.
29817 (fchown): Likewise.
29818 (ftruncate): Likewise.
29819 (getrusage): Likewise.
29820 (gettimeofday): Likewise.
29821 (setpgid): Likewise.
29822 (setregid): Likewise.
29823 (setreuid): Likewise.
29824 (sigaction): Likewise.
29825 (truncate): Likewise.
29826 (vhangup): Likewise.
29827 * sysdeps/unix/common/syscalls.list: Remove file.
29828 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29829 * sysdeps/unix/sysv/linux/Implies: Likewise.
29831 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29833 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29835 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29839 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29842 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29845 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29848 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29851 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29854 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29857 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29861 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29865 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29868 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29872 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29876 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29878 * sysdeps/unix/common/bits/dirent.h: Remove file.
29879 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29881 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29882 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29883 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29884 * sysdeps/unix/bsd/isatty.c: Likewise.
29885 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29886 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29887 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29889 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29893 long double comparison inaccuracies.
29894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29897 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29899 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29900 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29902 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29905 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29906 nonzero digits before rounding a hex value.
29907 * stdlib/tst-strtod.c (tests): Add another test.
29909 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29911 * sysdeps/s390/fpu/libm-test-ulps: Update.
29913 2012-05-03 Andreas Jaeger <aj@suse.de>
29915 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29916 does not get optimized out.
29917 (malloc_opt_barrier): New.
29919 2012-05-03 Andreas Jaeger <aj@suse.de>
29920 Roland McGrath <roland@hack.frob.com>
29922 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29923 intermediate file deletion.
29924 (generated): Add .symlist files.
29926 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29929 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29930 Redirect under this condition.
29931 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29932 [__USE_GNU] (__dprintf_chk): Not under this condition.
29933 [__USE_GNU] (__vdprintf_chk): Likewise.
29934 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29935 under this condition.
29936 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29937 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29938 [__USE_XOPEN2K8] (vdprintf): Likewise.
29939 [__USE_GNU] (__dprintf_chk): Not under this condition.
29940 [__USE_GNU] (__vdprintf_chk): Likewise.
29941 [__USE_GNU] (dprintf): Likewise.
29942 [__USE_GNU] (vdprintf): Likewise.
29944 2012-05-03 Roland McGrath <roland@hack.frob.com>
29946 * elf/Makefile (common-generated): Set this instead of generated for
29947 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29948 $(all-built-dso)-derived lists.
29950 2012-05-03 Andreas Jaeger <aj@suse.de>
29952 * sysdeps/i386/fpu/libm-test-ulps: Update.
29955 * FAQ.in: Likewise.
29956 * scripts/gen-FAQ.pl: Likewise.
29957 * manual/install.texi (Installation): Point to online location of
29959 * Makefile (files-for-dist): Remove FAQ.
29962 2012-05-02 Allan McRae <allan@archlinux.org>
29964 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29965 (LDFLAGS-reldepmod5.so): Likewise.
29966 (LDFLAGS-reldep6mod1.so): Likewise.
29967 (LDFLAGS-reldep6mod4.so): Likewise.
29968 (LDFLAGS-reldep8mod3.so): Likewise.
29969 (LDFLAGS-unload4mod1.so): Likewise.
29970 (LDFLAGS-unload4mod2.so): Likewise.
29971 (LDFLAGS-tst-initorder): Likewise.
29972 (LDFLAGS-tst-initordera2.so): Likewise.
29973 (LDFLAGS-tst-initordera3.so): Likewise.
29974 (LDFLAGS-tst-initordera4.so): Likewise.
29975 (LDFLAGS-tst-initorderb2.so): Likewise.
29976 (LDFLAGS-noload): Likewise.
29977 (LDFLAGS-next): Likewise.
29978 (LDFLAGS-order2mod1.so): Likewise.
29979 (LDFLAGS-order2mod2.so): Likewise.
29980 (LDFLAGS-tst-initorder2): Likewise.
29981 (LDFLAGS-tst-initorder2a.so): Likewise.
29982 (LDFLAGS-tst-initorder2b.so): Likewise.
29983 (LDFLAGS-tst-initorder2c.so): Likewise.
29984 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29986 2012-05-02 David S. Miller <davem@davemloft.net>
29988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29990 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29993 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29995 2012-05-02 Andreas Jaeger <aj@suse.de>
29997 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29998 since we manipulate rounding mode.
29999 (CPPFLAGS-test-idouble.c): Likewise.
30000 (CPPFLAGS-test-ifloat.c): Likewise.
30001 (CFLAGS-test-ldouble.c): Likewise.
30002 (CFLAGS-test-double.c): Likewise.
30003 (CFLAGS-test-float.c): Likewise.
30004 (CFLAGS-test-misc.c): Likewise.
30005 (CFLAGS-test-test-fenv.c): Likewise.
30007 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30012 comparisons to determine direction to adjust input.
30014 2012-05-01 Roland McGrath <roland@hack.frob.com>
30016 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30017 output to the target.
30019 * scripts/localplt.awk: New file.
30020 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30021 (check-localplt-CFLAGS): Variable removed.
30022 ($(all-built-dso:=.jmprel)): New static pattern rule.
30023 (generated): Add those targets.
30024 (localplt-built-dso): New variable.
30025 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30027 * elf/check-localplt.c: File removed.
30029 * scripts/check-execstack.awk: New file.
30030 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30031 (check-execstack-CFLAGS): Variable removed.
30032 ($(objpfx)check-execstack.h): Target removed.
30033 ($(objpfx)execstack-default): New target.
30034 (generated): Add that instead of check-execstack.h.
30035 ($(all-built-dso:=.phdr)): New static pattern rule.
30036 (generated): Add those targets.
30037 * elf/check-execstack.c: File removed.
30039 * scripts/check-textrel.awk: New file.
30040 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30041 (check-textrel-CFLAGS): Variable removed.
30042 (all-built-dso): Use := to define.o
30043 ($(all-built-dso:=.dyn)): New static pattern rule.
30044 (generated): Add those targets.
30045 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30046 * config.make.in (READELF): New substituted variable.
30047 * elf/check-textrel.c: File removed.
30049 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30051 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30053 * conform/data/ctype.h-data [C99-based standards] (isblank):
30055 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30056 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30058 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30059 Specify type. Require positive value.
30060 (EILSEQ): Likewise.
30061 (ERANGE): Likewise.
30062 [ISO || POSIX] (EILSEQ): Do not expect.
30063 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30064 Specify type. Require positive value.
30065 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30066 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30067 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30068 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30069 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30070 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30071 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30072 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30073 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30078 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30079 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30080 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30086 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30087 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30096 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30123 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30124 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30125 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30126 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30127 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30128 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30129 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30130 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30131 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30132 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30133 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30138 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30139 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30140 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30141 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30143 (FLT_ROUNDS): Expect as macro, not constant.
30144 (FLT_MANT_DIG): Use macro-int-constant.
30145 (DBL_MANT_DIG): Likewise.
30146 (LDBL_MANT_DIG): Likewise.
30147 (FLT_DIG): Likewise.
30148 (DBL_DIG): Likewise.
30149 (LDBL_DIG): Likewise.
30150 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30151 (DBL_MIN_EXP): Likewise.
30152 (LDBL_MIN_EXP): Likewise.
30153 (FLT_MAX_EXP): Use macro-int-constant.
30154 (DBL_MAX_EXP): Likewise.
30155 (LDBL_MAX_EXP): Likewise.
30156 (FLT_MAX_10_EXP): Likewise.
30157 (DBL_MAX_10_EXP): Likewise.
30158 (LDBL_MAX_10_EXP): Likewise.
30159 (FLT_MAX): Use macro-constant.
30160 (DBL_MAX): Likewise.
30161 (LDBL_MAX): Likewise.
30162 (FLT_EPSILON): Use macro-constant. Give upper bound.
30163 (DBL_EPSILON): Likewise.
30164 (LDBL_EPSILON): Likewise.
30165 (FLT_MIN): Likewise.
30166 (DBL_MIN): Likewise.
30167 (LDBL_MIN): Likewise.
30168 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30169 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30170 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30171 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30172 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30173 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30174 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30175 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30176 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30177 [ISO11] (FLT_TRUE_MIN): Likewise.
30178 [ISO11] (LDBL_TRUE_MIN): Likewise.
30179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30180 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30181 (SCHAR_MIN): Use macro-int-constant. Specify type.
30182 (SCHAR_MAX): Likewise.
30183 (UCHAR_MAX): Likewise.
30184 (CHAR_MIN): Likewise.
30185 (CHAR_MAX): Likewise.
30186 (MB_LEN_MAX): Use macro-int-constant.
30187 (SHRT_MIN): Use macro-int-constant. Specify type.
30188 (SHRT_MAX): Likewise.
30189 (USHRT_MAX): Likewise.
30190 (INT_MAX): Likewise.
30191 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30193 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30195 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30197 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30198 bound negative. Suffix upper bound with "L".
30199 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30201 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30203 [C99-based standards] (LLONG_MAX): Likewise.
30204 [C99-based standards] (ULLONG_MAX): Likewise.
30205 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30207 [ISO11] (max_align_t): Require type.
30208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30210 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30211 from $CFLAGS, without defining away __attribute__ calls.
30212 (checknamespace): Use $CFLAGS_namespace.
30214 * conform/conformtest.pl (@keywords): Only include C99 keywords
30215 for standards based on C99 or C11.
30217 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30219 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30222 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30223 usability of symbols in #if.
30225 * conform/conformtest.pl: If macro or constant types start
30226 "promoted:", expect the symbol to be of the following type
30227 promoted by the integer promotions.
30229 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30230 in one place. Also handle "macro-constant".
30232 * conform/conformtest.pl: Only accept expected macro values with
30233 "==". Parse all "macro" lines in one place.
30234 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30236 * conform/conformtest.pl: Handle braced types on "constant" lines
30237 instead of handling "typed-constant".
30238 * conform/data/signal.h-data: Use "constant" instead of
30241 * conform/conformtest.pl: Handle "optional-" at start of lines in
30242 one place rather than duplicating several cases. Handle each
30243 format of "macro" line with initial "optional-".
30245 * conform/conformtest.pl: Only accept expected constant or
30246 optional-constant values with "==". Parse all "constant" lines in
30247 one place. Parse all "optional-constant" lines in one place.
30248 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30249 * conform/data/fmtmsg.h-data: Likewise.
30250 * conform/data/netinet/in.h-data: Likewise.
30251 * conform/data/tar.h-data: Likewise.
30252 * conform/data/limits.h-data: Use "==" form on "constant" and
30253 "optional-constant" lines.
30255 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30256 Use -std=c99 for XOPEN2K.
30257 (@knownproblems): Remove.
30258 (newtoken): Don't check %isknown.
30260 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30261 Do not expect macro.
30262 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30263 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30264 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30265 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30266 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30267 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30268 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30269 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30270 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30271 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30272 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30273 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30274 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30275 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30276 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30277 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30278 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30279 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30280 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30281 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30282 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30283 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30284 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30285 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30286 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30287 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30288 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30289 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30290 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30291 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30292 [XPG3] (acosh): Likewise.
30293 [XPG3] (asinh): Likewise.
30294 [XPG3] (atanh): Likewise.
30295 [XPG3] (cbrt): Likewise.
30296 [XPG3] (expm1): Likewise.
30297 [XPG3] (ilogb): Likewise.
30298 [XPG3] (log1p): Likewise.
30299 [XPG3] (logb): Likewise.
30300 [XPG3] (nextafter): Likewise.
30301 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30302 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30303 [XPG3] (remainder): Likewise.
30304 [XPG3] (rint): Likewise.
30305 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30306 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30307 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30308 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30309 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30310 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30311 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30312 [UNIX98 || XOPEN2K] (scalb): Expect.
30313 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30314 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30315 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30316 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30317 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30318 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30319 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30320 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30321 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30322 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30323 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30324 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30325 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30326 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30327 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30328 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30329 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30330 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30331 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30332 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30333 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30334 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30335 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30336 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30337 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30338 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30339 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30340 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30341 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30342 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30343 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30344 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30345 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30346 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30347 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30348 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30349 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30350 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30351 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30352 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30353 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30354 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30355 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30356 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30357 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30358 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30359 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30360 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30361 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30362 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30363 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30364 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30365 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30366 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30367 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30368 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30369 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30370 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30371 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30372 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30373 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30374 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30375 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30376 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30377 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30378 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30379 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30380 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30381 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30382 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30383 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30384 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30385 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30386 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30387 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30388 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30389 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30390 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30391 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30392 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30393 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30394 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30395 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30396 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30397 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30398 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30399 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30400 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30401 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30402 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30403 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30404 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30405 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30406 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30407 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30408 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30409 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30410 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30411 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30412 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30413 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30414 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30415 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30416 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30417 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30418 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30419 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30420 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30421 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30422 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30423 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30424 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30425 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30426 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30427 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30428 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30429 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30430 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30431 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30432 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30433 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30434 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30435 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30436 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30437 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30438 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30439 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30440 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30441 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30442 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30443 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30444 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30445 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30446 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30447 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30448 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30449 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30451 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30452 _XOPEN_SOURCE_EXTENDED for XPG4.
30454 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30456 * Makeconfig (localtime): Remove variable.
30457 (inst_localtime-file): Likewise.
30459 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30480 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30484 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30485 comparisons to determine direction to adjust input.
30486 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30487 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30488 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30490 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30494 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30495 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30497 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30499 * math/libm-test.inc (nexttoward_test): Add more tests.
30501 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30505 in version GLIBC_2.1, not GLIBC_2.0.
30506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30509 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30512 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30514 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30515 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30516 * math/libm-test.inc (acos_test): Add more tests.
30517 (asin_test): Likewise.
30518 * sysdeps/i386/fpu/libm-test-ulps: Update.
30519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30522 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30524 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30525 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30526 * math/libm-test.inc (acos_test_tonearest): New function.
30527 (acos_test_towardzero): Likewise.
30528 (acos_test_downward): Likewise.
30529 (acos_test_upward): Likewise.
30530 (asin_test_tonearest): Likewise.
30531 (asin_test_towardzero): Likewise.
30532 (asin_test_downward): Likewise.
30533 (asin_test_upward): Likewise.
30534 (main): Call the new functions.
30535 * sysdeps/i386/fpu/libm-test-ulps: Update.
30536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30540 * math/e_exp10.c: Include <float.h>.
30541 (__ieee754_exp10): Handle underflow here rather than multiplying
30542 large negative argument by M_LN10.
30543 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30545 * math/e_exp10l.c: Include <float.h>.
30546 (__ieee754_exp10l): Handle underflow here rather than multiplying
30547 large negative argument by M_LN10l.
30548 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30549 spurious overflow exception on underflow.
30551 2012-04-29 Marek Polacek <polacek@redhat.com>
30553 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30554 (__fortify_function): New macro.
30555 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30556 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30557 __extern_always_inline.
30558 * libio/bits/stdio2.h: Likewise.
30559 * libio/bits/stdio.h: Likewise.
30560 * string/string.h: Likewise.
30561 * string/bits/string3.h: Likewise.
30562 * include/stdio.h: Likewise.
30563 * stdlib/bits/stdlib.h: Likewise.
30564 * stdlib/stdlib.h: Likewise.
30565 * rt/bits/mqueue2.h: Likewise.
30566 * rt/mqueue.h: Likewise.
30567 * posix/bits/unistd.h: Likewise.
30568 * posix/unistd.h: Likewise.
30569 * io/bits/poll2.h: Likewise.
30570 * io/bits/fcntl2.h: Likewise.
30571 * io/fcntl.h: Likewise.
30572 * io/sys/poll.h: Likewise.
30573 * misc/bits/syslog.h: Likewise.
30574 * misc/bits/syslog-ldbl.h: Likewise.
30575 * misc/sys/syslog.h: Likewise.
30576 * socket/bits/socket2.h: Likewise.
30577 * socket/sys/socket.h: Likewise.
30578 * debug/tst-chk1.c: Likewise.
30579 * wcsmbs/bits/wchar2.h: Likewise.
30580 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30581 * wcsmbs/wchar.h: Likewise.
30583 2012-04-29 Andreas Jaeger <aj@suse.de>
30585 * Makerules (tests): Remove enable-check-abi protection.
30586 (check-abi-warn): Remove.
30587 (check-abi-%): Remove check-abi-warn usage.
30589 * configure.in: Remove check-abi configure option.
30590 * configure: Regenerated.
30591 * config.make.in (enable-check-abi): Remove.
30593 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30596 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30597 double functions to double *_finite functions.
30600 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30601 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30603 * stdio-common/Makefile (tests): Add tst-sprintf3.
30604 * stdio-common/tst-sprintf3.c: New file.
30606 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30607 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30609 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30611 * conform/conformtest.pl: Remove duplicate typed-constant
30614 2012-04-28 David S. Miller <davem@davemloft.net>
30616 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30617 (check-abi-%): Remove AWK script prerequisite and explicit
30619 (check-abi): Rewrite to just diff the symlist with the abilist.
30620 (config-tls, config-abi-config): Delete, no longer used.
30621 (update-abi-%): Remove AWK script and explicit abilist directory.
30622 (update-abi): Rewrite to simply compare and conditionally copy the
30623 symlist and the sysdep abilist file. Remove update-abi-config
30625 * abilist/ld.abilist: Remove.
30626 * abilist/libBrokenLocale.abilist: Remove.
30627 * abilist/libanl.abilist: Remove.
30628 * abilist/libcrypt.abilist: Remove.
30629 * abilist/libdl.abilist: Remove.
30630 * abilist/librt.abilist: Remove.
30631 * abilist/libthread_db.abilist: Remove.
30632 * abilist/libutil.abilist: Remove.
30633 * scripts/extract-abilist.awk: Remove.
30634 * scripts/merge-abilist.awk: Remove.
30635 * sysdeps/generic/libcidn.abilist: New file.
30636 * sysdeps/generic/libnss_compat.abilist: New file.
30637 * sysdeps/generic/libnss_db.abilist: New file.
30638 * sysdeps/generic/libnss_dns.abilist: New file.
30639 * sysdeps/generic/libnss_files.abilist: New file.
30640 * sysdeps/generic/libnss_hesiod.abilist: New file.
30641 * sysdeps/generic/libnss_nis.abilist: New file.
30642 * sysdeps/generic/libnss_nisplus.abilist: New file.
30643 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30644 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30645 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30647 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30648 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30649 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30650 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30651 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30652 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30653 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30654 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30655 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30657 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30658 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30659 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30660 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30662 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30663 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30664 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30665 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30666 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30667 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30669 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30670 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30671 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30673 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30776 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30777 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30778 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30781 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30782 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30783 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30784 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30785 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30786 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30787 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30788 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30789 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30841 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30843 * conform/conformtest.pl: Fix typo in handling typed-constant from
30846 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30848 * README: Cut down references to pre-2.6 Linux kernels and
30849 Linuxthreads. Update lists of configurations in libc and ports
30850 and sort alphabetically. Say "or newer" with Linux kernel version
30853 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30855 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30858 * math/libm-test.inc (logb_test_downward): New test to expose
30859 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30862 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30865 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30867 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30868 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30870 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30872 * sysdeps/unix/i386/brk.S: Remove file.
30873 * sysdeps/unix/i386/dl-brk.S: Likewise.
30874 * sysdeps/unix/i386/pipe.S: Likewise.
30875 * sysdeps/unix/i386/sigreturn.S: Likewise.
30876 * sysdeps/unix/i386/syscall.S: Likewise.
30877 * sysdeps/unix/i386/vfork.S: Likewise.
30878 * sysdeps/unix/i386/wait.S: Likewise.
30880 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30881 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30883 * configure.in (arm*-none*): Do not allow without
30884 --enable-hacker-mode.
30885 (netbsd*): Remove case setting base_os.
30886 (386bsd*): Likewise.
30887 (freebsd*): Likewise.
30890 (sunos*): Likewise.
30891 (ultrix*): Likewise.
30892 (newsos*): Likewise.
30893 (dynix*): Likewise.
30899 (minix*): Likewise.
30900 (irix4*): Likewise.
30901 (irix6*): Likewise.
30902 (solaris[2-9]*): Likewise.
30904 * configure: Regenerated.
30906 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30909 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30910 overflow or cancellation in calculating denominator.
30911 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30913 down expression to avoid unexpected rounding in newer GCCs.
30914 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30916 2012-04-26 David S. Miller <davem@davemloft.net>
30918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30919 long-double compat symbols.
30920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30934 2012-04-25 David S. Miller <davem@davemloft.net>
30936 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30937 HWCAP_* values only after the memory barriers have been defined.
30938 (atomic_full_barrier): Define.
30939 (atomic_read_barrier): Define.
30940 (atomic_write_barrier): Define.
30942 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30944 * shlib-versions: Add libgcc_s version information.
30945 * sysdeps/generic/libgcc_s.h: Remove.
30946 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30948 * sysdeps/gnu/unwind-resume.c: Likewise.
30949 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30951 2012-04-25 David S. Miller <davem@davemloft.net>
30953 * sysdeps/unix/sparc/brk.S: Delete.
30954 * sysdeps/unix/sparc/dl-brk.S: Delete.
30955 * sysdeps/unix/sparc/pipe.S: Delete.
30956 * sysdeps/unix/sparc/sysdep.S: Delete.
30957 * sysdeps/unix/sparc/sysdep.h: Delete.
30958 * sysdeps/unix/sparc/vfork.S: Delete.
30959 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30960 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30961 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30962 ret_ERRVAL, r0, r1, MOVE): Define.
30963 (JUMPTARGET): Remove.
30964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30965 sysdeps/unix/sparc/sysdep.h
30966 (ENTRY, END): Remove.
30967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30969 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30971 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30972 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30975 * timezone/README: Update upstream location and email address for
30977 * timezone/zdump.c: Update from tzcode 2012b.
30978 * timezone/zic.c: Likewise.
30980 * configure.in (libc_cv_as_needed): Remove test.
30981 * configure: Regenerated.
30982 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30983 conditional definition.
30984 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30985 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30986 * config.make.in (have-as-needed): Remove variable.
30988 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30989 Paul Pluzhnikov <ppluzhnikov@google.com>
30991 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30994 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30996 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30997 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30998 * sysdeps/sh/strlen.S: Likewise.
31000 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31002 * sysdeps/unix/fork.S: Remove file.
31003 * sysdeps/unix/i386/fork.S: Likewise.
31004 * sysdeps/unix/sparc/fork.S: Likewise.
31006 * sysdeps/unix/system.c: Remove file.
31007 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31009 * sysdeps/unix/getegid.S: Remove file.
31010 * sysdeps/unix/geteuid.S: Likewise.
31012 2012-04-24 Roland McGrath <roland@hack.frob.com>
31014 * scripts/check-localplt.awk: New file.
31015 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31017 * scripts/data/localplt-generic.data: Add a comment.
31019 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31020 NODE when __dir_mkfile failed.
31021 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31022 Reported by Ludovic Courtès <ludo@gnu.org>.
31024 2012-04-24 Andreas Jaeger <aj@suse.de>
31026 * Makerules (common-clean): Also remove gen-as-const-headers
31029 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31031 * Makerules (native-compile): Do not change working directory for
31032 build. Use $(OUTPUT_OPTION) in command.
31033 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31035 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31038 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31039 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31040 * math/libm-test.inc (floor_test): Add more tests.
31041 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31043 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31045 * sysdeps/unix/getdents.c: Remove file.
31046 * sysdeps/unix/sysv/getdents.c: Likewise.
31047 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31049 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31050 sysdeps/unix/mman/syscalls.list.
31052 (mprotect): Likewise.
31054 (munmap): Likewise.
31055 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31056 * sysdeps/unix/mman/syscalls.list: Remove.
31057 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31059 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31060 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31061 * configure: Regenerated.
31062 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31063 $(libgcc_s_suffix).
31064 * config.make.in (libgcc_s_suffix): Remove variable.
31066 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31068 * sysdeps/unix/sysv/gethostname.c: Move to ...
31069 * sysdeps/posix/gethostname.c: ... here.
31071 * sysdeps/unix/execve.S: Remove file.
31073 * sysdeps/unix/_exit.S: Remove file.
31075 2012-04-23 Andreas Jaeger <aj@suse.de>
31078 * manual/Makefile: Remove make dist support, there's no
31079 need for a stand-alone documentation tar ball.
31080 (TEXI2DVI): Define always, it's not in Makeconfig.
31083 (edition): Removed.
31084 (glibc-doc-$(edition).tar): Removed
31088 (ETAGS): Remove, it's in Makeconfig.
31089 (move-if-change): Remove, it's in Makeconfig.
31091 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31094 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31095 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31096 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31097 (strtod_l, strtof_l, strtold_l): Remove __wur.
31098 It is not necessarily an error to ignore strtol's return value.
31099 One can reliably look at the stored endptr to decide whether
31100 the number had valid syntax.
31102 2012-04-21 Andreas Jaeger <aj@suse.de>
31105 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31107 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31109 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31110 * sysdeps/unix/sysv/Versions: Remove file.
31112 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31117 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31121 version from __vm86.
31123 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31125 * sysdeps/unix/common/lxstat.c: Remove file.
31126 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31128 * sysdeps/unix/sysv/Makefile: Remove file.
31130 * sysdeps/unix/sysv/direct.h: Remove file.
31132 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31133 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31134 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31135 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31136 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31137 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31138 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31140 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31142 * sysdeps/unix/xmknod.c: Remove file.
31143 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31145 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31147 * sysdeps/unix/sysv/i386/time.S: Remove file.
31149 * sysdeps/unix/fxstat.c: Remove file.
31150 * sysdeps/unix/xstat.c: Likewise.
31151 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31153 * sysdeps/unix/sysv/sigaction.c: Remove file.
31155 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31156 (sysdep_headers): Remove variable.
31157 [termio.h not in sysdep_headers] (generated): Likewise.
31158 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31159 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31160 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31161 * sysdeps/unix/sysv/tcflow.c: Likewise.
31162 * sysdeps/unix/sysv/tcflush.c: Likewise.
31163 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31164 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31165 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31166 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31167 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31169 * sysdeps/unix/siglist.c: Remove file.
31171 * sysdeps/unix/getppid.S: Remove file.
31173 * sysdeps/unix/mkdir.c: Remove file.
31174 * sysdeps/unix/rmdir.c: Likewise.
31176 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31178 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31180 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31181 errlist-compat value.
31183 2012-04-18 David S. Miller <davem@davemloft.net>
31185 * sysdeps/generic/memcopy.h (reg_char): Delete.
31186 * debug/strcat_chk.c: Use char, not reg_char.
31187 * debug/strcpy_chk.c: Likewise.
31188 * debug/strncat_chk.c: Likewise.
31189 * debug/strncpy_chk.c: Likewise.
31190 * string/memchr.c: Likewise.
31191 * string/memrchr.c: Likewise.
31192 * string/rawmemchr.c: Likewise.
31193 * string/strcat.c: Likewise.
31194 * string/strchr.c: Likewise.
31195 * string/strchrnul.c: Likewise.
31196 * string/strcmp.c: Likewise.
31197 * string/strcpy.c: Likewise.
31198 * string/strncat.c: Likewise.
31199 * string/strncmp.c: Likewise.
31200 * string/strncpy.c: Likewise.
31202 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31204 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31205 __builtin_memcopy is called when src and dest ranges are known to not
31208 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31210 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31211 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31212 fwd_align_merge macro call.
31213 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31214 bwd_align_merge macro call.
31215 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31217 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31220 bwd_align_merge macros.
31221 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31222 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31223 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31225 2012-04-18 David S. Miller <davem@davemloft.net>
31227 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31229 2012-04-18 Andreas Jaeger <aj@suse.de>
31232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31233 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31234 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31236 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31237 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31238 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31240 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31241 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31242 Adjust for changed ldbl-128 files.
31244 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31245 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31246 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31248 2012-04-17 David S. Miller <davem@davemloft.net>
31250 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31252 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31254 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31255 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31256 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31257 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31258 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31259 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31261 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31264 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31265 * math/libm-test.inc: Add ilogb errno and exception tests.
31266 * math/w_ilogb.c: New file: ilogb wrapper.
31267 * math/w_ilogbf.c: New file: ilogbf wrapper.
31268 * math/w_ilogbl.c: New file: ilogbl wrapper.
31269 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31270 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31271 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31272 exception being thrown with 0.0 as argument.
31273 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31274 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31275 exception being thrown with 0.0 as argument.
31276 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31277 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31278 exception being thrown with 0.0 as argument.
31279 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31280 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31281 exception being thrown with 0.0 as argument.
31282 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31283 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31284 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31285 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31286 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31287 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31288 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31289 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31290 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31292 2012-04-17 Petr Baudis <pasky@ucw.cz>
31294 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31297 2012-04-16 Marek Polacek <polacek@redhat.com>
31299 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31301 2012-04-16 Marek Polacek <polacek@redhat.com>
31303 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31304 operands of fdivp instruction.
31306 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31308 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31309 * elf/tst-auditmod3b.c: Likewise.
31310 * elf/tst-auditmod4b.c: Likewise.
31311 * elf/tst-auditmod5b.c: Likewise.
31312 * elf/tst-auditmod6b.c: Likewise.
31313 * elf/tst-auditmod6c.c: Likewise.
31314 * elf/tst-auditmod7b.c: Likewise.
31315 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31316 * sysdeps/x86_64/preconfigure.in: Likewise.
31317 * sysdeps/x86_64/preconfigure: Regenerated.
31319 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31321 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31324 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31327 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31329 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31332 * locale/iso-639.def: Fix gl language name. Spotted by
31335 2012-04-12 Roland McGrath <roland@hack.frob.com>
31338 * libio/libio.h (__io_write_fn): Update comment.
31340 2012-04-12 Petr Baudis <pasky@ucw.cz>
31343 * stdio.texi (Hook Functions): The user provided writer function
31344 is not allowed to return -1.
31346 2012-04-11 David S. Miller <davem@davemloft.net>
31348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31350 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31352 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31353 Add a leading slash to rtkaio.
31355 2012-04-11 Jim Meyering <meyering@redhat.com>
31358 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31359 It is not necessarily an error to ignore fwrite's return
31360 value. One can reliably use ferror to test for errors after
31363 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31365 * bits/types.h (__snseconds_t): New type.
31366 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31368 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31370 (__SNSECONDS_T_TYPE): Likewise.
31371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31372 (__SNSECONDS_T_TYPE): Likewise.
31373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31374 (__SNSECONDS_T_TYPE): Likewise.
31376 2012-04-10 Andreas Jaeger <aj@suse.de>
31379 * manual/time.texi (Processor Time): Return type of times is
31380 elapsed real time since an arbitrary point in the past.
31381 (CPU Time): Move CLK_TCK from here...
31382 (Processor Time): ...to here. Correct description.
31383 * manual/conf.texi (Constants for Sysconf): Correct description of
31386 2012-04-10 David S. Miller <davem@davemloft.net>
31389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31390 where the is a gap between DT_REL(A) and DT_JMPREL.
31392 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31394 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31395 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31396 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31398 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31400 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31401 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31402 (dl_main): Handle --inhibit-cache.
31403 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31405 * elf/dl-load.c (_dl_map_object): Use it.
31406 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31408 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31411 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31412 (__ieee754_powl): Saturate large exponents rather than testing for
31413 overflow of y*log2(x).
31414 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31415 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31419 * math/s_ctan.c: Include <float.h>.
31420 (__ctan): Avoid internal overflow or cancellation in calculating
31422 * math/s_ctanf.c: Likewise.
31423 * math/s_ctanl.c: Likewise.
31424 * math/s_ctanh.c: Likewise.
31425 * math/s_ctanhf.c: Likewise.
31426 * math/s_ctanhl.c: Likewise.
31427 * math/libm-test.inc (ctan_test): Add more tests.
31428 (ctanh_test): Likewise.
31429 * sysdeps/i386/fpu/libm-test-ulps: Update.
31430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31432 2012-04-09 Andreas Jaeger <aj@suse.de>
31435 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31436 is an optional BSD extension.
31439 * manual/stdio.texi (Opening Streams): Document additional fopen
31442 2012-04-09 Roland McGrath <roland@hack.frob.com>
31444 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31445 %eax without telling the compiler.
31447 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31450 * manual/install.texi: Use sourceware.org.
31452 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31455 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31456 (__ieee754_pow): Generate overflow and underflow using huge*huge
31457 and tiny*tiny rather than just returning constant infinity or zero
31458 for large exponents.
31459 * math/libm-test.inc (pow_test): Require overflow exceptions for
31460 applicable cases of large exponents.
31463 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31464 (__ieee754_pow): Use iterative multiplication algorithm only for
31465 integer exponents with absolute value below 1024. Check for odd
31466 integer exponents when using algorithm for real exponents.
31467 * math/libm-test.inc (pow_test): Add more tests.
31468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31470 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31473 * math/libm-test.inc (exp_test): Do not allow overflow exception
31476 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31479 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31480 instead of __kernel_standard_f.
31482 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31484 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31485 * sysdeps/x86_64/memset_chk.S: Likewise.
31487 2012-04-08 Andreas Jaeger <aj@suse.de>
31490 * manual/startup.texi (Environment Access): Describe return value
31491 for putenv and setenv.
31494 * manual/filesys.texi (Directory Entries): Add description for
31498 * manual/filesys.texi (Directory Entries): Clarify that it's file
31499 system not operating system in the description of DT_UNKNOWN.
31502 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31504 2012-04-08 Stephen Compall <s11@member.fsf.org>
31507 * manual/llio.texi (Opening and Closing Files): Add cross
31508 reference to explain mode argument.
31510 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31512 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31513 * sysdeps/x86_64/memset_chk.S: Likewise.
31515 2012-04-07 David S. Miller <davem@davemloft.net>
31517 * elf/elf.h (R_SPARC_WDISP10): Define.
31518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31521 R_SPARC_SIZE64 and R_SPARC_H34.
31523 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31526 conditions and remove no longer applicable assertion.
31528 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31530 * bits/byteswap.h: Include <features.h>.
31531 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31532 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31534 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31536 * bits/byteswap.h (__bswap_16): Removed.
31537 Include <bits/byteswap-16.h> to get __bswap_16.
31538 * sysdeps/i386/bits/byteswap.h: Likewise.
31539 * sysdeps/s390/bits/byteswap.h: Likewise.
31540 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31541 * bits/byteswap-16.h: New file.
31542 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31543 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31544 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31545 * string/Makefile (headers): Add bits/byteswap-16.h.
31547 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31550 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31552 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31553 * nss/tst-nss-static.c: New.
31555 2012-04-06 Robert Millan <rmh@gnu.org>
31558 * manual/llio.texi (File Position Primitive): lseek
31559 refers to WHENCE when it really means OFFSET.
31561 2012-04-06 Andreas Jaeger <aj@suse.de>
31563 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31564 strncmp declarations.
31566 * abilist/libc.abilist: Add __poll and __ppoll.
31568 2012-04-05 David S. Miller <davem@davemloft.net>
31570 * scripts/check-local-headers.sh: Accept a host triplet in the
31571 path matched by the exclude regexp.
31573 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31575 * sysdeps/powerpc/powerpc32/dl-machine.h
31576 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31577 * sysdeps/s390/s390-32/dl-machine.h
31578 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31579 * sysdeps/sparc/sparc32/dl-machine.h
31580 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31581 * sysdeps/sparc/sparc64/dl-machine.h
31582 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31584 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31586 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31587 undefined symbol errors.
31589 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31592 2012-04-05 Michael Matz <matz@suse.de>
31595 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31597 2012-04-05 Andreas Jaeger <aj@suse.de>
31600 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31603 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31605 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31606 which ROUND is no valid rounding mode.
31608 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31610 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31612 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31614 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31616 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31617 an exception using FPU order intentionally.
31619 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31621 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31622 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31623 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31624 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31626 2012-04-05 Simon Josefsson <simon@josefsson.org>
31629 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31630 EINVAL when BUFLEN is too smal.
31632 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31635 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31636 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31638 2012-04-03 Andreas Jaeger <aj@suse.de>
31641 * manual/setjmp.texi (System V contexts): Fix sentence.
31644 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31645 New macro for this case.
31646 [!__GNUC__] (__bswap_64): New inline function for this case.
31647 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31648 * bits/byteswap.h: Likewise.
31649 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31650 ull, guard with __GLIBC_HAVE_LONG_LONG.
31652 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31653 __GLIBC_HAVE_LONG_LONG.
31655 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31656 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31658 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31661 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31662 inptr and inend, rather than using last_ch.
31664 2012-04-02 David S. Miller <davem@davemloft.net>
31666 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31667 * stdio-common/printf-parse.h (read_int): Change return type to
31668 'int', return -1 on INT_MAX overflow.
31669 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31670 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31671 overflows INT_MAX. Check for overflow of in-format-string precision
31672 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31673 SIZE_MAX not INT_MAX for integer overflow test.
31674 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31675 skip the construct in the format string but do not record anything.
31676 * stdio-common/bug22.c: Adjust to test both width/prevision
31677 INT_MAX overflow as well as total length INT_MAX overflow. Check
31678 explicitly for proper errno values.
31680 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31682 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31684 * string/test-strcmp.c [! WIDE]: Likewise.
31685 * time/tst-mktime2.c: Likewise for INT_MAX.
31686 * string/test-string.h: #include <sys/param.h> for MIN.
31688 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31689 * sysdeps/i386/init-first.c (init): Likewise.
31690 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31691 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31692 * sysdeps/sh/init-first.c (init): Likewise.
31694 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31696 * po/ru.po: Update from translation team.
31697 * po/vi.po: Likewise.
31699 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31701 * resolv/nss_dns/dns-host.c: Merge copyright years.
31703 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31705 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31706 Optimize memcpy with prefetch if
31707 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31708 src, dst pointers have unequal 16 byte alignments.
31710 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31713 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31714 from a CNAME entry and return the minimum ttl for the query.
31715 (gaih_getanswer_slice): Likewise.
31717 2012-03-30 Jeff Law <law@redhat.com>
31719 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31721 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31722 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31724 * resolv/nss_dns/dns-host.c: Update copyright year.
31726 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31728 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31729 requests to save a system call. Fix check that all bytes are sent.
31731 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31732 comments for sendmmsg.
31734 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31737 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31738 with only 1 character between 0x0041 and 0x01b0.
31739 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31740 * wcsmbs/tst-mbsnrtowcs.c: New file.
31742 2012-03-29 David S. Miller <davem@davemloft.net>
31744 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31745 small copies by hand.
31747 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31750 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31751 _nss_compat_initgroups_dyn): Fall back to malloc/free
31752 for large group memberships.
31754 2012-03-28 David S. Miller <davem@davemloft.net>
31756 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31757 that branches into memcpy.
31758 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31760 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31761 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31764 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31765 implementation too.
31766 * sysdeps/sparc/mempcpy.S: New file.
31768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31769 the IFUNC routine in the libc case.
31770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31772 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31773 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31774 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31775 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31776 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31777 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31778 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31779 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31781 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31782 loop to 256 bytes instead of 64 bytes and fix test signedness.
31784 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31785 * sysdeps/sparc/sparc32/Makefile: rather than here...
31786 * sysdeps/sparc/sparc64/Makefile: and here.
31788 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31790 * malloc/mallocbug.c: Avoid warnings about unused variables.
31792 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31795 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31796 in the right place. Discard and retry query if response is
31797 larger than input buffer size.
31799 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31804 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31805 x for large integer exponent.
31806 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31807 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31808 sign of result as needed afterwards.
31809 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31810 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31811 result for underflowing pow the same as for overflow.
31812 (__kernel_standard_l): Handle powl overflow and underflow here
31813 rather than calling __kernel_standard.
31814 * math/libm-test.inc (pow_test): Add more tests.
31829 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31830 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31831 (__kernel_standard_l): New function.
31832 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31834 * math/w_acosl.c (__acosl): Likewise.
31835 * math/w_asinl.c (__asinl): Likewise.
31836 * math/w_atan2l.c (__atan2l): Likewise.
31837 * math/w_atanhl.c (__atanhl): Likewise.
31838 * math/w_coshl.c (__coshl): Likewise.
31839 * math/w_exp10l.c (__exp10l): Likewise.
31840 * math/w_exp2l.c (__exp2l): Likewise.
31841 * math/w_fmodl.c (__fmodl): Likewise.
31842 * math/w_hypotl.c (__hypotl): Likewise.
31843 * math/w_j0l.c (__j0l, __y0l): Likewise.
31844 * math/w_j1l.c (__j1l, __y1l): Likewise.
31845 * math/w_jnl.c (__jnl, __ynl): Likewise.
31846 * math/w_lgammal.c (__lgammal): Likewise.
31847 * math/w_log10l.c (__log10l): Likewise.
31848 * math/w_log2l.c (__log2l): Likewise.
31849 * math/w_logl.c (__logl): Likewise.
31850 * math/w_powl.c (__powl): Likewise.
31851 * math/w_remainderl.c (__remainderl): Likewise.
31852 * math/w_scalbl.c (sysv_scalbl): Likewise.
31853 * math/w_sinhl.c (__sinhl): Likewise.
31854 * math/w_sqrtl.c (__sqrtl): Likewise.
31855 * math/w_tgammal.c (__tgammal): Likewise.
31856 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31857 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31858 * math/libm-test.inc (acos_test): Add more tests.
31859 (acosh_test): Likewise.
31860 (asin_test): Likewise.
31861 (atanh_test): Likewise.
31862 (exp_test): Likewise.
31863 (exp10_test): Likewise.
31864 (exp2_test): Likewise.
31865 (expm1_test): Likewise.
31866 (lgamma_test): Likewise.
31867 (log_test): Likewise.
31868 (log10_test): Likewise.
31869 (log1p_test): Likewise.
31870 (log2_test): Likewise.
31871 (pow_test): Do not allow some spurious overflow exceptions.
31872 (sqrt_test): Add more tests.
31873 (tgamma_test): Likewise.
31874 (y0_test): Likewise.
31875 (y1_test): Likewise.
31876 (yn_test): Likewise.
31878 2012-03-27 Anton Blanchard <anton@samba.org>
31880 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31882 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31883 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31884 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31886 2012-03-27 David S. Miller <davem@davemloft.net>
31888 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31890 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31891 have-as-vis3 check.
31893 2012-03-27 Andreas Jaeger <aj@suse.de>
31895 * sysdeps/x86_64/elf/configure.in: Moved to ...
31896 * sysdeps/x86_64/configure.in: ... here.
31897 * sysdeps/x86_64/elf/start.S: Moved to ...
31898 * sysdeps/x86_64/start.S: ... here.
31899 * sysdeps/x86_64/elf/configure: Delete.
31901 * sysdeps/x86_64/configure.in: Merge contents from
31902 sysdeps/i386/configure.in (without i686 check).
31904 * sysdeps/i386/elf/Versions: Merge into ...
31905 * sysdeps/i386/Versions: ... this.
31906 * sysdeps/i386/elf/Versions: Delete file.
31907 * sysdeps/i386/elf/start.S: Moved to ...
31908 * sysdeps/i386/start.S: ...here.
31909 * sysdeps/i386/elf/configure.in: Merge into...
31910 * sysdeps/i386/configure.in: ...here.
31911 * sysdeps/i386/elf/configure.in: Delete file.
31912 * sysdeps/i386/elf/configure: Delete file.
31914 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31915 * debug/backtracesyms.c: ... here.
31916 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31917 * debug/backtracesymsfd.c: ... here.
31918 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31919 * sysdeps/generic/ifunc-sel.h: ... here.
31921 * sysdeps/unix/i386/start.c: Delete file.
31922 * sysdeps/unix/sparc/start.c: Delete file.
31923 * sysdeps/unix/start.c: Delete file.
31925 * sysdeps/sh/elf/configure.in: Moved to ...
31926 * sysdeps/sh/configure.in: ... here.
31927 * sysdeps/sh/elf/start.S: Moved to ...
31928 * sysdeps/sh/start.S: ... here.
31929 * sysdeps/sh/elf/configure: Delete file.
31931 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31932 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31933 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31934 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31935 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31936 * sysdeps/powerpc/powerpc64/start.S: here.
31937 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31938 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31939 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31940 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31941 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31943 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31944 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31945 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31946 * sysdeps/powerpc/powerpc32/start.S: ... here.
31947 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31948 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31949 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31951 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31952 * sysdeps/powerpc/ifunc-sel.h: ... here.
31953 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31954 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31956 * sysdeps/sparc/elf/configure.in: Moved to ...
31957 * sysdeps/sparc/configure.in: ... here.
31958 * sysdeps/sparc/elf/configure: Delete file.
31959 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31960 * sysdeps/sparc/sparc32/start.S: ... here.
31961 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31962 * sysdeps/sparc/sparc64/start.S: ... here.
31963 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31964 * sysdeps/sparc/sparc32/Makefile: ... this.
31965 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31966 * sysdeps/sparc/sparc64/Makefile: ... this.
31968 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31969 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31970 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31971 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31972 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31973 * sysdeps/s390/s390-32/setjmp.S: ... here.
31974 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31975 * sysdeps/s390/s390-32/configure.in: ... here.
31976 * sysdeps/s390/s390-32/elf/configure: Delete file.
31977 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31978 * sysdeps/s390/s390-32/start.S: ... here.
31980 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31981 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31982 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31983 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31984 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31985 * sysdeps/s390/s390-64/setjmp.S: ... here.
31986 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31987 * sysdeps/s390/s390-64/configure.in: ... here
31988 * sysdeps/s390/s390-64/elf/configure: Delete file.
31989 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31990 * sysdeps/s390/s390-64/start.S: ... here.
31991 * sysdeps/s390/s390-64/elf/configure: Delete.
31993 * configure.in: Remove support for elf directories in sysdeps.
31995 * configure: Regenerated.
31996 * sysdeps/i386/configure: Regenerated.
31997 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31998 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31999 * sysdeps/s390/s390-32/configure: Regenerated.
32000 * sysdeps/s390/s390-64/configure: Regenerated.
32001 * sysdeps/sh/configure: Regenerated.
32002 * sysdeps/sparc/configure: Regenerated.
32003 * sysdeps/x86_64/configure: Regenerated.
32005 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32010 denormal result into account.
32012 2012-03-25 Roland McGrath <roland@hack.frob.com>
32014 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32015 Reported by Allan McRae <allan@archlinux.org>.
32017 2012-03-23 Jeff Law <law@redhat.com>
32019 * nss/getnssent.c (__nss_getent): Fix typo.
32021 2012-03-23 David S. Miller <davem@davemloft.net>
32023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32025 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32027 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32028 to pad to uint64_t for each field.
32029 (dl_tls_index): Replace unsigned long with uint64_t.
32031 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32032 Paul Pluzhnikov <ppluzhnikov@google.com>
32035 * grp/Makefile (otherlibs): Don't set it.
32036 * inet/Makefile (otherlibs): Likewise.
32037 * login/Makefile (otherlibs): Likewise.
32038 * nscd/Makefile (otherlibs): Likewise.
32039 * posix/Makefile (otherlibs): Likewise.
32040 * pwd/Makefile (otherlibs): Likewise.
32041 * rt/Makefile (otherlibs): Likewise.
32042 * sunrpc/Makefile (otherlibs): Likewise.
32043 * nss/Makefile (otherlibs): Likewise.
32044 Add libnss_files to routines and static-only-routines.
32045 ($(objpfx)getent): Remove rule.
32046 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32047 static-only-routines.
32049 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32052 * math/s_cexp.c: Include <float.h>.
32053 (__cexp): Handle exp result overflowing not necessarily
32054 overflowing both real and imaginary parts of result.
32055 * math/s_cexpf.c: Likewise.
32056 * math/s_cexpl.c: Likewise.
32057 * math/libm-test.inc (cexp_test): Add more tests.
32058 * sysdeps/i386/fpu/libm-test-ulps: Update.
32059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32061 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32063 * include/link.h (ELFW): New macro.
32064 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32065 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32067 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32069 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32072 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32074 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32076 (struct La_x32_retval): Likewise.
32078 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32080 * sysdeps/x86_64/preconfigure.in: New file.
32081 * sysdeps/x86_64/preconfigure: New generated file.
32083 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32086 * math/e_exp2l.c: Include <float.h>.
32087 (__ieee754_exp2l): Handle overflow and underflow cases
32088 separately. Only pass fractional part of argument to
32090 * math/libm-test.inc (exp2_test): Add more tests.
32092 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32093 negating x to take absolute value.
32094 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32096 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32097 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32099 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32100 computing low part if x was negated.
32101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32103 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32105 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32106 la_x32_gnu_pltexit.
32107 (pltexit): Cast int_retval to ptrdiff_t.
32108 * elf/tst-auditmod3b.c: Likewise.
32109 * elf/tst-auditmod4b.c: Likewise.
32110 * elf/tst-auditmod5b.c: Likewise.
32111 * elf/tst-auditmod6b.c: Likewise.
32112 * elf/tst-auditmod6c.c: Likewise.
32113 * elf/tst-auditmod7b.c: Likewise.
32115 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32116 and x32_gnu_pltexit.
32118 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32119 __ELF_NATIVE_CLASS.
32120 (La_x32_regs): New macro.
32121 (La_x32_retval): Likewise.
32122 (la_x32_gnu_pltenter): New function prototype.
32123 (la_x32_gnu_pltexit): Likewise.
32125 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32132 * configure.in (libc_cv_cc_nofma): Check for option to disable
32133 generation of FMA instructions.
32134 * configure: Regenerate.
32135 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32136 * sysdeps/ieee754/dbl-64/Makefile: New file.
32137 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32138 Remove brandred-fma4.
32139 (CFLAGS-brandred-fma4.c): Remove.
32140 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32141 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32143 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32146 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32148 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32149 LLONG_MAX != LONG_MAX.
32150 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32151 (_fitoa_word): Likewise.
32152 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32153 LLONG_MAX != LONG_MAX.
32154 * stdio-common/_itowa.h: Include <_itoa.h>.
32155 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32156 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32157 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32158 only if not defined.
32159 (_ITOA_WORD_TYPE): Likewise.
32160 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32161 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32163 2012-03-21 David S. Miller <davem@davemloft.net>
32165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32167 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32169 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32170 of x86_64 when setting libc_cv_slibdir, libdir and
32172 * sysdeps/unix/sysv/linux/configure: Regenerated.
32174 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32176 * manual/lang.texi (Old Varargs): Remove section.
32177 (How Variadic): Update menu.
32178 (va_start): Do not mention varargs.h.
32180 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32181 Joseph Myers <joseph@codesourcery.com>
32183 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32185 * configure: Regenerated.
32187 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32189 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32190 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32193 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32196 * Makefile (files-for-dist): Remove NOTES.
32197 (NOTES): Remove rule.
32198 * README: Don't refer to NOTES.
32199 * manual/creature.texi: Don't include macros.texi.
32200 * manual/intro.texi (creature.texi): Remove comment referring to
32203 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32204 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32205 * configure: Regenerated.
32206 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32207 LIBC_TRY_CC_OPTION.
32208 (libc_cv_as_i686): Likewise.
32209 (libc_cv_cc_avx): Likewise.
32210 (libc_cv_cc_sse2avx): Likewise.
32211 (libc_cv_cc_fma4): Likewise.
32212 (libc_cv_cc_novzeroupper): Likewise.
32213 * sysdeps/i386/configure: Regenerated.
32216 * sysdeps/i386/fpu/s_cexp.S: Remove.
32217 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32218 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32219 * math/libm-test.inc (cexp_test): Add more tests.
32220 * sysdeps/i386/fpu/libm-test-ulps: Update.
32221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32223 2012-03-21 Allan McRae <allan@archlinux.org>
32225 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32227 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32230 * math/w_exp2.c: Do not include <float.h>.
32231 (o_threshold, u_threshold): Remove.
32232 (__exp2): Calculate result before checking finiteness and calling
32234 * math/w_exp2f.c: Likewise.
32235 * math/w_exp2l.c: Likewise.
32236 * math/libm-test.inc (exp2_test): Require overflow exception for
32240 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32241 range of signed 64-bit integers before using fistpll. Remove
32242 checks for whether integers fit in mantissa bits.
32243 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32244 the range of signed 32-bit integers before using fistpl. Remove
32245 checks for whether integers fit in mantissa bits.
32246 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32247 (__ieee754_powl): Test for y outside the range of signed 64-bit
32248 integers before using fistpll. Reduce 64-bit values to 63-bit
32250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32251 divide-by-zero is raised for zero to large negative powers.
32252 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32253 (__ieee754_powl): Test for y outside the range of signed 64-bit
32254 integers before using fistpll. Reduce 64-bit values to 63-bit
32256 * math/libm-test.inc (pow_test): Add more tests.
32258 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32260 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32261 <stdio-common/_itoa.h>.
32262 * debug/segfault.c: Likewise.
32263 * elf/dl-cache.c: Likewise.
32264 * elf/dl-minimal.c: Likewise.
32265 * elf/dl-misc.c: Likewise.
32266 * elf/dl-sysdep.c: Likewise.
32267 * elf/dl-version.c: Likewise.
32268 * elf/rtld.c: Likewise.
32269 * hurd/hurdsock.c: Likewise.
32270 * hurd/lookup-retry.c: Likewise.
32271 * malloc/malloc.c: Likewise.
32272 * malloc/mtrace.c: Likewise.
32273 * nscd/nscd_getgr_r.c: Likewise.
32274 * nscd/nscd_getpw_r.c: Likewise.
32275 * nscd/nscd_getserv_r.c: Likewise.
32276 * posix/getopt_init.c: Likewise.
32277 * posix/wordexp.c: Likewise.
32278 * stdio-common/_itoa.c: Likewise.
32279 * stdio-common/printf_fphex.c: Likewise.
32280 * stdio-common/vfprintf.c: Likewise.
32281 * string/_strerror.c: Likewise.
32282 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32283 * sysdeps/i386/i686/hp-timing.h: Likewise.
32284 * sysdeps/mach/_strerror.c: Likewise.
32285 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32286 * sysdeps/mach/hurd/sethostid.c: Likewise.
32287 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32288 * sysdeps/mach/xpg-strerror.c: Likewise.
32289 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32290 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32291 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32292 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32293 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32294 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32295 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32296 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32297 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32298 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32299 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32300 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32301 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32302 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32303 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32304 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32305 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32306 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32307 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32308 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32309 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32311 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32313 * stdio-common/_itoa.h: Moved to ...
32314 * sysdeps/generic/_itoa.h: Here.
32316 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32318 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32319 instead of "_itoa.h" and "_itowa.h".
32320 * stdio-common/vfprintf.: Likewise.
32322 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32324 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32326 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32327 (__signbit): Likwise.
32328 (llrintf): Likwise.
32331 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32333 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32336 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32338 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32339 OVERFLOW_EXCEPTION_OK.
32340 * math/libm-test.inc ("Philosophy"): Update comment about
32342 (OVERFLOW_EXCEPTION): Define.
32343 (OVERFLOW_EXCEPTION_OK): Likewise.
32344 (INVALID_EXCEPTION_OK): Renumber.
32345 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32346 (IGNORE_ZERO_INF_SIGN): Likewise.
32347 (test_exceptions): Handle FE_OVERFLOW.
32348 (exp10_test): Expect overflow exceptions.
32349 (exp2_test): Likewise.
32350 (expm1_test): Likewise.
32351 (nextafter_test): Likewise.
32352 (pow_test): Likewise.
32353 (scalbn_test): Likewise.
32354 (scalbln_test): Likewise.
32356 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32358 * sysdeps/x86_64/bits/atomic.h
32359 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32361 (atomic_exchange_acq): Likewise.
32362 (__arch_exchange_and_add_body): Likewise.
32363 (__arch_add_body): Likewise.
32364 (atomic_add_negative): Likewise.
32365 (atomic_add_zero): Likewise.
32367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32370 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32372 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32375 Check __x86_64__ instead of __WORDSIZE.
32377 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32381 2012-03-19 David S. Miller <davem@davemloft.net>
32383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32385 * sysdeps/sparc/fpu/fenv_private.h: New file.
32386 * sysdeps/sparc/fpu/math_private.h: Use it.
32387 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32389 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32390 (libc_feholdexcept_setroundl): Remove.
32391 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32393 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32394 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32396 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32398 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32399 int64_t instead of long int.
32400 (INSERT_WORDS64): Likwise.
32402 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32404 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32405 _Unwind_GetCFA return to _Unwind_Ptr first.
32407 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32410 * math/s_clog.c: Include <float.h>.
32411 (__clog): Scale large or subnormal inputs.
32412 * math/s_clogf.c: Likewise.
32413 * math/s_clogl.c: Likewise.
32414 * math/s_clog10.c: Include <float.h>.
32415 (M_LOG10_2): Define.
32416 (__clog10): Scale large or subnormal inputs.
32417 * math/s_clog10f.c: Likewise.
32418 * math/s_clog10l.c: Likewise.
32419 * math/libm-test.inc (clog_test): Add more tests.
32420 (clog10_test): Likewise.
32421 * sysdeps/i386/fpu/libm-test-ulps: Update.
32422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32425 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32427 * math/libm-test.inc (atan2_test): Add another test.
32429 * Makerules (common-objdir-compile): Remove.
32430 * sysdeps/unix/Makefile (config-generated): Do not add
32431 $(unix-generated) to variable.
32432 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32433 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32435 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32437 [generic bits/local_lim.h] (before-compile): Do not append to
32439 [generic bits/local_lim.h] (common-generated): Likewise.
32440 [generic sys/param.h] (before-compile): Do not append to variable.
32441 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32442 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32443 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32444 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32446 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32447 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32448 [generic sys/param.h] ($(addprefix
32449 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32450 [generic sys/param.h] (common-generated): Do not append to
32452 [generic sys/param.h] (sysdep_headers): Likewise.
32453 [generic bits/errno.h] (before-compile): Do not append to
32455 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32457 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32458 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32459 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32460 [generic bits/errno.h] (common-generated): Do not append to
32462 [generic bits/ioctls.h] (before-compile): Do not append to
32464 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32466 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32467 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32468 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32470 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32471 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32472 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32473 [generic bits/ioctls.h] (common-generated): Do not append to
32475 [generic sys/syscall.h] (syscall.h): Remove variable.
32476 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32478 [generic sys/syscall.h] (before-compile): Do not append to
32480 [generic sys/syscall.h] (common-generated): Likewise.
32481 * sysdeps/unix/errnos-tmpl.c: Remove file.
32482 * sysdeps/unix/errnos.awk: Likewise.
32483 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32484 * sysdeps/unix/ioctls.awk: Likewise.
32485 * sysdeps/unix/mk-local_lim.c: Likewise.
32486 * sysdeps/unix/snarf-ioctls: Likewise.
32488 2012-03-19 Richard Henderson <rth@twiddle.net>
32490 * sysdeps/i386/fpu/fenv_private.h: New file.
32491 * sysdeps/i386/fpu/math_private.h: Use it.
32492 (math_opt_barrier, math_force_eval): Remove.
32493 (libc_feholdexcept_setround_53bit): Remove.
32494 (libc_feupdateenv_53bit): Remove.
32495 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32496 (math_opt_barrier, math_force_eval): Remove.
32497 (libc_feholdexcept): Remove.
32498 (libc_feholdexcept_setround): Remove.
32499 (libc_fetestexcept, libc_fesetenv): Remove.
32500 (libc_feupdateenv_test): Remove.
32501 (libc_feupdateenv, libc_feholdsetround): Remove.
32502 (libc_feresetround): Remove.
32504 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32505 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32507 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32508 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32509 (libc_feupdateenv_testl): New.
32510 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32511 (libc_feupdateenv_testf): New.
32512 (libc_feupdateenv): Use libc_feupdateenv_test.
32513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32516 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32517 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32518 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32519 (libc_feresetround_noex): New.
32520 (libc_feresetround_noexf): New.
32521 (libc_feresetround_noexl): New.
32522 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32523 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32524 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32525 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32530 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32531 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32532 SET_RESTORE_ROUND_NOEX.
32533 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32534 SET_RESTORE_ROUND_NOEXF.
32535 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32536 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32537 (libc_feholdsetroundf): New.
32538 (libc_feresetround, libc_feresetroundf): New.
32540 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32541 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32542 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32544 * sysdeps/generic/math_private.h: Include <fenv.h>.
32545 (default_libc_feholdexcept): New.
32546 (default_libc_feholdexcept_setround): New.
32547 (default_libc_fesetenv, default_libc_feupdateenv): New.
32548 (libc_feholdexcept): Only define if undefined.
32549 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32550 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32551 (libc_feholdexcept_setroundl): Likewise.
32552 (libc_feholdexcept_setround_53bit): Likewise.
32553 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32554 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32555 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32556 (libc_feupdateenv_53bit): Likewise.
32557 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32558 (libc_feholdexcept): Convert from macro to inline function.
32559 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32560 (libc_fesetenv, libc_feupdateenv): Likewise.
32562 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32563 not previously defined.
32564 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32565 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32566 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32567 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32568 * sysdeps/ieee754/flt-32/math_private.h: New file.
32569 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32570 math_private.h below SET_FLOAT_WORD.
32571 (__isnan, __isinf_ns, __finite): Remove.
32572 (__isnanf, __isinf_nsf, __finitef): Remove.
32574 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32578 2012-03-17 David S. Miller <davem@davemloft.net>
32581 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32584 2012-03-16 David S. Miller <davem@davemloft.net>
32586 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32590 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32592 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32593 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32594 sysdep_routines when subdir is sysvipc.
32595 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32596 __getshmlba helper.
32598 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32600 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32602 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32608 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32609 (__lround): Renamed to ...
32610 (__llround): This. Replace long int with long long int.
32611 Define lround functions as aliases of llround functions.
32612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32614 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32616 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32617 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32618 adresses to uintptr_t. Replace "long int" and "unsigned long
32619 int" with "greg_t" on va_arg.
32621 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32623 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32624 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32626 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32627 Move e_machine check before EI_CLASS check. Handle x32
32628 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32629 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32630 SKIP_EM_IA_64 and include
32631 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32633 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32634 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32635 (add_system_dir): New macro.
32637 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32638 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32640 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32651 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32653 * math/w_j0f.c (j0f): Likewise.
32655 * math/w_j0l.c (__j0l): Likewise.
32657 * math/w_j1.c (j1): Likewise.
32659 * math/w_j1f.c (j1f): Likewise.
32661 * math/w_j1l.c (__j1l): Likewise.
32663 * math/w_jn.c (jn): Likewise.
32665 * math/w_jnf.c (jnf): Likewise.
32667 * math/w_jnl.c (__jnl): Likewise.
32669 * math/libm-test.inc (j0_test): Add more tests.
32670 (j1_test): Likewise.
32671 (jn_test): Likewise. Add trailing semicolon to existing test.
32672 (y0_test): Likewise.
32673 (y1_test): Likewise.
32674 * sysdeps/i386/fpu/libm-test-ulps: Update.
32675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32679 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32680 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32681 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32682 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32683 (__tanl): Set errno for infinite argument.
32684 * sysdeps/i386/fpu/mptan.c: Remove.
32685 * sysdeps/i386/fpu/s_tan.S: Likewise.
32686 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32687 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32688 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32689 * math/libm-test.inc (tan_test): Add more tests and enable more
32690 tests for double and long double.
32691 * sysdeps/i386/fpu/libm-test-ulps: Update.
32692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32694 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32696 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32697 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32699 2012-03-16 Roland McGrath <roland@hack.frob.com>
32701 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32702 * configure.in: Use it for both main tree and add-ons.
32703 * configure: Regenerated.
32705 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32707 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32709 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32711 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32715 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32716 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32721 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32722 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32723 != 0 for prec == 2.
32724 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32725 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32726 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32727 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32728 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32729 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32730 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32731 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32732 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32733 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32734 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32735 * math/libm-test.inc (cos_test): Add more tests and enable more
32736 tests for long double.
32737 (sin_test): Likewise.
32738 (sincos_test): Likewise.
32739 * sysdeps/i386/fpu/libm-test-ulps: Update.
32740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32742 2012-03-16 David S. Miller <davem@davemloft.net>
32744 * sysdeps/sparc/fpu/math_private.h: New file.
32746 2012-03-15 David S. Miller <davem@davemloft.net>
32748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32762 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32763 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32765 * sysdeps/sparc/sparc-ifunc.h: New file.
32766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32806 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32807 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32811 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32813 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32817 2012-03-15 Andreas Jaeger <aj@suse.de>
32820 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32821 ieee754/flt-32 implementation for sin, cos and sincos.
32822 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32823 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32824 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32825 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32826 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32827 ieee754/flt-32 implementation for tan.
32829 * math/libm-test.inc (cos_test): Enable some large input tests for
32831 (sin_test): Likewise.
32832 (sincos_test): Likewise.
32833 (tan_test): Add tests for large input.
32835 * sysdeps/i386/fpu/libm-test-ulps: Update.
32837 2012-03-15 Andreas Jaeger <aj@suse.de>
32840 * math/libm-test.inc (cos_test): Add more test cases.
32841 (sin_test): Likewise.
32842 (sincos_test): Likewise.
32844 2012-03-15 Andreas Jaeger <aj@suse.de>
32847 * math/libm-test.inc (cos_test): Add a test case for large input
32849 (sin_test): Likewise.
32850 (sincos_test): Likewise.
32852 2012-03-15 Andreas Jaeger <aj@suse.de>,
32853 Joseph Myers <joseph@codesourcery.com>
32856 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32857 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32858 * sysdeps/i386/fpu/branred.c: Likewise.
32859 * sysdeps/i386/fpu/dosincos.c: Likewise.
32860 * sysdeps/i386/fpu/mpa.c: Likewise.
32861 * sysdeps/i386/fpu/s_cos.S: Likewise.
32862 * sysdeps/i386/fpu/s_sin.S: Likewise.
32863 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32864 * sysdeps/i386/fpu/sincos32.c: Likewise.
32866 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32868 (libc_feupdateenv_53bit): Define.
32869 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32871 (libc_feupdateenv_53bit): Define.
32873 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32874 53 bit (without extend i386 double precision).
32876 * math/libm-test.inc (sincos_test): Add tests for large input.
32880 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32882 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32886 2012-03-15 David S. Miller <davem@davemloft.net>
32888 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32889 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32890 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32891 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32916 fmin/fmax sysdep routines.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32919 2012-03-14 David S. Miller <davem@davemloft.net>
32921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32942 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32948 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32993 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32998 * sysdeps/sparc/configure.in: New file.
32999 * sysdeps/sparc/configure: Generate.
33000 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33001 * configure: Regenerate.
33002 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33003 * config.make.in (have-as-vis3): New.
33004 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33005 available use -Av9d instead of -Av9a.
33006 * sysdeps/sparc/sparc64/Makefile: Likewise.
33007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33017 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33020 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33022 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33023 fzeros/fnegs to load 0x80000000 into a float register instead of
33025 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33027 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33031 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33032 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33033 ($(inst_includedir)/bits/syscall.h): Remove rule.
33034 ($(objpfx)bits/syscall.d): Include instead of
33035 $(objpfx)syscall-list.d.
33036 (generated): Change syscall-list.h and syscall-list.d to
33037 bits/syscall.h and bits/syscall.d.
33039 2012-03-14 Roland McGrath <roland@hack.frob.com>
33042 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33044 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33047 * math/s_csqrt.c: Include <float.h>.
33048 (__csqrt): Scale large or subnormal inputs.
33049 * math/s_csqrtf.c: Likewise.
33050 * math/s_csqrtl.c: Likewise.
33051 * math/libm-test.inc (csqrt_test): Add more tests.
33052 * sysdeps/i386/fpu/libm-test-ulps: Update.
33053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33056 * math/libm-test.inc (hypot_test): Add more tests.
33058 2012-03-13 David S. Miller <davem@davemloft.net>
33061 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33062 double-precision for the calculation instead of scaling.
33064 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33066 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33067 manipulate bits before adding and subtracting TWO52[sx].
33068 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33069 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33071 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33073 2012-03-13 David S. Miller <davem@davemloft.net>
33075 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33076 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33078 rtld-global-offsets.h
33079 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33081 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33084 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33086 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33087 'err' in the ifdef scope in which it is actually used.
33089 * nss/nss_db/db-init.c: Include string.h
33091 2012-03-12 David S. Miller <davem@davemloft.net>
33093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33094 masking out of the most significant byte of random value used.
33095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33096 Fix coding style in previous change.
33098 * sysdeps/unix/sysv/linux/kernel-features.h
33099 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33100 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33102 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33105 2012-03-11 David S. Miller <davem@davemloft.net>
33107 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33108 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33109 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33110 for 'resultvar' otherwise things get truncated on 64-bit.
33112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33113 Fix masking out of the most significant byte of random value used.
33115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33117 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33121 2012-03-09 David S. Miller <davem@davemloft.net>
33123 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33124 variables with appropriate CPP guards.
33125 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33126 frame pointer, not the stack pointer. Correct layout comments. Fix test
33127 on resulting framesize and the management of the outregs buffer for pltexit.
33128 Preserve floating point return values across _dl_call_pltexit call.
33129 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33130 framesize and the management of the outregs buffer for pltexit.
33131 Preserve floating point return values across _dl_call_pltexit
33133 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33134 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33135 (print_exit): Fix format string for return register value.
33137 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33139 * sunrpc/Makefile (others): Add rpcgen.
33140 ($(objpfx)rpcgen): Remove special build rule and dependency on
33142 * sunrpc/rpcgen.c: New file.
33144 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33147 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33148 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33149 * sysdeps/i386/crti.S: Likewise.
33150 * sysdeps/i386/crtn.S: Likewise.
33151 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33152 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33153 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33154 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33155 * sysdeps/sh/crti.S: Likewise.
33156 * sysdeps/sh/crtn.S: Likewise.
33157 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33160 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33162 * locale/programs/locfile-kw.gperf: Likewise.
33163 * locale/programs/charmap-kw.h: Regenerated.
33164 * locale/programs/locfile-kw.h: Likewise.
33167 * intl/plural.y: Replace FSF snail mail address with URL.
33168 * intl/plural.c: Regenerated.
33170 2012-03-09 Richard Henderson <rth@twiddle.net>
33172 * include/math_private.h: Remove file.
33173 * math/math_private.h: Move file ...
33174 * sysdeps/generic/math_private.h: ... here.
33176 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33177 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33178 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33180 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33181 and <math_private.h>.
33182 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33183 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33184 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33185 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33186 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33187 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33190 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33193 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33195 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33197 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33198 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33199 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33200 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33201 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33203 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33204 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33206 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33212 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33214 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33215 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33216 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33219 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33220 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33222 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33223 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33224 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33225 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33226 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33228 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33229 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33233 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33243 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33245 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33246 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33250 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33251 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33252 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33253 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33254 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33256 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33265 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33266 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33269 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33270 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33271 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33273 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33274 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33275 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33276 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33277 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33278 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33279 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33280 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33281 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33282 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33283 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33284 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33285 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33287 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33288 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33289 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33290 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33292 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33293 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33294 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33296 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33297 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33298 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33299 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33300 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33301 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33302 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33303 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33305 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33306 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33307 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33308 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33309 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33310 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33311 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33312 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33315 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33316 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33317 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33318 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33319 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33320 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33321 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33323 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33324 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33325 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33326 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33327 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33328 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33329 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33330 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33331 * sysdeps/ieee754/k_standard.c: Likewise.
33332 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33333 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33335 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33336 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33337 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33338 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33342 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33343 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33344 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33345 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33346 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33347 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33348 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33349 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33351 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33352 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33354 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33360 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33365 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33366 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33371 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33372 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33375 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33376 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33377 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33383 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33384 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33385 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33386 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33387 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33388 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33389 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33390 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33393 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33394 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33395 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33397 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33398 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33399 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33415 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33416 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33426 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33427 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33428 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33435 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33436 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33439 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33446 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33447 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33451 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33452 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33454 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33459 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33460 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33464 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33477 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33478 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33479 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33481 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33482 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33484 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33485 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33486 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33487 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33488 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33489 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33490 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33491 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33492 * sysdeps/ieee754/s_lib_version.c: Likewise.
33493 * sysdeps/ieee754/s_matherr.c: Likewise.
33494 * sysdeps/ieee754/s_signgam.c: Likewise.
33495 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33496 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33497 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33498 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33499 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33500 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33501 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33502 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33503 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33504 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33505 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33506 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33507 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33508 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33509 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33510 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33511 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33512 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33513 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33517 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33519 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33520 * sunrpc/rpc_main.c: Likewise.
33521 * sunrpc/rpc_svcout.c: Likewise.
33523 2012-03-09 David S. Miller <davem@davemloft.net>
33525 * include/math_private.h: New file.
33527 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33529 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33530 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33531 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33532 from <bits/socket_type.h>.
33533 (enum __socket_type): Don't define here.
33534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33536 bits/socket_type.h.
33539 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33540 checking __USE_GNU.
33542 * Makerules ($(inst_includedir)/%.h): New rule.
33543 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33544 (install-others): Remove variable setting.
33545 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33547 2012-03-08 Richard Henderson <rth@twiddle.net>
33549 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33550 from macro to inline function; merge with the
33551 !__LIBC_INTERNAL_MATH_INLINES version.
33552 (__ieee754_sqrtf): Likewise.
33554 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33555 to inline function.
33556 (__rintf, __floor, __floorf): Likewise.
33558 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33559 macro to inline function.
33560 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33563 not <math/math_private.h>.
33565 2012-03-08 David S. Miller <davem@davemloft.net>
33567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33569 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33571 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33573 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33575 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33576 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33578 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33580 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33581 be defined individually, they must be defined as a block. Define
33582 S for printing a string instead of hidint the different by using a
33583 macro for adding the 'l'.
33584 * stdio-common/tst-fphex-wide.c: Adjust.
33586 2012-03-07 Marek Polacek <polacek@redhat.com>
33588 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33590 2012-03-08 Marek Polacek <polacek@redhat.com>
33593 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33594 * stdio-common/tst-fphex.c: Define a few macros to make the
33595 test reusable. Use them.
33596 * stdio-common/tst-fphex-wide.c: New file.
33598 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33601 * manual/macros.texi (gnusystems): New macro.
33602 (nongnusystems): Likewise.
33603 (gnulinuxhurdsystems): Likewise.
33604 (gnuhurdsystems): Likewise..
33605 (gnulinuxsystems): Likewise.
33606 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33607 variants of the GNU system, not "GNU system".
33608 * manual/conf.texi: Likewise.
33609 * manual/errno.texi: Likewise. Update example of errno macro
33611 * manual/filesys.texi: Likewise.
33612 (getumask): Document as specific to GNU/Hurd.
33613 * manual/install.texi: Likewise. Reword some references to
33615 * manual/intro.texi: Likewise.
33616 * manual/io.texi: Likewise.
33617 (File Name Portability): Detail which constraints are inapplicable
33618 to all GNU systems and which are only inapplicable to GNU/Hurd.
33619 * manual/job.texi: Likewise.
33620 * manual/llio.texi: Likewise.
33621 (O_NOCTTY): Document as present on GNU/Linux.
33622 * manual/maint.texi: Likewise.
33623 * manual/memory.texi: Likewise.
33624 * manual/pattern.texi: Likewise.
33625 * manual/pipe.texi: Likewise.
33626 * manual/process.texi: Likewise.
33627 * manual/resource.texi: Likewise.
33628 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33630 * manual/setjmp.texi: Likewise.
33631 * manual/signal.texi: Likewise.
33632 * manual/startup.texi: Likewise.
33633 * manual/stdio.texi: Likewise.
33634 * manual/terminal.texi: Likewise.
33635 (ONLCR): Document as POSIX.
33636 (OXTABS): Document availability on GNU/Linux as XTABS.
33637 (ONOEOT): Document availability separately from other bits.
33638 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33639 * manual/time.texi: Likewise.
33640 * manual/users.texi: Likewise.
33641 * INSTALL: Regenerated.
33642 * sysdeps/gnu/errlist.c: Regenerated.
33644 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33645 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33646 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33648 * configure: Regenerated.
33650 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33652 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33653 default includes instead of AC_HEADER_CHECK.
33654 * sysdeps/i386/configure: Regenerated.
33657 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33658 * math/s_cacoshf.c (__cacoshf): Likewise.
33659 * math/s_cacoshl.c (__cacoshl): Likewise.
33660 * math/s_casinh.c (__casinh): Set signs of result from argument.
33661 * math/s_casinhf.c (__casinhf): Likewise.
33662 * math/s_casinhl.c (__casinhl): Likewise.
33663 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33664 (casinh_test): Add more tests.
33665 * sysdeps/i386/fpu/libm-test-ulps: Update.
33666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33668 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33670 * po/zh_TW.po: Update from translation team.
33672 * login/Makefile (distribute): Remove variable.
33673 * catgets/Makefile: Likewise.
33674 * mach/Makefile: Likewise.
33675 * malloc/Makefile: Likewise.
33676 * misc/Makefile: Likewise.
33677 * iconv/Makefile: Likewise.
33678 * nscd/Makefile: Likewise.
33679 * hurd/Makefile: Likewise.
33680 * manual/Makefile: Likewise.
33681 * locale/Makefile: Likewise.
33682 * intl/Makefile: Likewise.
33683 * conform/Makefile: Likewise.
33684 * nss/Makefile: Likewise.
33685 * time/Makefile: Likewise.
33686 * soft-fp/Makefile: Likewise.
33687 * dirent/Makefile: Likewise.
33688 * gmon/Makefile: Likewise.
33689 * po/Makefile: Likewise.
33690 * rt/Makefile: Likewise.
33691 * socket/Makefile: Likewise.
33692 * math/Makefile: Likewise.
33693 * signal/Makefile: Likewise.
33694 * debug/Makefile: Likewise.
33695 * elf/Makefile: Likewise.
33696 * timezone/Makefile: Likewise.
33697 * stdlib/Makefile: Likewise.
33698 * iconvdata/Makefile: Likewise.
33699 * sunrpc/Makefile: Likewise.
33700 * io/Makefile: Likewise.
33701 * argp/Makefile: Likewise.
33702 * inet/Makefile: Likewise.
33703 * hesiod/Makefile: Likewise.
33704 * grp/Makefile: Likewise.
33705 * csu/Makefile: Likewise.
33706 * wctype/Makefile: Likewise.
33707 * crypt/Makefile: Likewise.
33708 * libio/Makefile: Likewise.
33709 * string/Makefile: Likewise.
33710 * nis/Makefile: Likewise.
33711 * resolv/Makefile: Likewise.
33712 * stdio-common/Makefile: Likewise.
33713 * wcsmbs/Makefile: Likewise.
33714 * dlfcn/Makefile: Likewise.
33715 * posix/Makefile: Likewise.
33718 * timezone/Makefile: Don't install timezone files, just the programs
33721 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33723 * nss/databases.def: Add missing gshadow entry.
33725 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33727 2012-03-06 Marek Polacek <polacek@redhat.com>
33730 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33731 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33732 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33733 * stdio-common/tst-long-dbl-fphex.c: New file.
33735 2012-03-06 David S. Miller <davem@davemloft.net>
33737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33738 (set_obp_int): New function.
33739 (get_obp_int): New function.
33740 (__get_clockfreq_via_dev_openprom): Likewise.
33741 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33742 Avoid unused variable warnings on 'val' and use builtin_expect.
33743 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33745 (INLINE_CLONE_SYSCALL): Likewise.
33747 2012-03-05 David S. Miller <davem@davemloft.net>
33749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33751 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33756 only for |x| >= 40.
33757 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33759 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33762 Replace gettimeofday with __vdso_gettimeofday.
33764 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33765 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33766 __vdso_clock_gettime and __vdso_getcpu.
33768 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33769 time with __vdso_time.
33771 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33773 * manual/lang.texi (size_t): Note types to which size_t may be
33774 equivalent with the GNU C Library, but do not describe when
33775 differences between them are significant.
33777 2012-03-05 Andreas Jaeger <aj@suse.de>
33779 * sysdeps/i386/fpu/libm-test-ulps: Update.
33781 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33784 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33785 (__ieee754_pow): Save and restore rounding mode and use
33786 round-to-nearest for main computations.
33787 * math/libm-test.inc (pow_test_tonearest): New function.
33788 (pow_test_towardzero): Likewise.
33789 (pow_test_downward): Likewise.
33790 (pow_test_upward): Likewise.
33791 (main): Call the new functions.
33792 * sysdeps/i386/fpu/libm-test-ulps: Update.
33793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796 * math/libm-test.inc (cosh_test_tonearest): New function.
33797 (cosh_test_towardzero): Likewise.
33798 (cosh_test_downward): Likewise.
33799 (cosh_test_upward): Likewise.
33800 (sinh_test_tonearest): Likewise.
33801 (sinh_test_towardzero): Likewise.
33802 (sinh_test_downward): Likewise.
33803 (sinh_test_upward): Likewise.
33804 (main): Call the new functions.
33805 * sysdeps/i386/fpu/libm-test-ulps: Update.
33806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33808 2012-03-05 Tom de Vries <tom@codesourcery.com>
33810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33811 default stack guard is set in last bytes.
33812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33814 2012-03-05 Kees Cook <keescook@chromium.org>
33816 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33819 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33820 possibly allocate from heap instead of stack.
33821 * stdio-common/bug-vfprintf-nargs.c: New file.
33822 * stdio-common/Makefile (tests): Add nargs overflow test.
33824 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33828 2012-03-03 Marek Polacek <polacek@redhat.com>
33830 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33831 * math/math_private.h: Likewise.
33832 * stdlib/tst-strtod.c: Likewise.
33833 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33834 * sysdeps/x86_64/bits/atomic.h: Likewise.
33836 2012-03-02 David S. Miller <davem@davemloft.net>
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33842 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33843 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33844 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33845 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33847 2012-03-02 Roland McGrath <roland@hack.frob.com>
33850 * manual/examples/README: New file, says the example source files
33851 can be used under GPL>=2.
33852 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33853 line containing just "*/".
33854 * manual/examples/add.c: Add copyright header (GPL>=2).
33855 * manual/examples/argp-ex1.c: Likewise.
33856 * manual/examples/argp-ex2.c: Likewise.
33857 * manual/examples/argp-ex3.c: Likewise.
33858 * manual/examples/argp-ex4.c: Likewise.
33859 * manual/examples/atexit.c: Likewise.
33860 * manual/examples/db.c: Likewise.
33861 * manual/examples/dir.c: Likewise.
33862 * manual/examples/dir2.c: Likewise.
33863 * manual/examples/execinfo.c: Likewise.
33864 * manual/examples/filecli.c: Likewise.
33865 * manual/examples/filesrv.c: Likewise.
33866 * manual/examples/fmtmsgexpl.c: Likewise.
33867 * manual/examples/genpass.c: Likewise.
33868 * manual/examples/inetcli.c: Likewise.
33869 * manual/examples/inetsrv.c: Likewise.
33870 * manual/examples/isockad.c: Likewise.
33871 * manual/examples/longopt.c: Likewise.
33872 * manual/examples/memopen.c: Likewise.
33873 * manual/examples/memstrm.c: Likewise.
33874 * manual/examples/mkfsock.c: Likewise.
33875 * manual/examples/mkisock.c: Likewise.
33876 * manual/examples/mygetpass.c: Likewise.
33877 * manual/examples/pipe.c: Likewise.
33878 * manual/examples/popen.c: Likewise.
33879 * manual/examples/rprintf.c: Likewise.
33880 * manual/examples/search.c: Likewise.
33881 * manual/examples/select.c: Likewise.
33882 * manual/examples/setjmp.c: Likewise.
33883 * manual/examples/sigh1.c: Likewise.
33884 * manual/examples/sigusr.c: Likewise.
33885 * manual/examples/stpcpy.c: Likewise.
33886 * manual/examples/strdupa.c: Likewise.
33887 * manual/examples/strftim.c: Likewise.
33888 * manual/examples/strncat.c: Likewise.
33889 * manual/examples/subopt.c: Likewise.
33890 * manual/examples/swapcontext.c: Likewise.
33891 * manual/examples/termios.c: Likewise.
33892 * manual/examples/testopt.c: Likewise.
33893 * manual/examples/testpass.c: Likewise.
33894 * manual/examples/timeval_subtract.c: Likewise.
33897 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33899 * manual/timeval_subtract.c.texi: ... here, new file.
33901 2012-03-02 David S. Miller <davem@davemloft.net>
33903 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33905 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33908 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33909 (__sin): Save and restore rounding mode and use round-to-nearest
33910 for all computations.
33911 (__cos): Save and restore rounding mode and use round-to-nearest
33912 for all computations.
33913 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33915 (tan): Save and restore rounding mode and use round-to-nearest for
33917 * math/libm-test.inc (cos_test_tonearest): New function.
33918 (cos_test_towardzero): Likewise.
33919 (cos_test_downward): Likewise.
33920 (cos_test_upward): Likewise.
33921 (sin_test_tonearest): Likewise.
33922 (sin_test_towardzero): Likewise.
33923 (sin_test_downward): Likewise.
33924 (sin_test_upward): Likewise.
33925 (tan_test_tonearest): Likewise.
33926 (tan_test_towardzero): Likewise.
33927 (tan_test_downward): Likewise.
33928 (tan_test_upward): Likewise.
33929 (main): Call the new functions.
33930 * sysdeps/i386/fpu/libm-test-ulps: Update.
33931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33934 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33935 small n, then large n, before computing and testing k+n.
33936 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33941 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33942 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33943 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33944 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33946 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33949 * math/libm-test.inc (scalbn_test): Add more tests.
33950 (scalbln_test): Likewise.
33952 * manual/filesys.texi (mode_t): Describe constraints on size and
33953 signedness, not exact equivalence to a particular type.
33955 (ino64_t): Likewise.
33957 (nlink_t): Likewise.
33958 (blkcnt_t): Likewise.
33959 (blkcnt64_t): Likewise.
33960 * manual/llio.texi (off_t): Likewise.
33963 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33964 (__ieee754_exp): Save and restore rounding mode and use
33965 round-to-nearest for all computations.
33966 * math/libm-test.inc (exp_test_tonearest): New function.
33967 (exp_test_towardzero): Likewise.
33968 (exp_test_downward): Likewise.
33969 (exp_test_upward): Likewise.
33970 (main): Call the new functions.
33971 * sysdeps/i386/fpu/libm-test-ulps: Update.
33972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33974 2012-03-01 Chris Demetriou <cgd@google.com>
33976 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33977 have predictable order.
33979 2012-03-01 David S. Miller <davem@davemloft.net>
33981 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33983 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33988 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33989 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33990 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33992 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33993 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33994 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33995 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33996 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34000 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34001 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34002 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34004 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34006 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34007 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34008 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34011 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34012 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34013 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34014 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34015 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34017 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34020 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34021 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34022 * sysdeps/sparc/elf/configure: Regenerated.
34024 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34026 * configure.in (AS, LD): Require binutils 2.20 or later.
34027 * configure: Regenerated.
34028 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34029 as required minimum version.
34030 * INSTALL: Regenerated.
34034 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34035 before squaring exponent.
34036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34037 bottom long double and 27 bits of top long double before squaring
34039 * math/libm-test.inc (erfc_test): Add more tests.
34040 * sysdeps/i386/fpu/libm-test-ulps: Update.
34041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34044 2012-03-01 Kai Tietz <ktietz@redhat.com>
34046 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34047 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34048 containing bit-fields.
34049 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34050 * soft-fp/single.h (_FP_UNION_S): Likewise.
34051 * soft-fp/double.h (_FP_UNION_D): Likewise.
34053 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34056 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34057 not include ../strcmp.S.
34058 [USE_AS_STRNCASECMP_L]: Likewise.
34059 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34060 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34061 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34062 (__strncasecmp_l_ia32): Define as alias to
34063 __strncasecmp_l_nonascii.
34066 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34067 * sysdeps/i386/fpu/libm-test-ulps: Update.
34068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34070 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34073 2012-02-29 Jeff Law <law@redhat.com>
34075 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34076 out of bounds read.
34078 2012-02-29 Marek Polacek <polacek@redhat.com>
34081 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34082 * elf/Makefile: Add rules to run tst-unused-dep.out.
34084 2012-02-28 David S. Miller <davem@davemloft.net>
34086 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34087 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34089 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34090 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34091 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34093 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34095 * math/libm-test.inc (llround_test): Move one test from
34096 lround_test. Use TEST_f_L in moved test.
34097 (lround_test): Move misplaced test to llround_test. Add testcase
34100 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34102 * sysdeps/x86_64/fpu/e_expf.S: New file.
34103 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34105 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34108 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34109 of remain_len that may cause incomplete multi-byte character and
34111 * posix/bug-regex33.c: New file.
34112 * posix/Makefile (tests): Add bug-regex33.
34114 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34116 * manual/macros.texi: New file.
34117 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34118 * manual/libc.texinfo: Include macros.texi.
34119 * manual/creatute.texi: Likewise.
34120 * manual/install.texi: Likewise.
34121 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34122 @glibcadj{} in references to the GNU C Library.
34123 * manual/charset.texi: Likewise.
34124 * manual/conf.texi: Likewise.
34125 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34126 when not using those macros.
34127 * manual/creature.texi: Likewise.
34128 * manual/crypt.texi: Likewise.
34129 * manual/errno.texi: Likewise.
34130 * manual/filesys.texi: Likewise.
34131 * manual/header.texi: Likewise.
34132 * manual/install.texi: Likewise.
34133 * manual/intro.texi: Likewise.
34134 * manual/io.texi: Likewise.
34135 * manual/job.texi: Likewise.
34136 * manual/lang.texi: Likewise.
34137 * manual/libc.texiinfo: Likewise.
34138 * manual/llio.texi: Likewise.
34139 * manual/locale.texi: Likewise.
34140 * manual/maint.texi: Likewise.
34141 * manual/math.texi: Likewise.
34142 * manual/memory.texi: Likewise.
34143 * manual/message.texi: Likewise.
34144 * manual/nss.texi: Likewise.
34145 * manual/pattern.texi: Likewise.
34146 * manual/process.texi: Likewise.
34147 * manual/resource.texi: Likewise.
34148 * manual/search.texi: Likewise.
34149 * manual/setjmp.texi: Likewise.
34150 * manual/signal.texi: Likewise.
34151 * manual/socket.texi: Likewise.
34152 * manual/startup.texi: Likewise.
34153 * manual/stdio.texi: Likewise.
34154 * manual/string.texi: Likewise.
34155 * manual/sysinfo.texi: Likewise.
34156 * manual/syslog.texi: Likewise.
34157 * manual/terminal.texi: Likewise.
34158 * manual/time.texi: Likewise.
34159 * manual/users.texi: Likewise.
34160 * INSTALL: Regenerated.
34161 * NOTES: Regenerated.
34162 * sysdeps/gnu/errlist.c: Regenerated.
34164 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34166 * include/dirent.h: Include <dirstream.h> before
34169 2012-02-28 David S. Miller <davem@davemloft.net>
34171 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34172 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34173 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34174 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34176 2012-02-27 David S. Miller <davem@davemloft.net>
34178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34180 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34181 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34184 frame pointer instead of stack pointer relative arg slot.
34185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34186 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34187 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34189 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34192 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34194 2012-02-27 David S. Miller <davem@davemloft.net>
34196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34200 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34201 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34202 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34203 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34205 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34207 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34208 later. Allow versions 5-9.
34209 * configure: Regenerated.
34210 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34211 required minimum version and 4.6 as recommended version. Do not
34212 mention bugs in GCC 2.7 and 2.8.
34213 * INSTALL: Regenerated.
34215 2012-02-27 David S. Miller <davem@davemloft.net>
34217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34221 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34222 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34223 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34224 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34226 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34227 manipulate bits before adding and subtracting TWO112[sx].
34228 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34230 2012-02-27 Roland McGrath <roland@hack.frob.com>
34233 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34234 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34235 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34236 being in POSIX, because they are in 1003.1-2008.
34238 * rt/tst-aio.c: Include <fcntl.h>.
34239 * rt/tst-aio7.c: Likewise.
34240 * rt/tst-aio64.c: Likewise.
34242 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34244 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34246 * manual/install.texi (--with-headers): Describe headers as
34247 interface headers, not private headers.
34248 (Specific advice for GNU/Linux systems): Describe use of headers
34249 from "make headers_install", not private headers from older
34251 * INSTALL: Regenerated.
34252 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34254 * sysdeps/unix/sysv/linux/configure: Regenerated.
34256 * manual/llio.texi (fclean): Remove documentation.
34258 * manual/Makefile (libc-texi-generated): New variable. Include
34260 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34261 $(libc-texi-generated), not duplicated list of files.
34262 (version.texi, stamp-version): New rules.
34263 (realclean): Remove $(libc-texi-generated), not individual files
34264 from that list. Do not remove dir-add.texinfo.
34265 * manual/libc.texinfo: Comment out uses of edition numbers and
34266 references to printed manual. Remove last-updated dates.
34267 (EDITION): Comment out.
34269 (VERSION, UPDATED): Remove.
34270 (version.texi): Include.
34272 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34274 * sysdeps/posix/spawni.c: Include <signal.h>.
34275 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34276 * sysdeps/pthread/aio_fsync.c: Likewise.
34278 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34280 * conform/Makefile (tests): Run only when not cross-compiling and
34281 when fast-check is not defined.
34283 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34284 * conform/data/limits.h-data: Fixes for POSIX2008.
34285 * conform/run-conformtest.sh: Run all tests.
34286 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34288 * include/bits/dlfcn.h: Likewise.
34289 * include/langinfo.h: Likewise.
34290 * include/monetary.h: Likewise.
34291 * include/sys/poll.h: Likewise.
34293 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34295 * posix/spawn.h: Define __need_sigset_t.
34296 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34297 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34298 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34299 to get sigevent_t only.
34300 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34301 only for __USE_GNU.
34302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34304 process_vm_writev only for __USE_GNU.
34305 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34307 * conform/Makefile: For now ignore errors from run-conformtest.
34308 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34309 POSIX to avoid namespace pollution. Don't prepend headers.
34310 * conform/data/aio.h-data: Fixes for POSIX testing.
34311 * conform/data/fcntl.h-data: Likewise.
34312 * conform/data/glob.h-data: Likewise.
34313 * conform/data/grp.h-data: Likewise.
34314 * conform/data/pthread.h-data: Likewise.
34315 * conform/data/pwd.h-data: Likewise.
34316 * conform/data/signal.h-data: Likewise.
34317 * conform/data/spawn.h-data: Likewise.
34318 * conform/data/stdio.h-data: Likewise.
34319 * conform/data/stdlib.h-data: Likewise.
34320 * conform/data/stropts.h-data: Likewise.
34321 * conform/data/sys/mman.h-data: Likewise.
34322 * conform/data/sys/stat.h-data: Likewise.
34323 * conform/data/sys/types.h-data: Likewise.
34324 * conform/data/sys/wait.h-data: Likewise.
34325 * conform/data/time.h-data: Likewise.
34326 * conform/data/unistd.h-data: Likewise.
34327 * conform/data/utime.h-data: Likewise.
34329 * io/sys/stat.h: fchmod was always in POSIX.
34330 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34331 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34332 * rt/aio.h: Define __need_timespec before including <time.h>.
34333 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34334 struct. Add forward declaration of pthread_attr_t and use it in
34336 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34337 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34338 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34339 always remove CLK_TCK definition.
34341 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34343 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34345 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34347 * conform/run-conformtest.sh: New file.
34348 * conform/Makefile: Run run-conformtest for tests.
34349 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34352 * conform/data/uchar.h-data: New file.
34353 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34354 * conform/data/arpa/inet.h-data: Likewise.
34355 * conform/data/assert.h-data: Likewise.
34356 * conform/data/complex.h-data: Likewise.
34357 * conform/data/cpio.h-data: Likewise.
34358 * conform/data/ctype.h-data: Likewise.
34359 * conform/data/dirent.h-data: Likewise.
34360 * conform/data/dlfcn.h-data: Likewise.
34361 * conform/data/errno.h-data: Likewise.
34362 * conform/data/fcntl.h-data: Likewise.
34363 * conform/data/float.h-data: Likewise.
34364 * conform/data/fmtmsg.h-data: Likewise.
34365 * conform/data/fnmatch.h-data: Likewise.
34366 * conform/data/ftw.h-data: Likewise.
34367 * conform/data/glob.h-data: Likewise.
34368 * conform/data/grp.h-data: Likewise.
34369 * conform/data/iconv.h-data: Likewise.
34370 * conform/data/inttypes.h-data: Likewise.
34371 * conform/data/langinfo.h-data: Likewise.
34372 * conform/data/libgen.h-data: Likewise.
34373 * conform/data/limits.h-data: Likewise.
34374 * conform/data/locale.h-data: Likewise.
34375 * conform/data/math.h-data: Likewise.
34376 * conform/data/monetary.h-data: Likewise.
34377 * conform/data/mqueue.h-data: Likewise.
34378 * conform/data/ndbm.h-data: Likewise.
34379 * conform/data/net/if.h-data: Likewise.
34380 * conform/data/netdb.h-data: Likewise.
34381 * conform/data/netinet/in.h-data: Likewise.
34382 * conform/data/nl_types.h-data: Likewise.
34383 * conform/data/poll.h-data: Likewise.
34384 * conform/data/pthread.h-data: Likewise.
34385 * conform/data/pwd.h-data: Likewise.
34386 * conform/data/regex.h-data: Likewise.
34387 * conform/data/sched.h-data: Likewise.
34388 * conform/data/search.h-data: Likewise.
34389 * conform/data/semaphore.h-data: Likewise.
34390 * conform/data/setjmp.h-data: Likewise.
34391 * conform/data/signal.h-data: Likewise.
34392 * conform/data/spawn.h-data: Likewise.
34393 * conform/data/stdarg.h-data: Likewise.
34394 * conform/data/stdio.h-data: Likewise.
34395 * conform/data/stdlib.h-data: Likewise.
34396 * conform/data/string.h-data: Likewise.
34397 * conform/data/strings.h-data: Likewise.
34398 * conform/data/stropts.h-data: Likewise.
34399 * conform/data/sys/ipc.h-data: Likewise.
34400 * conform/data/sys/mman.h-data: Likewise.
34401 * conform/data/sys/msg.h-data: Likewise.
34402 * conform/data/sys/resource.h-data: Likewise.
34403 * conform/data/sys/select.h-data: Likewise.
34404 * conform/data/sys/sem.h-data: Likewise.
34405 * conform/data/sys/shm.h-data: Likewise.
34406 * conform/data/sys/socket.h-data: Likewise.
34407 * conform/data/sys/stat.h-data: Likewise.
34408 * conform/data/sys/statvfs.h-data: Likewise.
34409 * conform/data/sys/time.h-data: Likewise.
34410 * conform/data/sys/timeb.h-data: Likewise.
34411 * conform/data/sys/times.h-data: Likewise.
34412 * conform/data/sys/types.h-data: Likewise.
34413 * conform/data/sys/uio.h-data: Likewise.
34414 * conform/data/sys/un.h-data: Likewise.
34415 * conform/data/sys/utsname.h-data: Likewise.
34416 * conform/data/sys/wait.h-data: Likewise.
34417 * conform/data/syslog.h-data: Likewise.
34418 * conform/data/tar.h-data: Likewise.
34419 * conform/data/termios.h-data: Likewise.
34420 * conform/data/utime.h-data: Likewise.
34421 * conform/data/utmpx.h-data: Likewise.
34422 * conform/data/varargs.h-data: Likewise.
34423 * conform/data/wchar.h-data: Likewise.
34424 * conform/data/wctype.h-data: Likewise.
34425 * conform/data/wordexp.h-data: Likewise.
34427 * include/stropts.h: New file.
34428 * include/uchar.h: New file.
34429 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34430 * include/assert.h: Likewise.
34431 * include/ctype.h: Likewise.
34432 * include/dirent.h: Likewise.
34433 * include/dlfcn.h: Likewise.
34434 * include/fcntl.h: Likewise.
34435 * include/fnmatch.h: Likewise.
34436 * include/glob.h: Likewise.
34437 * include/grp.h: Likewise.
34438 * include/libio.h: Likewise.
34439 * include/locale.h: Likewise.
34440 * include/math.h: Likewise.
34441 * include/net/if.h: Likewise.
34442 * include/netdb.h: Likewise.
34443 * include/netinet/in.h: Likewise.
34444 * include/pthread.h: Likewise.
34445 * include/pwd.h: Likewise.
34446 * include/regex.h: Likewise.
34447 * include/sched.h: Likewise.
34448 * include/search.h: Likewise.
34449 * include/setjmp.h: Likewise.
34450 * include/signal.h: Likewise.
34451 * include/stdio.h: Likewise.
34452 * include/stdlib.h: Likewise.
34453 * include/string.h: Likewise.
34454 * include/sys/cdefs.h: Likewise.
34455 * include/sys/mman.h: Likewise.
34456 * include/sys/msg.h: Likewise.
34457 * include/sys/resource.h: Likewise.
34458 * include/sys/select.h: Likewise.
34459 * include/sys/socket.h: Likewise.
34460 * include/sys/stat.h: Likewise.
34461 * include/sys/statvfs.h: Likewise.
34462 * include/sys/time.h: Likewise.
34463 * include/sys/times.h: Likewise.
34464 * include/sys/uio.h: Likewise.
34465 * include/sys/utsname.h: Likewise.
34466 * include/sys/wait.h: Likewise.
34467 * include/termios.h: Likewise.
34468 * include/time.h: Likewise.
34469 * include/ulimit.h: Likewise.
34470 * include/unistd.h: Likewise.
34471 * include/utime.h: Likewise.
34472 * include/wchar.h: Likewise.
34473 * include/wctype.h: Likewise.
34474 * include/wordexp.h: Likewise.
34476 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34478 * time/time.h: TIME_UTC must be a macro.
34479 Make timespec_get available for ISO C11 only as well.
34481 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34483 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34484 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34486 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34488 * configure.in: Use -o not -a in test for unsupported multi-arch.
34490 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34492 * manual/texinfo.tex: Update to version 2012-01-19.16.
34494 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34496 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34498 2012-02-24 Roland McGrath <roland@hack.frob.com>
34501 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34502 * manual/fdl-1.3.texi: New file.
34503 * manual/fdl-1.1.texi: File removed.
34506 * manual/libc.texinfo (FDL_VERSION): New @set.
34507 Use it for mention of FDL in cover text.
34508 (Documentation License): Use it in @include file name.
34510 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34511 Roland McGrath <roland@hack.frob.com>
34514 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34515 not LONG_LONG_MAX and LONG_LONG_MIN.
34516 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34517 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34519 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34521 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34525 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34526 manipulate bits before adding and subtracting TWO23[sx].
34527 * math/libm-test.inc (nearbyint_test): Add more tests.
34529 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34532 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34533 bits before adding and subtracting TWO23[sx].
34534 * math/libm-test.inc (rint_test): Add more tests.
34535 (rint_test_tonearest): Likewise.
34536 (rint_test_towardzero): Likewise.
34537 (rint_test_downward): Likewise.
34538 (rint_test_upward: Likewise.
34540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34543 * include/stdc-predef.h: New file. Extracted from features.h.
34544 * include/features.h: Include stdc-predef.h.
34545 * Makefile (headers): Add stdc-predef.h.
34546 * CONFORMANCE (Compiler limitations): Update.
34548 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34550 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34552 2012-02-21 David S. Miller <davem@davemloft.net>
34554 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34557 2012-02-20 David S. Miller <davem@davemloft.net>
34559 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34560 using a normal save/restore sequence, rather than allocating a
34561 dummy stack frame just to store a frame pointer and restore.
34562 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34564 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34566 * manual/install.texi: Fix stray word in line-wrapped comment.
34568 2012-02-20 David S. Miller <davem@davemloft.net>
34570 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34571 both binutils and gcc support GOTDATA.
34573 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34574 "rd %pc" in the PIC register setup sequences.
34576 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34577 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34578 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34579 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34580 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34585 (SYSCALL_ERROR_HANDLER): Likewise.
34586 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34587 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34589 (SYSCALL_ERROR_HANDLER): Likewise.
34591 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34592 (HAVE_GCC_GOTDATA): New.
34593 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34594 relocation support in both binutils and gcc.
34595 * sysdeps/sparc/elf/configure: Regenerate.
34597 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34598 * sysdeps/sparc/sparc32/elf/configure: Delete.
34599 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34600 * sysdeps/sparc/sparc64/elf/configure: Delete.
34601 * sysdeps/sparc/elf/configure.in: New file.
34602 * sysdeps/sparc/elf/configure: Generate.
34604 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34605 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34606 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34607 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34608 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34610 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34612 * manual/install.texi: Do not mention specific glibc version
34614 * manual/libc.texinfo (VERSION, UPDATED): Update.
34615 (@copying): Use @copyright{} and range of years.
34617 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34620 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34621 [crti.S not in sysdirs] (generated): Do not append.
34622 [crti.S not in sysdirs] (omit-deps): Likewise.
34623 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34624 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34625 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34626 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34627 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34629 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34630 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34631 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34632 * csu/defs.awk: Remove file.
34633 * sysdeps/generic/initfini.c: Likewise.
34634 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34636 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34639 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34641 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34642 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34645 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34646 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34648 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34649 (__EPOLL_PACKED): Define to empty if not defined by
34651 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34655 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34657 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34658 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34660 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34662 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34666 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34668 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34670 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34671 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34675 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34678 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34680 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34682 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34683 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34685 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34687 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34690 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34692 * math/w_acos.c: Use non-signaling floating-point comparisons.
34693 * math/w_acosf.c: Likewise.
34694 * math/w_acosh.c: Likewise.
34695 * math/w_acoshf.c: Likewise.
34696 * math/w_acoshl.c: Likewise.
34697 * math/w_acosl.c: Likewise.
34698 * math/w_asin.c: Likewise.
34699 * math/w_asinf.c: Likewise.
34700 * math/w_asinl.c: Likewise.
34701 * math/w_atanh.c: Likewise.
34702 * math/w_atanhf.c: Likewise.
34703 * math/w_atanhl.c: Likewise.
34704 * math/w_exp2.c: Likewise.
34705 * math/w_exp2f.c: Likewise.
34706 * math/w_exp2l.c: Likewise.
34707 * math/w_j0.c: Likewise.
34708 * math/w_j0f.c: Likewise.
34709 * math/w_j0l.c: Likewise.
34710 * math/w_j1.c: Likewise.
34711 * math/w_j1f.c: Likewise.
34712 * math/w_j1l.c: Likewise.
34713 * math/w_jn.c: Likewise.
34714 * math/w_jnf.c: Likewise.
34715 * math/w_log.c: Likewise.
34716 * math/w_log10.c: Likewise.
34717 * math/w_log10f.c: Likewise.
34718 * math/w_log10l.c: Likewise.
34719 * math/w_log2.c: Likewise.
34720 * math/w_log2f.c: Likewise.
34721 * math/w_log2l.c: Likewise.
34722 * math/w_logf.c: Likewise.
34723 * math/w_logl.c: Likewise.
34724 * math/w_sqrt.c: Likewise.
34725 * math/w_sqrtf.c: Likewise.
34726 * math/w_sqrtl.c: Likewise.
34727 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34728 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34729 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34730 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34733 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34736 * manual/string.texi (strnlen): Use correct parameter name in
34737 equivalent expression.
34739 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34742 * manual/users.texi (seteuid): Consistently use neweuid for
34745 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34748 * manual/nss.texi (Services in the NSS configuration): Correct
34749 list of services in example configuration file.
34751 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34754 * manual/arith.texi: Remove statements about negative zero
34755 behaving identically to zero.
34757 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34760 * manual/install.texi: Do not document upgrading from libc5.
34762 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34765 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34767 2012-02-18 David S. Miller <davem@davemloft.net>
34769 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34770 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34771 %o7 across the call.
34772 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34775 SETUP_PIC_REG_LEAF.
34776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34777 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34778 * sysdeps/sparc/crtn.S: Likewise.
34780 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34782 * aout/Makefile: Remove.
34784 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34787 * manual/examples/argp-ex1.c (main): Format definition in GNU
34789 * manual/examples/argp-ex2.c (main): Likewise.
34790 * manual/examples/argp-ex3.c (main): Likewise.
34791 * manual/examples/argp-ex4.c (main): Likewise.
34792 * manual/examples/longopt.c (main): Use new-style prototype
34794 * manual/examples/strncat.c (main): Specify return type and use
34795 (void) for arguments.
34796 * manual/examples/subopt.c (main): Use char **argv argument.
34798 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34801 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34804 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34807 * manual/string.texi (strchr): Change when strchrnul is
34810 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34813 * manual/locale.texi (setlocale): Document LOCPATH.
34815 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34818 * manual/process.texi (execle): Move @dots{} before last argument.
34820 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34823 * manual/charset.texi (Generic Charset Conversion): Fix typo
34824 (LC_TYPE -> LC_CTYPE).
34826 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34829 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34830 (scalbnf): Likewise.
34831 (scalbnl): Likewise.
34832 (scalbln): Likewise.
34833 (scalblnf): Likewise.
34834 (scalblnl): Likewise.
34835 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34836 (vwarnx): Likewise.
34839 * manual/filesys.texi (telldir): Use braces around return type.
34840 * manual/llio.texi (mmap): Add space after comma.
34841 (mmap64): Likewise.
34842 * manual/math.texi (jn): Use @var{} on parameter names.
34848 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34850 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34852 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34853 (sched_get_priority_max): Likewise.
34854 * manual/signal.texi (sigvec): Add space after comma.
34855 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34857 (if_indextoname): Likewise.
34858 (if_freenameindex): Likewise.
34859 (sendto): Use ',' instead of '.' in prototype.
34860 * manual/startup.texi (syscall): Use @dots{} instead of literal
34862 * manual/stdio.texi (__fpending): Separate initial words of
34863 paragraph from @deftypefun line.
34864 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34866 (vsyslog): Use @var{} on parameter names.
34867 * manual/terminal.texi (stty): Use @var{} on parameter names.
34868 * manual/users.texi (getutmp): Use @var{} on parameter names.
34869 (getutmpx): Likewise.
34871 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34874 * manual/stdio.texi (fopen): Fix typos in description of
34877 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34880 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34881 get clock_id definition.
34883 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34886 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34887 (madvise): Cast every argument to void on its own.
34889 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34892 * manual/startup.texi (Exit Status): Fix typo.
34894 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34897 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34898 * manual/examples/argp-ex2.c: Likewise.
34899 * manual/examples/argp-ex3.c: Likewise.
34901 2012-02-16 Richard Henderson <rth@redhat.com>
34903 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34904 * sysdeps/s390/s390-32/initfini.c: Remove.
34905 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34906 * sysdeps/s390/s390-64/initfini.c: Remove.
34908 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34910 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34911 compiler output for sysdeps/generic/initfini.c.
34912 * sysdeps/sh/elf/initfini.c: Remove file.
34914 2012-02-16 David S. Miller <davem@davemloft.net>
34917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34919 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34920 * sysdeps/sparc/crti.S: New file.
34921 * sysdeps/sparc/crtn.S: New file.
34922 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34923 * sysdeps/sparc/sparc64/Makefile: Likewise.
34925 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34928 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34930 2012-02-15 Roland McGrath <roland@hack.frob.com>
34933 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34935 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34936 (write, read, close): Likewise.
34937 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34939 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34941 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34942 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34943 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34944 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34946 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34950 2012-02-14 Marek Polacek <polacek@redhat.com>
34952 * sysdeps/x86_64/crti.S: New file.
34953 * sysdeps/x86_64/crtn.S: New file.
34954 * sysdeps/x86_64/elf/initfini.c: Remove file.
34956 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34958 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34959 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34960 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34961 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34963 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34967 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34969 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34970 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34971 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34972 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34974 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34978 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34980 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34981 __feraiseexcept instead of feraiseexcept.
34983 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34984 nanosleep invocations.
34985 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34986 strings, and add error checking for a nanosleep invocations.
34988 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34990 Replace FSF snail mail address with URLs, as per GNU coding standards.
34991 Most of the snail mail addresses were wrong anyway, and omitting
34992 them makes the source code easier to maintain. Almost all of the
34993 changes are to license notices and to locale LC_IDENTIFICATION
34994 addresses, except for this one:
34995 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34996 not its snail mail address.
34998 2012-02-09 Richard Henderson <rth@twiddle.net>
35000 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35001 of kernel-features.h.
35003 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35005 2012-02-08 Marek Polacek <polacek@redhat.com>
35007 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35008 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35009 * sysdeps/gnu/_G_config.h: Likewise.
35010 * sysdeps/generic/_G_config.h: Likewise.
35012 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35014 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35018 * sysdeps/powerpc/powerpc32/crti.S: New file.
35019 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35020 * sysdeps/powerpc/powerpc64/crti.S: New file.
35021 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35023 * Makeconfig (have-initfini): Don't set.
35024 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35025 * configure.in (nopic_initfini): Don't substitute.
35026 * config.h.in (HAVE_INITFINI): Don't #undef.
35027 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35028 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35030 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35032 Support crti.S and crtn.S provided directly by architectures.
35033 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35034 [crti.S in sysdirs] (omit-deps): Likewise.
35035 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35036 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35037 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35038 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35039 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35040 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35041 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35042 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35043 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35044 compiler output for sysdeps/generic/initfini.c.
35045 * sysdeps/i386/elf/Makefile: Remove file.
35046 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35048 2012-02-07 Marek Polacek <polacek@redhat.com>
35050 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35051 * sysdeps/gnu/_G_config.h: Likewise.
35052 * sysdeps/mach/hurd/_G_config.h: Likewise.
35054 2012-02-07 Marek Polacek <polacek@redhat.com>
35056 * math/Makefile (tests): Add tst-CMPLX2.
35057 * math/tst-CMPLX2.c: New file.
35059 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35061 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35063 * math/libm-test.inc (jn_test): Add missing L suffix.
35065 2012-02-06 Marek Polacek <polacek@redhat.com>
35067 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35068 * sysdeps/i386/fpu/e_powf.S: Likewise.
35069 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35070 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35071 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35072 * sysdeps/i386/fpu/e_pow.S: Likewise.
35073 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35074 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35075 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35076 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35077 * sysdeps/i386/fpu/e_log2.S: Likewise.
35078 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35079 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35080 * sysdeps/i386/fpu/e_powl.S: Likewise.
35081 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35082 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35083 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35084 * sysdeps/i386/fpu/e_logl.S: Likewise.
35085 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35086 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35087 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35088 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35089 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35091 * sysdeps/i386/fpu/e_log.S: Likewise.
35092 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35094 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35095 * sysdeps/i386/fpu/e_logf.S: Likewise.
35096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35097 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35098 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35099 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35100 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35101 * sysdeps/i386/fpu/e_log10.S: Likewise.
35102 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35103 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35104 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35105 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35106 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35107 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35108 * sysdeps/i386/asm-syntax.h: Likewise.
35109 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35110 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35111 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35112 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35113 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35115 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35116 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35118 * sysdeps/powerpc/sysdep.h: Likewise.
35119 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35120 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35122 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35125 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35127 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35129 * sysdeps/i386/sysdep.h: Include <features.h>.
35130 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35133 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35135 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35137 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35140 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35142 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35143 (SETUP_PIC_REG): Use GET_PC_THUNK.
35144 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35147 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35149 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35150 for non-PIC compilation.
35151 (SETUP_PIC_REG): Add .p2align directive.
35152 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35153 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35154 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35155 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35157 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35158 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35159 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35160 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35161 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35162 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35163 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35164 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35165 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35166 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35167 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35168 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35169 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35170 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35171 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35172 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35173 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35174 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35175 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35180 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35181 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35182 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35183 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35184 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35185 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35186 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35187 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35188 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35189 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35190 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35191 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35192 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35194 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35196 * math/tst-CMPLX.c: Include <stdio.h>.
35198 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35200 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35202 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35203 * sysdeps/sparc/bits/mathdef.h: Likewise.
35205 2012-01-31 Marek Polacek <polacek@redhat.com>
35207 * libio/libio.h: Don't define _PARAMS.
35208 * locale/programs/config.h: Don't define PARAMS.
35209 * stdlib/strtol_l.c: Likewise.
35210 (__strtol_l): Remove PARAMS from the prototype.
35212 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35214 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35215 names. Just use the correct names. Remove unnecessary wrapper
35217 * malloc/arena.c: Likewise.
35218 * malloc/hooks.c: Likewise.
35220 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35221 ARENA_TEST says not to. Simplify test for creation of a new arena.
35222 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35224 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35226 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35228 (update_get_addr): New function.
35229 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35230 GET_ADDR_MODULE parameter.
35232 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35234 * crypt/cert.c: Remove __STDC__ conditionals.
35235 * crypt/crypt-entry.c: Likewise.
35236 * crypt/crypt_util.c: Likewise.
35237 * libio/filedoalloc.c: Likewise.
35238 * libio/fileops.c: Likewise.
35239 * libio/genops.c: Likewise.
35240 * libio/iofclose.c: Likewise.
35241 * libio/iofdopen.c: Likewise.
35242 * libio/iofopen.c: Likewise.
35243 * libio/iofopen64.c: Likewise.
35244 * libio/iogetdelim.c: Likewise.
35245 * libio/iopopen.c: Likewise.
35246 * libio/obprintf.c: Likewise.
35247 * libio/oldfileops.c: Likewise.
35248 * libio/oldiofclose.c: Likewise.
35249 * libio/oldiofdopen.c: Likewise.
35250 * libio/oldiofopen.c: Likewise.
35251 * libio/oldiopopen.c: Likewise.
35252 * libio/wfiledoalloc.c: Likewise.
35253 * libio/wgenops.c: Likewise.
35254 * locale/programs/xmalloc.c: Likewise.
35255 * misc/syslog.c: Likewise.
35256 * stdio-common/xbug.c: Likewise.
35257 * string/memchr.c: Likewise.
35258 * string/memcmp.c: Likewise.
35259 * string/memrchr.c: Likewise.
35260 * string/rawmemchr.c: Likewise.
35261 * sysdeps/posix/getcwd.c: Likewise.
35262 * time/strftime_l.c: Likewise.
35264 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35266 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35267 * config.make.in (config-cflags-sse2avx): Define.
35268 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35271 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35273 * scripts/config.guess: Update from upstream config git repository.
35274 * scripts/config.sub: Likewise.
35276 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35278 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35280 (R_TILEPRO_*, R_TILEGX_*): New macros.
35282 * scripts/firstversions.awk: Fix bug in version range handling.
35284 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35286 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35288 * include/sys/epoll.h: New file.
35289 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35292 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35294 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35295 Avoid unnecessary __WORDSIZE == 64 test.
35296 (fmaxf): Use VEX format if possible.
35301 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35302 * math/math_private.h: Remove libc_fegetround* and
35304 * sysdeps/i386/configure.in: Check for -msse2avx.
35305 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35306 also if SSE2AVX is defined.
35307 Remove libc_fegetround* and libc_fesetround*.
35308 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35309 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35310 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35312 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35313 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35316 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35318 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35320 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35322 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35324 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35326 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35329 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35331 * Makeconfig (libm): Define.
35332 * elf/Makefile: Add rules to build and run tst-relsort1.
35333 * elf/tst-relsort1.c: New file.
35334 * elf/tst-relsort1mod1.c: New file.
35335 * elf/tst-relsort1mod2.c: New file.
35337 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35339 * math/s_ldexp.c: Remove __STDC__ conditionals.
35340 * math/s_ldexpf.c: Likewise.
35341 * math/s_ldexpl.c: Likewise.
35342 * math/s_nextafter.c: Likewise.
35343 * math/s_nexttowardf.c: Likewise.
35344 * math/s_significand.c: Likewise.
35345 * math/s_significandf.c: Likewise.
35346 * math/s_significandl.c: Likewise.
35347 * math/w_jnl.c: Likewise.
35348 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35349 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35350 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35351 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35352 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35354 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35355 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35356 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35357 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35358 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35360 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35361 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35362 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35363 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35365 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35367 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35368 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35369 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35370 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35372 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35373 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35374 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35375 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35376 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35377 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35378 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35379 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35380 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35381 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35382 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35384 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35385 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35386 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35387 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35388 * sysdeps/ieee754/k_standard.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35422 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35423 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35427 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35450 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35455 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35464 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35465 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35468 * sysdeps/ieee754/s_matherr.c: Likewise.
35469 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35470 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35474 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35476 * crypt/md5.h: Remove __STDC__ conditionals.
35477 * libio/libioP.h: Likewise.
35478 * locale/programs/config.h: Likewise.
35479 * sysdeps/generic/sysdep.h: Likewise.
35480 * sysdeps/i386/asm-syntax.h: Likewise.
35481 * sysdeps/s390/asm-syntax.h: Likewise.
35482 * sysdeps/unix/sysdep.h: Likewise.
35483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35486 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35488 * libio/libio.h: Remove __STDC__ conditionals.
35489 * malloc/obstack.h: Likewise.
35490 * math/complex.h: Likewise.
35491 * math/math.h: Likewise.
35492 * sysdeps/generic/_G_config.h: Likewise.
35493 * sysdeps/gnu/_G_config.h: Likewise.
35494 * sysdeps/mach/hurd/_G_config.h: Likewise.
35495 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35496 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35497 * sysdeps/sparc/bits/mathdef.h: Likewise.
35499 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35502 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35503 Clean up HAS_* macros.
35504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35505 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35509 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35510 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35513 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35515 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35517 * elf/tst-unique3.cc (gets): Remove declaration.
35518 * elf/tst-unique3lib.cc (gets): Likewise.
35519 * elf/tst-unique3lib2.cc (gets): Likewise.
35520 * elf/tst-unique4.cc (gets): Likewise.
35522 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35524 * include/stdio.h: Add C++ protection. Add gets declarations and
35526 * debug/tst-chk1.c: Don't declare gets here.
35527 * stdio-common/tst-gets.c: Likewise.
35529 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35531 * posix/glob: Remove directory.
35533 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35535 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35537 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35539 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35540 of the non-standard EPFNOSUPPORT.
35542 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35544 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35545 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35546 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35548 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35550 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35552 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35554 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35556 * nscd/grpcache.c (cache_addgr): Likewise.
35557 * nscd/hstcache.c (cache_addhst): Likewise.
35558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35559 * nscd/pwdcache.c (cache_addpw): Likewise.
35560 * nscd/servicescache.c (cache_addserv): Likewise.
35562 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35564 * malloc/malloc.c: Various cleanups.
35565 * malloc/hooks.c: Likewise.
35567 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35568 * stdlib/bug-fmtmsg1.c: New file.
35570 * stdlib/fmtmsg.c (init): Add missing unlock.
35571 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35573 2012-01-12 Marek Polacek <polacek@redhat.com>
35575 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35578 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35580 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35581 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35582 macro to ensure uniqueness of label name.
35583 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35584 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35586 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35588 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35590 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35591 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35595 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35597 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35599 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35600 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35601 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35603 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35605 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35606 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35607 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35610 * math/bits/math-finite.h: Add ldexp support.
35612 2012-01-10 Marek Polacek <polacek@redhat.com>
35614 * locale/programs/localedef.h (show_archive_content): Add noreturn
35617 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35619 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35621 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35623 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35625 * io/Makefile (headers): Add bits/poll2.h.
35627 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35630 typo #include statement.
35632 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35634 * include/sys/cdefs.h: Define __attribute_alloc_size.
35635 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35636 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35637 * elf/pldd.c: Likewise.
35638 * iconv/iconv_charmap.c: Likewise.
35639 * iconv/iconvconfig.c: Likewise.
35640 * iconv/strtab.c: Likewise.
35641 * locale/programs/locale.c: Likewise.
35642 * locale/programs/localedef.h: Likewise.
35643 * locale/programs/simple-hash.c: Likewise.
35644 * nscd/nscd.h: Likewise.
35645 * nss/makedb.c: Likewise.
35646 * sysdeps/generic/ldconfig.h: Likewise.
35647 * locale/programs/localedef.c: Remove xmalloc prototype.
35648 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35650 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35652 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35655 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35657 * math/Makefile (tests): Add tst-CMPLX.
35658 * math/tst-CMPLX.c: New file.
35660 * math/complex.h (CMPLXL): Fix typo.
35662 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35663 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35665 * debug/tst-chk1.c: Add poll and ppoll tests.
35666 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35667 * include/sys/poll.h: Add hidden proto for ppoll.
35668 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35669 * sysdeps/mach/hurd/ppoll.c: Likewise.
35670 * io/ppoll.c: Likewise.
35671 * debug/poll_chk.c: New file.
35672 * debug/ppoll_chk.c: New file.
35673 * include/bits/poll2.h: New file.
35674 * io/bits/poll2.h: New file.
35677 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35679 * configure.in: static is always set to yes. Remove.
35680 * config.make.in: Don't set build-static.
35681 * Makeconfig: Remove use of build-static.
35682 * dlfcn/Makefile: Likewise.
35683 * elf/Makefile: Likewise.
35684 * math/Makefile: Likewise.
35685 * misc/Makefile: Likewise.
35686 * nptl/Makefile: Likewise.
35687 * sysdeps/mach/hurd/Makefile: Likewise.
35689 * configure.in: PWD_P is not used anymore.
35690 * config.make.in: Remove PWD_P entry.
35692 * configure.in: Remove last remnants of RANLIB.
35693 No need to check for signed size_t anymore.
35694 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35696 Remove __builtin_expect test because we require at least gcc 3.4.
35697 * aclocal.m4: Likewise.
35699 * wcsmbs/mbrtoc16.c: Implement using towc function.
35700 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35701 * wcsmbs/wcsmbsload.c: Likewise.
35702 * iconv/gconv_simple.c: Likewise.
35703 * iconv/gconv_int.h: Likewise.
35704 * iconv/gconv_builtin.h: Likewise.
35705 * iconv/iconv_prog.c: Remove CHAR16 handling.
35707 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35709 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35711 * configure.in: Remove --with-elf and --enable-bounded options.
35712 Dont set base_machine for ia64. More non-ELF conditions removed.
35713 Remove testing and setting of leading underscore information.
35714 * config.make.in (build-bounded): Set to no.
35715 * config.h.in: Remove NO_UNDERSCORES entry.
35716 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35718 * csu/start.c: Remove !NO_UNDERSCORE code.
35719 * locale/localeinfo.h: Likewise.
35720 * sysdeps/generic/machine-gmon.h: Likewise.
35721 * sysdeps/generic/sysdep.h: Likewise.
35722 * sysdeps/i386/sysdep.h: Likewise.
35723 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35724 * sysdeps/mach/sysdep.h: Likewise.
35725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35727 * sysdeps/sh/sysdep.h: Likewise.
35728 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35729 * sysdeps/unix/i386/sysdep.S: Likewise.
35730 * sysdeps/unix/sparc/start.c: Likewise.
35731 * sysdeps/unix/sparc/sysdep.S: Likewise.
35732 * sysdeps/unix/sparc/sysdep.h: Likewise.
35733 * sysdeps/unix/start.c: Likewise.
35734 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35735 * sysdeps/x86_64/sysdep.h: Likewise.
35737 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35740 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35742 * argp/argp-fmtstream.h: Use const instead __const.
35743 * argp/argp.h: Likewise.
35744 * assert/assert.h: Likewise.
35745 * bits/fenv.h: Likewise.
35746 * bits/sched.h: Likewise.
35747 * bits/sigset.h: Likewise.
35748 * bits/sigthread.h: Likewise.
35749 * catgets/nl_types.h: Likewise.
35750 * conform/data/pthread.h-data: Likewise.
35751 * crypt/crypt-private.h: Likewise.
35752 * crypt/crypt.h: Likewise.
35753 * crypt/crypt_util.c: Likewise.
35754 * ctype/ctype.h: Likewise.
35755 * debug/execinfo.h: Likewise.
35756 * debug/mbsnrtowcs_chk.c: Likewise.
35757 * debug/mbsrtowcs_chk.c: Likewise.
35758 * debug/wcsnrtombs_chk.c: Likewise.
35759 * debug/wcsrtombs_chk.c: Likewise.
35760 * debug/wcstombs_chk.c: Likewise.
35761 * dirent/dirent.h: Likewise.
35762 * dlfcn/dlfcn.h: Likewise.
35763 * elf/neededtest4.c: Likewise.
35764 * grp/grp.h: Likewise.
35765 * gshadow/gshadow.h: Likewise.
35766 * iconv/gconv.h: Likewise.
35767 * iconv/gconv_int.h: Likewise.
35768 * iconv/gconv_simple.c: Likewise.
35769 * iconv/iconv.h: Likewise.
35770 * iconv/loop.c: Likewise.
35771 * iconv/skeleton.c: Likewise.
35772 * include/aio.h: Likewise.
35773 * include/aliases.h: Likewise.
35774 * include/argz.h: Likewise.
35775 * include/arpa/inet.h: Likewise.
35776 * include/assert.h: Likewise.
35777 * include/dirent.h: Likewise.
35778 * include/dlfcn.h: Likewise.
35779 * include/execinfo.h: Likewise.
35780 * include/fcntl.h: Likewise.
35781 * include/fenv.h: Likewise.
35782 * include/glob.h: Likewise.
35783 * include/grp.h: Likewise.
35784 * include/libintl.h: Likewise.
35785 * include/mntent.h: Likewise.
35786 * include/netdb.h: Likewise.
35787 * include/pwd.h: Likewise.
35788 * include/rpc/netdb.h: Likewise.
35789 * include/sched.h: Likewise.
35790 * include/search.h: Likewise.
35791 * include/shadow.h: Likewise.
35792 * include/signal.h: Likewise.
35793 * include/stdio.h: Likewise.
35794 * include/stdlib.h: Likewise.
35795 * include/string.h: Likewise.
35796 * include/sys/socket.h: Likewise.
35797 * include/sys/stat.h: Likewise.
35798 * include/sys/statfs.h: Likewise.
35799 * include/sys/statvfs.h: Likewise.
35800 * include/sys/syslog.h: Likewise.
35801 * include/sys/time.h: Likewise.
35802 * include/sys/uio.h: Likewise.
35803 * include/time.h: Likewise.
35804 * include/unistd.h: Likewise.
35805 * include/utmp.h: Likewise.
35806 * include/wchar.h: Likewise.
35807 * include/wctype.h: Likewise.
35808 * inet/aliases.h: Likewise.
35809 * inet/arpa/inet.h: Likewise.
35810 * inet/netinet/ether.h: Likewise.
35811 * inet/netinet/in.h: Likewise.
35812 * intl/libintl.h: Likewise.
35813 * io/bits/fcntl2.h: Likewise.
35814 * io/fcntl.h: Likewise.
35815 * io/ftw.h: Likewise.
35816 * io/sys/poll.h: Likewise.
35817 * io/sys/stat.h: Likewise.
35818 * io/sys/statfs.h: Likewise.
35819 * io/sys/statvfs.h: Likewise.
35820 * io/utime.h: Likewise.
35821 * libio/bits/stdio.h: Likewise.
35822 * libio/bits/stdio2.h: Likewise.
35823 * libio/libio.h: Likewise.
35824 * libio/libioP.h: Likewise.
35825 * libio/stdio.h: Likewise.
35826 * locale/lc-ctype.c: Likewise.
35827 * locale/locale.h: Likewise.
35828 * login/utmp.h: Likewise.
35829 * malloc/arena.c: Likewise.
35830 * malloc/malloc.c: Likewise.
35831 * malloc/malloc.h: Likewise.
35832 * malloc/mcheck.c: Likewise.
35833 * malloc/mtrace.c: Likewise.
35834 * math/bits/mathcalls.h: Likewise.
35835 * math/fenv.h: Likewise.
35836 * math/math_private.h: Likewise.
35837 * misc/bits/error.h: Likewise.
35838 * misc/bits/syslog.h: Likewise.
35839 * misc/err.h: Likewise.
35840 * misc/error.h: Likewise.
35841 * misc/fstab.h: Likewise.
35842 * misc/mntent.h: Likewise.
35843 * misc/regexp.h: Likewise.
35844 * misc/search.h: Likewise.
35845 * misc/sgtty.h: Likewise.
35846 * misc/sys/mman.h: Likewise.
35847 * misc/sys/syslog.h: Likewise.
35848 * misc/sys/uio.h: Likewise.
35849 * misc/sys/xattr.h: Likewise.
35850 * misc/ttyent.h: Likewise.
35851 * nis/rpcsvc/ypclnt.h: Likewise.
35852 * nss/nss.h: Likewise.
35853 * posix/bits/unistd.h: Likewise.
35854 * posix/fnmatch.h: Likewise.
35855 * posix/glob.h: Likewise.
35856 * posix/sched.h: Likewise.
35857 * posix/spawn.h: Likewise.
35858 * posix/sys/wait.h: Likewise.
35859 * posix/unistd.h: Likewise.
35860 * posix/wordexp.h: Likewise.
35861 * pwd/pwd.h: Likewise.
35862 * resolv/netdb.h: Likewise.
35863 * resource/sys/resource.h: Likewise.
35864 * rt/aio.h: Likewise.
35865 * rt/bits/mqueue2.h: Likewise.
35866 * rt/mqueue.h: Likewise.
35867 * shadow/shadow.h: Likewise.
35868 * signal/signal.h: Likewise.
35869 * socket/send.c: Likewise.
35870 * socket/sendto.c: Likewise.
35871 * socket/sys/socket.h: Likewise.
35872 * stdio-common/printf.h: Likewise.
35873 * stdlib/bits/stdlib.h: Likewise.
35874 * stdlib/fmtmsg.h: Likewise.
35875 * stdlib/monetary.h: Likewise.
35876 * stdlib/stdlib.h: Likewise.
35877 * stdlib/ucontext.h: Likewise.
35878 * streams/stropts.h: Likewise.
35879 * string/argz.h: Likewise.
35880 * string/bits/string2.h: Likewise.
35881 * string/string.h: Likewise.
35882 * string/strings.h: Likewise.
35883 * sunrpc/rpc/auth.h: Likewise.
35884 * sunrpc/rpc/auth_des.h: Likewise.
35885 * sunrpc/rpc/clnt.h: Likewise.
35886 * sunrpc/rpc/netdb.h: Likewise.
35887 * sunrpc/rpc/pmap_clnt.h: Likewise.
35888 * sunrpc/rpc/xdr.h: Likewise.
35889 * sysdeps/generic/inttypes.h: Likewise.
35890 * sysdeps/generic/net/if.h: Likewise.
35891 * sysdeps/generic/sys/swap.h: Likewise.
35892 * sysdeps/gnu/net/if.h: Likewise.
35893 * sysdeps/gnu/utmpx.h: Likewise.
35894 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35895 * sysdeps/i386/i486/bits/string.h: Likewise.
35896 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35897 * sysdeps/s390/bits/string.h: Likewise.
35898 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35899 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35900 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35901 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35902 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35903 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35904 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35905 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35906 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35907 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35908 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35909 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35910 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35911 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35912 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35913 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35914 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35916 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35918 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35919 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35920 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35921 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35922 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35923 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35924 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35926 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35927 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35928 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35929 * sysvipc/sys/ipc.h: Likewise.
35930 * sysvipc/sys/msg.h: Likewise.
35931 * sysvipc/sys/sem.h: Likewise.
35932 * sysvipc/sys/shm.h: Likewise.
35933 * termios/termios.h: Likewise.
35934 * time/sys/time.h: Likewise.
35935 * time/time.h: Likewise.
35936 * wcsmbs/bits/wchar2.h: Likewise.
35937 * wcsmbs/uchar.h: Likewise.
35938 * wcsmbs/wchar.h: Likewise.
35939 * wctype/wctype.h: Likewise.
35942 * Makeconfig: Remove all but ELF support including AIX support.
35943 * Makerules: Likewise.
35944 * config.h.in: Likewise.
35945 * config.make.in: Likewise.
35946 * configure: Likewise.
35947 * configure.in: Likewise.
35948 * csu/Makefile: Likewise.
35949 * csu/version.c: Likewise.
35950 * debug/Makefile: Likewise.
35951 * dlfcn/Makefile: Likewise.
35952 * elf/Makefile: Likewise.
35953 * extra-lib.mk: Likewise.
35954 * iconv/Makefile: Likewise.
35955 * include/libc-symbols.h: Likewise.
35956 * include/shlib-compat.h: Likewise.
35957 * resolv/Makefile: Likewise.
35958 * resolv/res_libc.c: Likewise.
35959 * rt/Makefile: Likewise.
35960 * sysdeps/i386/asm-syntax.h: Likewise.
35961 * sysdeps/i386/sysdep.h: Likewise.
35962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35963 * sysdeps/mach/sysdep.h: Likewise.
35964 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35965 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35966 * sysdeps/s390/asm-syntax.h: Likewise.
35967 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35969 * sysdeps/sh/sysdep.h: Likewise.
35970 * sysdeps/unix/sparc/sysdep.h: Likewise.
35971 * sysdeps/wordsize-32/divdi3.c: Likewise.
35972 * sysdeps/x86_64/sysdep.h: Likewise.
35974 * argp/Versions: Remove _argp_unlock_xxx.
35977 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35978 * abilist/libBrokenLocale.abilist: Likewise.
35979 * abilist/libanl.abilist: Likewise.
35980 * abilist/libc.abilist: Likewise.
35981 * abilist/libcrypt.abilist: Likewise.
35982 * abilist/libdl.abilist: Likewise.
35983 * abilist/libm.abilist: Likewise.
35984 * abilist/libnsl.abilist: Likewise.
35985 * abilist/libpthread.abilist: Likewise.
35986 * abilist/libresolv.abilist: Likewise.
35987 * abilist/librt.abilist: Likewise.
35988 * abilist/libthread_db.abilist: Likewise.
35989 * abilist/libutil.abilist: Likewise.
35990 * abilist/libnss_db.abilist: New file.
35992 * scripts/abilist.awk: Add support for indirect functions.
35994 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35996 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35998 * shlib-versions: Remove entries for ports architectures.
36000 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36002 * elf/stackguard-macros.h: Remove support for IA-64.
36003 * elf/tst-auditmod1.c: Likewise.
36004 * sysdeps/generic/ldsodefs.h: Likewise.
36006 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36007 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36011 * configure.in: Remove --enable-omitfp support.
36013 * config.make.in: Likewise.
36014 * Makeconfig: Likewise.
36015 * manual/install.texi: Likewise.
36017 In case anyone cares, the IA-64 architecture could move to ports.
36018 * sysdeps/ia64/*: Removed.
36019 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36020 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36023 * configure.in: Remove entries for unsupported architectures.
36026 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36027 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36029 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36030 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36031 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36032 fall back to using wcrtomb.
36033 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36034 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36036 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36037 * wcsmbs/tst-c16c32-1.c: New file.
36039 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36042 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36044 * elf/tst-unique3.cc: Add explicit declaration of gets.
36045 * elf/tst-unique3lib.cc: Likewise.
36046 * elf/tst-unique3lib2.cc: Likewise.
36047 * elf/tst-unique4.cc: Likewise.
36049 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36051 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36054 * assert/assert.h (static_assert): Don't define for C++.
36055 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36056 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36058 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36060 * iconv/loop.c (single loop): Fix assertion in storing of
36063 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36065 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36067 * posix/getconf.c: Update copyright year.
36068 * nss/getent.c: Likewise.
36069 * nss/makedb.c: Likewise.
36070 * iconv/iconvconfig.c: Likewise.
36071 * iconv/iconv_prog.c: Likewise.
36072 * elf/ldconfig.c: Likewise.
36073 * elf/pldd.c: Likewise.
36074 * elf/sotruss.ksh: Likewise.
36075 * catgets/gencat.c: Likewise.
36076 * csu/version.c: Likewise.
36077 * elf/ldd.bash.in: Likewise.
36078 * elf/sprof.c (print_version): Likewise.
36079 * locale/programs/locale.c: Likewise.
36080 * locale/programs/localedef.c: Likewise.
36081 * login/programs/pt_chown.c: Likewise.
36082 * nscd/nscd.c (print_version): Likewise.
36083 * debug/xtrace.sh: Likewise.
36084 * malloc/memusage.sh: Likewise.
36085 * malloc/mtrace.pl: Likewise.
36086 * debug/catchsegv.sh: Likewise.
36088 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36090 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36093 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36096 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36097 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36099 * iconv/gconv_int.h: Likewise.
36100 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36101 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36102 from libc for GLIBC_2.16.
36103 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36104 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36105 * wcsmbs/uchar.h: Really define mbstate_t.
36106 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36107 * wcsmbs/c16rtomb.c: New file.
36108 * wcsmbs/mbrtoc16.c: New file.
36109 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36110 for C/POSIX locale.
36111 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36112 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36114 * wcsmbs/wchar.h: Add missing __restrict.
36116 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36119 * time/Makefile (routines): Add timespec_get.
36120 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36121 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36122 timespec for ISO C11.
36123 * time/timespec_get.c: New file.
36124 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36125 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36128 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36129 * stdlib/stdlib.h: Declare aligned_alloc.
36130 * Versions.def: Add GLIBC_2.16 for libc.
36131 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36134 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36137 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36141 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36144 * assert/assert.h (static_assert): Define.
36146 * version.h: Update for 2.16 development version.
36149 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36152 * version.h (RELEASE): Bump for 2.15 release.
36153 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36155 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36156 Patch by Marek Polacek <mpolacek@redhat.com>.
36158 * bits/byteswap.h: Protect long long constants with __extension__.
36159 * sysdeps/i386/bits/byteswap.h: Likewise.
36160 * sysdeps/ia64/bits/byteswap.h: Likewise.
36161 * sysdeps/s390/bits/byteswap.h: Likewise.
36162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36164 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36168 destination buffer.
36169 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36171 2011-12-23 Marek Polacek <polacek@redhat.com>
36173 * elf/dl-addr.c (determine_info): Add inline keyword.
36174 * elf/tst-auditmod4b.c (check_avx): Likewise.
36175 * elf/tst-auditmod6b.c (check_avx): Likewise.
36176 * elf/tst-auditmod6c.c (check_avx): Likewise.
36177 * elf/tst-auditmod7b.c (check_avx): Likewise.
36179 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36181 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36184 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36187 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36188 processing for last bytes.
36190 2011-08-06 Bruno Haible <bruno@clisp.org>
36193 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36194 U+0385, not to U+1FEE.
36197 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36198 entry for U+00A5 U+0301.
36200 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36203 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36204 buffer for the output is too small.
36206 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36210 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36211 SSE flags if possible.
36213 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36217 processing for last bytes.
36219 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36222 (syscall-list-default-options, syscall-list-default-condition)
36223 (syscall-list-includes): Define.
36224 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36225 list of ABIs and options and #if conditions for each ABI. Do not
36226 handle common syscalls between ABIs specially.
36227 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36229 (syscall-list-variants, syscall-list-32bit-options)
36230 (syscall-list-32bit-condition, syscall-list-64bit-options)
36231 (syscall-list-64bit-condition): Define.
36232 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36233 (syscall-list-variants, syscall-list-32bit-options)
36234 (syscall-list-32bit-condition, syscall-list-64bit-options)
36235 (syscall-list-64bit-condition): Define.
36236 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36238 (syscall-list-variants, syscall-list-32bit-options)
36239 (syscall-list-32bit-condition, syscall-list-64bit-options)
36240 (syscall-list-64bit-condition): Define.
36241 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36243 (syscall-list-variants, syscall-list-32bit-options)
36244 (syscall-list-32bit-condition, syscall-list-64bit-options)
36245 (syscall-list-64bit-condition): Define.
36247 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36249 * locale/iso-639.def: Add brx entry.
36252 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36253 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36255 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36256 __feraiseexcept_renamed.
36258 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36261 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36262 EPOLLET with unsigned values.
36263 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36264 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36266 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36267 to large cancellation.
36268 * math/s_cacoshf.c: Likewise.
36269 * math/s_cacoshl.c: Likewise.
36271 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36275 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36276 * math/s_cacoshf.c: Likewise.
36277 * math/s_cacoshl.c: Likewise.
36279 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36282 * iconv/gconv.h: Define __GCONV_SWAP.
36283 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36284 * iconvdata/utf-16.c: Likewise.
36285 * iconvdata/utf-32.c: Likewise.
36287 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36290 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36291 numerator after shifting it by one limb.
36293 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36296 under [__USE_EXTERN_INLINES].
36298 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36301 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36303 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36305 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36306 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36308 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36310 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36311 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36312 for strncasecmp/strncasecmp_l compilation.
36313 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36314 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36316 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36319 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36322 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36325 * time/tzfile.c (__tzfile_read): Check values from file header.
36327 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36329 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36330 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36331 * powerpc/powerpc32/dl-start.S: Likewise.
36332 * powerpc/powerpc32/elf/start.S: Likewise.
36333 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36334 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36335 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36336 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36337 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36338 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36339 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36340 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36341 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36342 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36343 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36344 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36345 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36346 * powerpc/powerpc32/memset.S: Likewise.
36347 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36348 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36349 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36350 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36351 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36352 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36353 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36354 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36355 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36356 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36357 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36358 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36359 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36361 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36363 * math/libm-test.inc: Added more nearbyint tests.
36364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36369 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36371 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36374 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36376 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36377 Add wcscpy-ssse3 wcscpy-c.
36378 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36379 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36380 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36381 * sysdeps/x86_64/wcschr.S: New file.
36382 * sysdeps/x86_64/wcsrchr.S: New file.
36383 * string/test-strcmp.c: Remove checking of wcscmp function for
36385 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36386 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36387 wcsrchr-sse2 wcsrchr-c.
36388 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36389 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36390 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36391 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36392 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36393 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36394 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36395 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36396 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36397 * wcsmbc/wcschr.c (WCSCHR): New macro.
36399 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36401 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36402 * wcsmbs/test-wcsrchr.c: New file.
36403 * string/test-strrchr.c: Add wcsrchr support.
36405 * wcsmbs/test-wcscpy.c: New file.
36406 * string/test-strcpy.c: Add wcscpy support.
36409 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36414 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36417 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36419 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36421 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36422 Minor optimizations.
36424 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36425 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36426 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36428 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36430 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36431 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36432 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36433 for gcc to avoid warnings.
36434 * inet/Makefile (tests): Add tst-checks.
36435 * inet/tst-checks.c: New file.
36437 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36440 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36443 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36444 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36446 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36448 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36450 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36453 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36455 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36457 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36458 conditional on GCC version.
36459 (__arch_compare_and_exchange_val_8_acq)
36460 (__arch_compare_and_exchange_val_16_acq)
36461 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36462 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36463 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36465 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36467 * sysdeps/sh/backtrace.c: New file.
36469 2011-12-02 Andreas Schwab <schwab@redhat.com>
36471 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36474 2011-12-01 Andreas Schwab <schwab@redhat.com>
36476 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36477 falling back to utime.
36479 2011-11-30 Andreas Schwab <schwab@redhat.com>
36481 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36482 expectations for float.
36484 2011-11-29 Andreas Schwab <schwab@redhat.com>
36486 * locale/weight.h (findidx): Add parameter len.
36487 * locale/weightwc.h (findidx): Likewise.
36488 * posix/fnmatch_loop.c (FCT): Adjust caller.
36489 * posix/regcomp.c (build_equiv_class): Likewise.
36490 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36491 * posix/regexec.c (check_node_accept_bytes): Likewise.
36492 * string/strcoll_l.c (STRCOLL): Likewise.
36493 * string/strxfrm_l.c (STRXFRM): Likewise.
36495 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36497 * Makefile.in: Remove CVSOPT handling.
36498 * configure.in: Remove use of AC_REVISION.
36499 * iconvdata/Makefile (distribute): No need to filter out CVS.
36500 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36503 2011-11-16 Andreas Schwab <schwab@redhat.com>
36505 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36506 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36507 [USE_AS_STRNCASECMP_L]: Likewise.
36508 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36509 NO_TLS_DIRECT_SEG_REFS.
36510 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36511 Fix argument offsets for non-PIC.
36512 [USE_AS_STRNCASECMP_L]: Likewise.
36513 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36514 NO_TLS_DIRECT_SEG_REFS.
36516 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36518 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36520 * locale/loadlocale.c (_nl_load_locale): Likewise.
36522 2011-11-15 Andreas Schwab <schwab@redhat.com>
36524 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36525 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36526 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36527 (SYSCALL_GETTIME): Set errno on error.
36529 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36530 count references to noai6ai_cached.
36532 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36534 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36536 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36537 FD_CLOEXEC for /proc/self/maps.
36539 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36540 FD_CLOEXEC for /proc/meminfo.
36542 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36545 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36546 FD_CLOEXEC for given file.
36548 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36550 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36551 FD_CLOEXEC for /etc/hosts.
36552 (_gethtent): Likewise.
36554 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36556 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36557 cancellation and set FD_CLOEXEC for /etc/netgroup.
36559 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36560 reading /etc/publickey.
36562 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36563 allow cancellation when reading /etc/group.
36565 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36567 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36569 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36570 when using data file.
36572 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36574 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36575 (write_nis_obj): Use "c" and "e" in fopen.
36577 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36579 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36581 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36583 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36585 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36588 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36590 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36592 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36594 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36595 file parsing and set FD_CLOEXEC.
36597 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36599 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36601 2011-11-14 Andreas Schwab <schwab@redhat.com>
36603 * malloc/arena.c (arena_get2): Don't call reused_arena when
36604 _int_new_arena failed.
36606 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36608 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36609 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36610 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36611 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36612 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36613 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36614 to compile strcasecmp and strncasecmp.
36615 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36616 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36620 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36622 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36623 locale-defines.sym to gen-as-const-headers.
36624 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36625 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36627 to compile strcasecmp and strncasecmp.
36628 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36629 strcasecmp_l and strncasecmp_l.
36630 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36631 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36632 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36633 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36634 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36635 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36636 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36637 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36638 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36639 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36640 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36642 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36644 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36645 result of SYSDEP_GETTIME_CPU to retval.
36646 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36647 parameter list to macro. Remove trailing semicolon. Adjust users.
36649 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36652 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36654 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36656 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36657 from unused variable.
36659 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36661 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36664 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36667 * sunrpc/rpc_prot.c (rejected): Fix case value.
36669 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36670 unsigned long long int to avoid warnings in shift.
36672 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36674 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36677 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36678 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36679 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36681 * nis/nis_table.c (nis_list): Use variable of correct type for
36682 result of __follow_path call.
36684 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36686 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36687 of math functions ceil, trunc, floor, round, and sqrt, when
36688 avaliable on the platform.
36689 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36691 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36692 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36693 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36695 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36697 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36698 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36700 2011-11-11 Roland McGrath <roland@hack.frob.com>
36702 * include/unistd.h: Fix __readlink return type.
36703 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36705 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36707 * stdlib/ucontext.h: Undo last change for makecontext.
36709 2011-11-11 Andreas Schwab <schwab@redhat.com>
36711 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36713 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36714 * setjmp/setjmp.h: Mark functions as non-leaf.
36715 * setjmp/bits/setjmp2.h: Likewise.
36716 * stdlib/ucontext.h: Likewise.
36718 2011-11-10 Andreas Schwab <schwab@redhat.com>
36720 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36721 (reused_arena): Don't check arena limit.
36722 (arena_get2): Atomically check arena limit.
36724 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36726 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36727 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36732 2011-11-07 Andreas Schwab <schwab@redhat.com>
36734 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36735 handler when locking.
36737 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36738 Fix size of allocated buffer.
36740 2011-11-04 Andreas Schwab <schwab@redhat.com>
36743 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36744 declarations for long double functions.
36745 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36747 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36749 2011-11-03 Andreas Schwab <schwab@redhat.com>
36751 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36754 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36757 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36759 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36761 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36763 * include/alloca.h (stackinfo_alloca_round): Define.
36764 (extend_alloca): Use it.
36765 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36766 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36769 * scripts/check-local-headers.sh: Ignore libaudit.h.
36771 * nscd/Makefile (extra-objs): Make recursively expanded.
36773 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36775 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36778 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36779 * posix/tst-rfc3484-2.c: Likewise.
36780 * posix/tst-rfc3484-3.c: Likewise.
36782 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36784 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36786 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36787 process_vm_writev from libc using GLIBC_2.15 version.
36789 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36791 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36793 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36796 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36799 * nss/getent.c (initgroups_keys): Show error message in case no group
36802 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36803 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36804 __bump_nl_timestamp.
36805 * nscd/connections (nscd_init): When host database is served open
36806 netlink socket and request notification about configuration changes.
36807 (main_loop_poll): Track netlink file descriptor and bump timestamp
36808 in case data becomes available.
36809 (main_loop_epoll): Likewise.
36810 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36811 (database_pers_head): Add extra_data fileds.
36812 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36813 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36814 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36817 in6ai data, call __free_in6ai.
36818 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36819 Add -DHAVE_NETLINK.
36820 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36821 interface information. Reuse previous data if netlink timestamp
36823 (__bump_nl_timestamp): New function.
36824 (__free_in6ai): New function.
36826 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36828 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36829 close_not_cancel_no_status here.
36830 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36832 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36835 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36838 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36839 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36840 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36842 2011-07-03 Andreas Jaeger <aj@suse.de>
36845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36846 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36847 * math/libm-test.inc (sin_test): Add test case.
36849 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36852 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36853 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36855 * elf/chroot_canon.c (chroot_canon): Cleanups.
36857 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36860 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36861 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36863 * string/test-strchr.c: Make usable for strchrnul testing.
36864 * string/test-strchrnul.c: New file.
36865 * string/Makefile (strop-tests): Add strchrnul.
36867 * po/it.po: Update from translation team.
36868 * po/es.po: Likewise.
36870 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36872 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36873 the three constants needed as parameters. Drop the others.
36874 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36875 __m128i_strloadu_tolower.
36876 Create and initialize variable zero and use it in all the places
36877 where _mm_setzero_si128 was used.
36879 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36880 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36881 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36885 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36886 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36887 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36888 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36889 __mpranred, __mptan.
36890 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36891 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36892 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36893 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36894 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36895 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36896 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36897 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36898 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36900 2011-10-28 Andreas Schwab <schwab@redhat.com>
36902 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36903 redefine if SHARED.
36904 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36907 wide char related routines to wcsmbs subdir.
36909 2011-10-27 Andreas Schwab <schwab@redhat.com>
36912 * misc/sys/cdefs.h (__THROWNL): Define.
36913 * posix/unistd.h: Use __THREADNL instead of __THREAD
36914 for memory synchronization functions.
36916 2011-10-26 Roland McGrath <roland@hack.frob.com>
36919 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36921 * manual/stdio.texi (Obstack Streams): Node removed.
36923 2011-10-26 Andreas Schwab <schwab@redhat.com>
36925 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36926 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36927 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36929 * math/math_private.h (math_force_eval): Allow non-addressable
36931 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36933 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36935 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36936 file is not needed.
36938 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36939 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36945 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36947 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36948 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36949 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36950 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36951 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36952 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36953 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36954 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36957 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36958 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36960 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36961 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36962 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36963 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36964 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36965 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36967 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36968 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36970 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36971 place. Use VEX encoding when compiling for AVX.
36973 2011-10-25 Andreas Schwab <schwab@redhat.com>
36975 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36976 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36978 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36980 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36982 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36983 useless if() expression.
36984 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36986 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36987 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36989 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36990 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36992 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36993 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36994 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36995 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36997 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36998 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37001 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37002 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37004 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37006 2011-10-25 Andreas Schwab <schwab@redhat.com>
37008 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37010 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37012 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37014 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37015 .text section. Avoid duplicate constants.
37016 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37024 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37026 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37027 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37028 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37029 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37030 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37031 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37033 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37036 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37039 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37040 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37041 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37042 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37043 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37044 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37045 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37046 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37047 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37048 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37049 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37050 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37051 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37052 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37054 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37055 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37058 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37059 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37060 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37062 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37064 * sysdeps/x86_64/dla.h: Move to ...
37065 * sysdeps/x86_64/fpu/dla.h: ...here.
37066 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37067 situations. Use __builtin_fma only for gcc 4.6 and up.
37069 * config.make.in: Add have-mfma4 entry.
37070 * configure.in: Substitute libc_cv_cc_fma4.
37071 * math/Makefile (dbl-only-routines): Add sincostab.
37072 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37073 Use __sincostab not sincos.
37074 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37076 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37081 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37082 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37083 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37084 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37087 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37089 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37090 define aliases when function name is a macro.
37091 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37092 sysdeps/ieee754/dbl-64/sincos.tbl.
37093 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37094 fma4-enabled routines.
37095 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37096 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37097 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37098 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37099 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37100 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37102 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37103 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37104 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37105 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37107 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37118 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37119 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37120 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37121 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37122 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37123 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37124 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37126 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37137 2011-10-24 Andreas Schwab <schwab@redhat.com>
37139 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37141 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37143 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37145 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37147 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37149 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37150 Remove unused variable magic_bits.
37151 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37153 * string/strnlen.c: Define and use STRNLEN macro.
37154 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37155 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37156 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37157 * wcsmbs/wcslen.c: Define and use WCSLEN.
37158 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37159 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37160 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37161 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37162 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37163 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37164 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37166 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37169 strnlen-sse2-no-bsf.
37170 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37172 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37173 Add strnlen support.
37174 (USE_AS_STRNLEN): New macro.
37175 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37176 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37177 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37178 * sysdeps/x86_64/wcslen.S: New file.
37180 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37182 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37183 XMM-moves are used for copying on small sizes.
37185 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37187 * wcsmbs/Makefile (strop-tests): Add wcschr.
37188 * wcsmbs/test-wcschr.c: New file.
37189 * string/test-strchr.c: Update.
37190 Add wcschr support.
37193 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37195 * wcsmbs/Makefile (strop-tests): Add wcslen.
37196 * wcsmbs/test-wcslen.c: New file.
37197 * string/test-strlen.c: Update.
37198 Add wcslen support.
37201 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37203 * po/it.po: Update from translation team.
37205 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37207 * sysdeps/x86_64/wcscmp.S: Update.
37208 Fix wrong comparison semantics.
37209 wcscmp shall use signed comparison not unsigned.
37210 Don't use substraction to avoid overflow bug.
37211 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37212 * wcsmbc/wcscmp.c: Likewise.
37213 * string/test-strcmp.c: Likewise.
37214 Add new tests to check cases with negative values.
37216 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37218 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37219 * sysdeps/x86_64/dla.h: ...here. New file.
37220 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37230 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37233 __ynl_finite aliases.
37235 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37239 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37241 [DLA_FMA] (EMULV): Use DLA_FMA.
37242 [DLA_FMA] (MUL12): Use EMULV.
37243 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37244 that are not needed.
37245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37253 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37255 * math/s_nan.c: Undef __nan.
37256 * math/s_nanf.c: Undef __nanf.
37257 * math/s_nanl.c: Undef __nanl.
37258 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37261 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37263 * math/s_catan.c: Add branch predictions.
37264 * math/s_catanf.c: Likewise.
37265 * math/s_catanh.c: Likewise.
37266 * math/s_catanhf.c: Likewise.
37267 * math/s_catanhl.c: Likewise.
37268 * math/s_catanl.c: Likewise.
37269 * math/s_cexp.c: Likewise.
37270 * math/s_cexpf.c: Likewise.
37271 * math/s_cexpl.c: Likewise.
37272 * math/s_clog.c: Likewise.
37273 * math/s_clog10.c: Likewise.
37274 * math/s_clog10f.c: Likewise.
37275 * math/s_clog10l.c: Likewise.
37276 * math/s_clogf.c: Likewise.
37277 * math/s_clogl.c: Likewise.
37278 * math/s_csqrt.c: Likewise.
37279 * math/s_csqrtf.c: Likewise.
37280 * math/s_csqrtl.c: Likewise.
37281 * math/s_ctanf.c: Likewise.
37282 * math/s_ctanh.c: Likewise.
37283 * math/s_ctanhf.c: Likewise.
37284 * math/s_ctanhl.c: Likewise.
37285 * math/s_ctanl.c: Likewise.
37287 * math/math_private.h: Define __nan, __nanf, __nanl.
37288 * math/s_cacosh.c: Include <math_private.h>.
37289 * math/s_cacoshl.c: Likewise.
37290 * math/s_casinh.c: Likewise.
37291 * math/s_casinhf.c: Likewise.
37292 * math/s_casinhl.c: Likewise.
37293 * math/s_ccos.c: Rely entire on ccosh.
37294 * math/s_ccosf.c: Rely entire on ccoshf.
37295 * math/s_ccosl.c: Rely entirely on ccoshl.
37296 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37297 Remove tests for FE_INVALID.
37298 * math/s_ccoshf.c: Likewise.
37299 * math/s_ccoshl.c: Likewise.
37300 * math/s_csin.c: Likewise.
37301 * math/s_csinf.c: Likewise.
37302 * math/s_csinh.c Likewise.
37303 * math/s_csinhf.c: Likewise.
37304 * math/s_csinhl.c: Likewise.
37305 * math/s_csinl.c: Likewise.
37306 * math/s_ctan.c: Likewise.
37307 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37308 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37309 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37311 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37314 compilation problems.
37316 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37319 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37321 * sysdeps/i386/configure.in: Test for -mfma4 option.
37322 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37323 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37324 COMMON_CPUID_INDEX_80000001.
37325 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37326 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37327 use it if FMA3 is not supported.
37328 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37330 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37331 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37333 2011-10-20 Andreas Schwab <schwab@redhat.com>
37336 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37337 it would create a cycle with a link time dependency.
37339 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37341 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37343 * string/Makefile (strop-tests): Add rawmemchr.
37344 * string/test-rawmemchr.c: New file.
37346 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37348 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37349 when compiling str{,n}casecmp and when AVX is available. Hook up
37350 new optimized code in initializers.
37352 2011-10-19 Andreas Schwab <schwab@redhat.com>
37354 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37355 __feraiseexcept instead of feraiseexcept.
37357 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37359 * math/math_private.h: Define defaults for libc_fetestexcept and
37361 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37362 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37363 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37364 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37365 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37366 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37367 libc_fetestexcept and libc_feupdateenv.
37369 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37370 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37371 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37372 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37373 libc_feholdexcept_setround.
37375 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37376 Add s_nearbyint-c and s_nearbyintf-c.
37377 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37378 nearbyintf inlines.
37379 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37380 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37384 * math/math_private.h: Define defaults for libc_fegetround,
37385 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37386 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37387 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37389 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37390 standard functions.
37391 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37392 Remove comments and hacks for old compiler versions.
37393 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37394 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37395 libc_feholdexceptl.
37397 2011-10-18 Andreas Schwab <schwab@redhat.com>
37399 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37400 (__feraiseexcept_renamed): Add __NTH.
37401 (feraiseexcept): Add __NTH. Rename local variables to fix
37402 namespace violations.
37404 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37406 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37408 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37410 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37411 recently added interfaces.
37412 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37414 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37415 about macro parameter expansion.
37417 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37418 __NO_MATH_INLINES is defined. Cleanups.
37420 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37421 and __floorf is target has SSE4.1.
37422 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37423 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37424 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37425 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37427 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37429 (floorf): Likewise.
37431 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37433 2011-10-17 Andreas Schwab <schwab@redhat.com>
37435 * misc/sys/cdefs.h: Fix last change.
37437 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37440 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37442 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37444 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37445 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37446 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37447 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37448 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37449 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37450 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37451 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37452 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37453 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37454 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37456 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37458 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37460 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37462 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37463 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37464 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37465 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37467 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37468 ceil, ceilf, floor, floorf.
37470 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37471 Perform IRELATIVE relocations last.
37473 * elf/do-rel.h: Add another parameter nrelative, replacing the
37474 local variable with the same name. Change name of the function
37475 to end in Rel or Rela (uppercase).
37476 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37477 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37478 elf_dynamic_do_##reloc function.
37480 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37482 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37483 is sufficient, at least on modern CPUs.
37485 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37487 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37488 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37490 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37492 * math/bits/math-finite.h: Add entries for exp.
37493 * math/e_expl.c: Add __*_finite alias.
37494 * sysdeps/i386/fpu/e_exp.S: Likewise.
37495 * sysdeps/i386/fpu/e_expf.S: Likewise.
37496 * sysdeps/i386/fpu/e_expl.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37498 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37502 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37503 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37505 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37506 is sufficient, at least on modern CPUs.
37508 * ctype/ctype-info.c (__ctype_init): Define.
37509 * include/ctype.h (__ctype_init): Declare.
37510 (__ctype_b_loc): The variable is always initialized.
37511 (__ctype_toupper_loc): Likewise.
37512 (__ctype_tolower_loc): Likewise.
37513 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37514 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37516 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37518 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37520 * configure.in: Also look in $cxxmachine/include for C++ system
37523 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37525 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37526 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37527 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37528 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37529 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37530 (USE_AS_WMEMCMP): New macro.
37532 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37533 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37534 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37535 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37537 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37538 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37539 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37540 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37541 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37542 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37543 (USE_AS_WMEMCMP): New macro.
37544 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37545 * sysdeps/string/test-memcmp.c: Update.
37546 Fix simple_wmemcmp.
37548 * wcsmbs/wmemcmp.c: Update.
37549 (WMEMCMP): New macro.
37552 2011-10-12 Andreas Jaeger <aj@suse.de>
37555 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37557 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37559 * libio/iofwide.c (do_length): Avoid warning.
37561 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37563 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37565 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37567 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37568 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37569 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37570 * sysdeps/i386/i686/fpu/e_log.S: New file.
37571 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37572 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37574 * ctype/ctype.h: Add support for inlined isXXX functions when
37575 compiling C++ code.
37577 2011-10-14 Andreas Schwab <schwab@redhat.com>
37579 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37581 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37583 2011-10-13 Roland McGrath <roland@hack.frob.com>
37586 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37588 2011-10-13 Andreas Schwab <schwab@redhat.com>
37590 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37591 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37594 * sysdeps/x86_64/memrchr.S: Check for zero size.
37596 * string/stratcliff.c: Add memrchr tests.
37598 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37601 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37602 rawmemchr-sse2 rawmemchr-sse2-bsf.
37603 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37604 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37605 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37606 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37607 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37608 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37609 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37610 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37611 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37612 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37613 * string/memrchr.c (MEMRCHR): New macro.
37615 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37617 Add integration with gcc's -ffinite-math-only and optimize wrapper
37619 * Versions.def: Define GLIBC_2.15 version for libm.
37620 * math/Makefile (headers): Add bits/math-finite.h.
37621 * math/bits/math-finite.h: New file.
37622 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37623 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37624 * math/e_acoshl.c: Add __*_finite alias.
37625 * math/e_acosl.c: Likewise.
37626 * math/e_asinl.c: Likewise.
37627 * math/e_atan2l.c: Likewise.
37628 * math/e_atanhl.c: Likewise.
37629 * math/e_coshl.c: Likewise.
37630 * math/e_exp10.c: Likewise.
37631 * math/e_exp10f.c: Likewise.
37632 * math/e_exp10l.c: Likewise.
37633 * math/e_exp2l.c: Likewise.
37634 * math/e_fmodl.c: Likewise.
37635 * math/e_gammal_r.c: Likewise.
37636 * math/e_hypotl.c: Likewise.
37637 * math/e_j0l.c: Likewise.
37638 * math/e_j1l.c: Likewise.
37639 * math/e_jnl.c: Likewise.
37640 * math/e_lgammal_r.c: Likewise.
37641 * math/e_log10l.c: Likewise.
37642 * math/e_log2l.c: Likewise.
37643 * math/e_logl.c: Likewise.
37644 * math/e_powl.c: Likewise.
37645 * math/e_sinhl.c: Likewise.
37646 * math/e_sqrtl.c: Likewise.
37647 * math/e_scalb.c: Completely rewritten and optimized.
37648 * math/e_scalbf.c: Likewise.
37649 * math/e_scalbl.c: Likewise.
37650 * math/w_acos.c: Likewise.
37651 * math/w_acosf.c: Likewise.
37652 * math/w_acosl.c: Likewise.
37653 * math/w_acosh.c: Likewise.
37654 * math/w_acoshf.c: Likewise.
37655 * math/w_acoshl.c: Likewise.
37656 * math/w_asin.c: Likewise.
37657 * math/w_asinf.c: Likewise.
37658 * math/w_asinl.c: Likewise.
37659 * math/w_atan2.c: Likewise.
37660 * math/w_atan2f.c: Likewise.
37661 * math/w_atan2l.c: Likewise.
37662 * math/w_atanh.c: Likewise.
37663 * math/w_atanhf.c: Likewise.
37664 * math/w_atanhl.c: Likewise.
37665 * math/w_exp10.c: Likewise.
37666 * math/w_exp10f.c: Likewise.
37667 * math/w_exp10l.c: Likewise.
37668 * math/w_fmod.c: Likewise.
37669 * math/w_fmodf.c: Likewise.
37670 * math/w_fmodl.c: Likewise.
37671 * math/w_j0.c: Likewise.
37672 * math/w_j0f.c: Likewise.
37673 * math/w_j0l.c: Likewise.
37674 * math/w_j1.c: Likewise.
37675 * math/w_j1f.c: Likewise.
37676 * math/w_j1l.c: Likewise.
37677 * math/w_jn.c: Likewise.
37678 * math/w_jnf.c: Likewise.
37679 * math/w_log.c: Likewise.
37680 * math/w_logf.c: Likewise.
37681 * math/w_logl.c: Likewise.
37682 * math/w_log10.c: Likewise.
37683 * math/w_log10f.c: Likewise.
37684 * math/w_log10l.c: Likewise.
37685 * math/w_log2.c: Likewise.
37686 * math/w_log2f.c: Likewise.
37687 * math/w_log2l.c: Likewise.
37688 * math/w_pow.c: Likewise.
37689 * math/w_powf.c: Likewise.
37690 * math/w_powl.c: Likewise.
37691 * math/w_remainder.c: Likewise.
37692 * math/w_remainderf.c: Likewise.
37693 * math/w_remainderl.c: Likewise.
37694 * math/w_scalb.c: Likewise.
37695 * math/w_scalbf.c: Likewise.
37696 * math/w_scalbl.c: Likewise.
37697 * math/w_sqrt.c: Likewise.
37698 * math/w_sqrtf.c: Likewise.
37699 * math/w_sqrtl.c: Likewise.
37700 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37701 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37703 * math/math_private.h: Declare __kernel_standard_f.
37704 * math/w_cosh.c: Remove cruft and optimize a bit.
37705 * math/w_coshf.c: Likewise.
37706 * math/w_coshl.c: Likewise.
37707 * math/w_exp2.c: Likewise.
37708 * math/w_exp2f.c: Likewise.
37709 * math/w_exp2l.c: Likewise.
37710 * math/w_hypot.c: Likewise.
37711 * math/w_hypotf.c: Likewise.
37712 * math/w_hypotl.c: Likewise.
37713 * math/w_lgamma.c: Likewise.
37714 * math/w_lgamma_r.c: Likewise.
37715 * math/w_lgammaf.c: Likewise.
37716 * math/w_lgammaf_r.c: Likewise.
37717 * math/w_lgammal.c: Likewise.
37718 * math/w_lgammal_r.c: Likewise.
37719 * math/w_sinh.c: Likewise.
37720 * math/w_sinhf.c: Likewise.
37721 * math/w_sinhl.c: Likewise.
37722 * math/w_tgamma.c: Likewise.
37723 * math/w_tgammaf.c: Likewise.
37724 * math/w_tgammal.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37726 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37727 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37728 Minor optimizations. Pretty printing. Remove cruft.
37729 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37730 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37732 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37733 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37734 * sysdeps/i386/fpu/e_asin.S: Likewise.
37735 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37736 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37737 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37738 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37739 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37740 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37742 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37743 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37744 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37745 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37746 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37747 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37748 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37749 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37750 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37751 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37752 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37753 * sysdeps/i386/fpu/e_log.S: Likewise.
37754 * sysdeps/i386/fpu/e_log10.S: Likewise.
37755 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37756 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37757 * sysdeps/i386/fpu/e_log2.S: Likewise.
37758 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37759 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37760 * sysdeps/i386/fpu/e_logf.S: Likewise.
37761 * sysdeps/i386/fpu/e_logl.S: Likewise.
37762 * sysdeps/i386/fpu/e_pow.S: Likewise.
37763 * sysdeps/i386/fpu/e_powf.S: Likewise.
37764 * sysdeps/i386/fpu/e_powl.S: Likewise.
37765 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37766 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37767 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37768 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37769 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37770 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37771 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37772 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37773 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37791 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37794 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37795 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37797 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37798 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37799 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37800 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37801 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37803 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37804 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37805 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37806 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37807 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37808 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37809 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37810 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37811 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37812 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37813 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37814 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37816 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37820 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37824 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37826 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37827 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37829 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37830 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37831 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37836 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37845 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37851 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37852 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37854 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37855 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37856 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37857 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37858 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37859 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37860 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37861 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37862 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37863 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37865 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37866 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37867 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37868 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37869 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37870 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37871 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37872 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37873 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37874 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37875 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37876 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37877 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37878 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37880 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37882 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37883 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37884 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37885 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37886 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37887 (__isnanf): Likewise.
37888 (__isinf_ns): Likewise.
37889 (__isinf_nsf): Likewise.
37890 (__finite): Likewise.
37891 (__finitef): Likewise.
37892 (__ieee754_sqrt): Define as macro.
37893 (__ieee754_sqrtf): Define as macro.
37894 (__ieee754_sqrtl): Define as macro.
37895 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37897 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37898 __FINITE_MATH_ONLY__ consistent.
37899 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37901 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37903 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37906 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37908 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37910 * po/ja.po: Update from translation team.
37912 2011-10-08 Roland McGrath <roland@hack.frob.com>
37914 * locale/programs/locarchive.c (prepare_address_space): New function.
37915 (create_archive, enlarge_archive, open_archive): Use it.
37917 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37918 inside [SHARED], where it is used.
37920 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37922 * nss/getent.c (netgroup_keys): Remove unused variable.
37923 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37925 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37927 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37928 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37930 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37931 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37932 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37933 * math/Makefile (libm-calls): Add s_isinf_ns.
37934 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37935 * math/multc3.c: Likewise.
37936 * math/s_casin.c: Likewise.
37937 * math/s_casinf.c: Likewise.
37938 * math/s_casinl.c: Likewise.
37939 * math/s_ccos.c: Likewise.
37940 * math/s_ccosf.c: Likewise.
37941 * math/s_ccosl.c: Likewise.
37942 * math/s_ctan.c: Likewise.
37943 * math/s_ctanf.c: Likewise.
37944 * math/s_ctanh.c: Likewise.
37945 * math/s_ctanhf.c: Likewise.
37946 * math/s_ctanhl.c: Likewise.
37947 * math/s_ctanl.c: Likewise.
37948 * math/w_fmod.c: Likewise.
37949 * math/w_fmodf.c: Likewise.
37950 * math/w_fmodl.c: Likewise.
37951 * math/w_remainder.c: Likewise.
37952 * math/w_remainderf.c: Likewise.
37953 * math/w_remainderl.c: Likewise.
37954 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37955 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37956 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37958 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37959 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37960 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37961 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37963 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37965 * stdio-common/printf_fphex.c: Likewise.
37966 * stdio-common/printf_size.c: Likewise.
37968 * math/e_exp10.c: Include math_private.h using <...> not "...".
37969 * math/e_exp10f.c: Likewise.
37970 * math/e_exp10l.c: Likewise.
37971 * math/e_exp2l.c: Likewise.
37972 * math/e_j0l.c: Likewise.
37973 * math/e_j1l.c: Likewise.
37974 * math/e_jnl.c: Likewise.
37975 * math/e_lgammal_r.c: Likewise.
37976 * math/e_rem_pio2l.c: Likewise.
37977 * math/e_scalb.c: Likewise.
37978 * math/e_scalbf.c: Likewise.
37979 * math/e_scalbl.c: Likewise.
37980 * math/k_cosl.c: Likewise.
37981 * math/k_sinl.c: Likewise.
37982 * math/k_tanl.c: Likewise.
37983 * math/s_cacoshf.c: Likewise.
37984 * math/s_catan.c: Likewise.
37985 * math/s_catanf.c: Likewise.
37986 * math/s_catanh.c: Likewise.
37987 * math/s_catanhf.c: Likewise.
37988 * math/s_catanhl.c: Likewise.
37989 * math/s_catanl.c: Likewise.
37990 * math/s_ccosh.c: Likewise.
37991 * math/s_ccoshf.c: Likewise.
37992 * math/s_ccoshl.c: Likewise.
37993 * math/s_cexp.c: Likewise.
37994 * math/s_cexpf.c: Likewise.
37995 * math/s_cexpl.c: Likewise.
37996 * math/s_clog.c: Likewise.
37997 * math/s_clog10.c: Likewise.
37998 * math/s_clog10f.c: Likewise.
37999 * math/s_clog10l.c: Likewise.
38000 * math/s_clogf.c: Likewise.
38001 * math/s_clogl.c: Likewise.
38002 * math/s_csin.c: Likewise.
38003 * math/s_csinf.c: Likewise.
38004 * math/s_csinh.c: Likewise.
38005 * math/s_csinhf.c: Likewise.
38006 * math/s_csinhl.c: Likewise.
38007 * math/s_csinl.c: Likewise.
38008 * math/s_csqrt.c: Likewise.
38009 * math/s_csqrtf.c: Likewise.
38010 * math/s_csqrtl.c: Likewise.
38011 * math/s_ctan.c: Likewise.
38012 * math/s_ctanf.c: Likewise.
38013 * math/s_ctanh.c: Likewise.
38014 * math/s_ctanhf.c: Likewise.
38015 * math/s_ctanhl.c: Likewise.
38016 * math/s_ctanl.c: Likewise.
38017 * math/s_ldexp.c: Likewise.
38018 * math/s_ldexpf.c: Likewise.
38019 * math/s_ldexpl.c: Likewise.
38020 * math/s_significand.c: Likewise.
38021 * math/s_significandf.c: Likewise.
38022 * math/s_significandl.c: Likewise.
38023 * math/w_acos.c: Likewise.
38024 * math/w_acosf.c: Likewise.
38025 * math/w_acosh.c: Likewise.
38026 * math/w_acoshf.c: Likewise.
38027 * math/w_acoshl.c: Likewise.
38028 * math/w_acosl.c: Likewise.
38029 * math/w_asin.c: Likewise.
38030 * math/w_asinf.c: Likewise.
38031 * math/w_asinl.c: Likewise.
38032 * math/w_atan2.c: Likewise.
38033 * math/w_atan2f.c: Likewise.
38034 * math/w_atan2l.c: Likewise.
38035 * math/w_atanh.c: Likewise.
38036 * math/w_atanhf.c: Likewise.
38037 * math/w_atanhl.c: Likewise.
38038 * math/w_cosh.c: Likewise.
38039 * math/w_coshf.c: Likewise.
38040 * math/w_coshl.c: Likewise.
38041 * math/w_dremf.c: Likewise.
38042 * math/w_exp10.c: Likewise.
38043 * math/w_exp10f.c: Likewise.
38044 * math/w_exp10l.c: Likewise.
38045 * math/w_exp2.c: Likewise.
38046 * math/w_exp2f.c: Likewise.
38047 * math/w_fmod.c: Likewise.
38048 * math/w_fmodf.c: Likewise.
38049 * math/w_fmodl.c: Likewise.
38050 * math/w_hypot.c: Likewise.
38051 * math/w_hypotf.c: Likewise.
38052 * math/w_hypotl.c: Likewise.
38053 * math/w_j0.c: Likewise.
38054 * math/w_j0f.c: Likewise.
38055 * math/w_j0l.c: Likewise.
38056 * math/w_j1.c: Likewise.
38057 * math/w_j1f.c: Likewise.
38058 * math/w_j1l.c: Likewise.
38059 * math/w_jn.c: Likewise.
38060 * math/w_jnf.c: Likewise.
38061 * math/w_jnl.c: Likewise.
38062 * math/w_lgamma.c: Likewise.
38063 * math/w_lgamma_r.c: Likewise.
38064 * math/w_lgammaf.c: Likewise.
38065 * math/w_lgammaf_r.c: Likewise.
38066 * math/w_lgammal.c: Likewise.
38067 * math/w_lgammal_r.c: Likewise.
38068 * math/w_log.c: Likewise.
38069 * math/w_log10.c: Likewise.
38070 * math/w_log10f.c: Likewise.
38071 * math/w_log10l.c: Likewise.
38072 * math/w_log2.c: Likewise.
38073 * math/w_log2f.c: Likewise.
38074 * math/w_log2l.c: Likewise.
38075 * math/w_logf.c: Likewise.
38076 * math/w_logl.c: Likewise.
38077 * math/w_pow.c: Likewise.
38078 * math/w_powf.c: Likewise.
38079 * math/w_powl.c: Likewise.
38080 * math/w_remainder.c: Likewise.
38081 * math/w_remainderf.c: Likewise.
38082 * math/w_remainderl.c: Likewise.
38083 * math/w_scalb.c: Likewise.
38084 * math/w_scalbf.c: Likewise.
38085 * math/w_scalbl.c: Likewise.
38086 * math/w_sinh.c: Likewise.
38087 * math/w_sinhf.c: Likewise.
38088 * math/w_sinhl.c: Likewise.
38089 * math/w_sqrt.c: Likewise.
38090 * math/w_sqrtf.c: Likewise.
38091 * math/w_sqrtl.c: Likewise.
38092 * math/w_tgamma.c: Likewise.
38093 * math/w_tgammaf.c: Likewise.
38094 * math/w_tgammal.c: Likewise.
38096 * po/ja.po: Update from translation team.
38098 2011-09-29 Andreas Jaeger <aj@suse.de>
38101 * sunrpc/netname.c (netname2host): Fix logic.
38105 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38107 * math/w_remainder.c (__remainder): Likewise.
38108 * math/w_remainderf.c (__remainderf): Likewise.
38109 * math/libm-test.inc (remainder_test): Add test cases.
38111 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38113 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38116 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38118 * string/test-memcmp.c: Avoid unncessary #defines.
38119 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38121 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38123 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38124 Use new sse2 version for core i3 - i7 as it's faster
38125 than sse42 version.
38126 (bit_Prefer_PMINUB_for_stringop): New.
38127 * sysdeps/x86_64/rawmemchr.S: Update.
38128 Replace with faster SSE2 version.
38129 * sysdeps/x86_64/memrchr.S: New file.
38130 * sysdeps/x86_64/memchr.S: Update.
38131 Replace with faster SSE2 version.
38133 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38135 * elf/dl-load.c (lose): Add cast to avoid warning.
38137 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38139 * po/ca.po: Update from translation team.
38141 * inet/getnetgrent_r.c: Hook up nscd.
38142 * nscd/Makefile (routines): Add nscd_netgroup.
38143 (nscd-modules): Add netgroupcache.
38144 (CFLAGS-netgroupcache.c): Define.
38145 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38146 (cache_search): Add const to second parameter.
38147 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38149 (dbs): Add netgrdb entry.
38150 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38151 (verify_persistent_db): Handle netgrdb.
38152 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38153 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38155 (netgroup_response_header): Define.
38156 (innetgroup_response_header): Define.
38157 (datahead): Add netgroup_response_header and innetgroup_response_header
38159 * nscd/nscd.conf: Add entries for netgroup cache.
38160 * nscd/nscd.h (dbtype): Add netgrdb.
38161 (_PATH_NSCD_NETGROUP_DB): Define.
38162 (netgroup_iov_disabled): Declare.
38163 (xmalloc, xcalloc, xrealloc): Move declarations here.
38164 (cache_search): Adjust prototype.
38165 Add netgroup-related prototypes.
38166 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38167 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38168 (__nscd_innetgr): Declare.
38169 * nscd/selinux.c (perms): Use access_vector_t as element type and
38170 add netgroup-related initializers.
38171 * nscd/netgroupcache.c: New file.
38172 * nscd/nscd_netgroup.c: New file.
38173 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38174 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38175 For four parameters use innetgr.
38176 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38177 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38178 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38179 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38181 * nscd/connections.c (register_traced_file): Don't register file
38182 for disabled databases.
38184 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38186 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38188 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38189 from tree and freeing node.
38191 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38193 * nss/nsswitch.c (__nss_database_lookup): Handle
38194 nss_parse_service_list out of memory case.
38196 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38198 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38199 out of memory case.
38201 2011-10-04 Andreas Schwab <schwab@redhat.com>
38203 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38204 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38206 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38207 elf_machine_rela, elf_machine_lazy_rel.
38208 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38209 (ELF_DYNAMIC_DO_REL): Likewise.
38210 (ELF_DYNAMIC_DO_RELA): Likewise.
38211 (ELF_DYNAMIC_RELOCATE): Likewise.
38212 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38213 to ELF_DYNAMIC_DO_REL.
38214 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38215 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38216 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38219 skip_ifunc, don't call ifunc function if non-zero.
38220 (elf_machine_rela): Likewise.
38221 (elf_machine_lazy_rel): Likewise.
38222 (elf_machine_lazy_rela): Likewise.
38223 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38224 (elf_machine_lazy_rel): Likewise.
38225 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38227 (elf_machine_lazy_rel): Likewise.
38228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38230 (elf_machine_lazy_rel): Likewise.
38231 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38232 (elf_machine_lazy_rel): Likewise.
38233 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38234 (elf_machine_lazy_rel): Likewise.
38235 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38236 (elf_machine_lazy_rel): Likewise.
38237 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38238 (elf_machine_lazy_rel): Likewise.
38239 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38240 (elf_machine_lazy_rel): Likewise.
38241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38242 (elf_machine_lazy_rel): Likewise.
38244 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38246 * nss/nss_files/files-init.c (_nss_files_init): Use static
38247 initialization for all the *_traced_file variables.
38249 2011-09-28 Andreas Schwab <schwab@redhat.com>
38251 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38253 2011-09-27 Roland McGrath <roland@hack.frob.com>
38256 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38258 2011-09-27 Andreas Schwab <schwab@redhat.com>
38260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38261 Reread the line before reparsing it.
38263 2011-09-26 Andreas Schwab <schwab@redhat.com>
38265 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38267 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38268 Maxim Kuvyrkov <maxim@codesourcery.com>
38269 Joseph Myers <joseph@codesourcery.com>
38271 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38272 if needed for __stack_chk_guard.
38274 2011-09-19 Roland McGrath <roland@hack.frob.com>
38276 * sysdeps/posix/spawni.c (script_execute): Always define it.
38277 It will be optimized away if unused.
38278 (maybe_script_execute): New function.
38279 (__spawni): Call it.
38281 * Makerules: Don't include tls.make.
38282 (config-tls): Always set to thread.
38283 * tls.make.c: File removed.
38285 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38287 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38288 * config.make.in (CPPFLAGS-config): New substituted variable.
38290 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38295 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38296 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38298 2011-09-15 Roland McGrath <roland@hack.frob.com>
38300 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38301 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38303 (CALL_FAIL): Likewise.
38304 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38305 (CALL_FAIL): Macro removed.
38306 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38308 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38310 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38311 for __FINITE_MATH_ONLY__ == 1.
38313 2011-09-15 Andreas Schwab <schwab@redhat.com>
38315 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38316 __ieee754_sqrt instead of sqrt.
38317 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38318 __ieee754_sqrtf instead of sqrtf.
38319 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38320 __floorf instead of floorf.
38321 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38322 __floorf, __truncf instead of floorf, truncf.
38324 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38326 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38328 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38329 __extern_always_inline.
38330 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38333 2011-09-14 Andreas Schwab <schwab@redhat.com>
38335 * elf/rtld.c (dl_main): Also relocate in dependency order when
38336 doing symbol dependency testing.
38338 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38341 Always define `refsym'.
38343 2011-09-13 Andreas Schwab <schwab@redhat.com>
38345 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38346 (__FD_ELT): Renamed from __FDELT.
38347 * misc/bits/select2.h (__FD_ELT): Likewise.
38348 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38349 __FD_MASK instead of __FDELT, __FDMASK.
38350 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38352 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38355 * elf/Makefile (gen-ldd): Fix pattern.
38357 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38358 (init_tls): Likewise.
38360 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38364 2011-09-12 Andreas Schwab <schwab@redhat.com>
38366 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38367 `struct cmsghdr *' instead of `void *'.
38368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38371 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38373 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38375 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38376 ldd_rewrite_script.
38378 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38380 * configure.in: Remove --with-tls option.
38381 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38382 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38383 out in case it is missing.
38384 * sysdeps/ia64/elf/configure.in: Likewise.
38385 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38386 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38387 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38388 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38389 * sysdeps/sh/elf/configure.in: Likewise.
38390 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38391 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38392 * sysdeps/x86_64/elf/configure.in: Likewise.
38393 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38394 * sysdeps/mach/hurd/tls.h: Likewise.
38397 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38400 * configure.in: Fix use of AC_INIT.
38402 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38404 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38406 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38408 * malloc/hooks.c: Likewise.
38411 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38412 variables statically.
38413 (narenas): Initialize.
38414 (list_lock): Initialize.
38415 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38416 initializtion of main_arena and list_lock. Small cleanups.
38417 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38418 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38419 Add initializers to main_arena and mp_.
38420 (malloc_state): Remove pagesize member. Change all users to use
38423 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38424 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38425 is always initialized.
38427 * malloc/malloc.c: Removed unused configurations and dead code.
38428 * malloc/arena.c: Likewise.
38429 * malloc/hooks.c: Likewise.
38430 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38432 * include/tls.h: Removed. USE___THREAD must always be defined.
38433 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38434 * elf/dl-libc.c: Likewise.
38435 * elf/dl-tsd.c: Likewise.
38436 * include/errno.h: Likewise.
38437 * include/netdb.h: Likewise.
38438 * include/resolv.h: Likewise.
38439 * inet/herrno-loc.c: Likewise.
38440 * inet/herrno.c: Likewise.
38441 * malloc/arena.c: Likewise.
38442 * malloc/hooks.c: Likewise.
38443 * malloc/malloc.c: Likewise.
38444 * resolv/res-state.c: Likewise.
38445 * resolv/res_libc.c: Likewise.
38446 * sysdeps/i386/dl-machine.h: Likewise.
38447 * sysdeps/ia64/dl-machine.h: Likewise.
38448 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38449 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38450 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38451 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38452 * sysdeps/sh/dl-machine.h: Likewise.
38453 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38454 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38455 * sysdeps/unix/i386/sysdep.S: Likewise.
38456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38457 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38461 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38462 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38463 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38466 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38467 * sysdeps/x86_64/dl-machine.h: Likewise.
38468 * tls.make.c: Likewise.
38470 * configure.in: Remove --with-__thread option. Make tests for
38471 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38472 tls_model attribute fail if no support is available. Remove
38474 * Makeconfig: Adjust for dropped configure option. All features are
38476 * Makerules: Likewise.
38477 * Versions.def: Likewise.
38478 * argp/argp-fmtstream.c: Likewise.
38479 * argp/argp-fmtstream.h: Likewise.
38480 * argp/argp-help.c: Likewise.
38481 * assert/assert.c: Likewise.
38482 * config.h.in: Likewise.
38483 * config.make.in: Likewise.
38484 * configure: Likewise.
38485 * configure.in: Likewise.
38486 * csu/Versions: Likewise.
38487 * csu/init.c: Likewise.
38488 * elf/tst-audit2.c: Likewise.
38489 * elf/tst-tls10.c: Likewise.
38490 * elf/tst-tls10.h: Likewise.
38491 * elf/tst-tls11.c: Likewise.
38492 * elf/tst-tls12.c: Likewise.
38493 * elf/tst-tls14.c: Likewise.
38494 * elf/tst-tlsmod11.c: Likewise.
38495 * elf/tst-tlsmod12.c: Likewise.
38496 * elf/tst-tlsmod13.c: Likewise.
38497 * elf/tst-tlsmod13a.c: Likewise.
38498 * elf/tst-tlsmod14a.c: Likewise.
38499 * elf/tst-tlsmod15b.c: Likewise.
38500 * elf/tst-tlsmod16a.c: Likewise.
38501 * elf/tst-tlsmod16b.c: Likewise.
38502 * elf/tst-tlsmod7.c: Likewise.
38503 * elf/tst-tlsmod8.c: Likewise.
38504 * elf/tst-tlsmod9.c: Likewise.
38505 * gmon/gmon.c: Likewise.
38506 * grp/fgetgrent_r.c: Likewise.
38507 * grp/putgrent.c: Likewise.
38508 * hurd/fopenport.c: Likewise.
38509 * include/libc-symbols.h: Likewise.
38510 * include/tls.h: Likewise.
38511 * intl/gettextP.h: Likewise.
38512 * intl/loadinfo.h: Likewise.
38513 * locale/global-locale.c: Likewise.
38514 * locale/localeinfo.h: Likewise.
38515 * mach/devstream.c: Likewise.
38516 * malloc/arena.c: Likewise.
38517 * malloc/set-freeres.c: Likewise.
38518 * misc/err.c: Likewise.
38519 * misc/getttyent.c: Likewise.
38520 * misc/mntent_r.c: Likewise.
38521 * posix/getopt.c: Likewise.
38522 * posix/wordexp.c: Likewise.
38523 * pwd/fgetpwent_r.c: Likewise.
38524 * resolv/Versions: Likewise.
38525 * resolv/res_hconf.c: Likewise.
38526 * shadow/fgetspent_r.c: Likewise.
38527 * shadow/putspent.c: Likewise.
38528 * stdio-common/printf_fphex.c: Likewise.
38529 * stdio-common/tmpfile.c: Likewise.
38530 * stdlib/abort.c: Likewise.
38531 * stdlib/fmtmsg.c: Likewise.
38532 * sunrpc/auth_unix.c: Likewise.
38533 * sunrpc/clnt_perr.c: Likewise.
38534 * sunrpc/clnt_tcp.c: Likewise.
38535 * sunrpc/clnt_udp.c: Likewise.
38536 * sunrpc/clnt_unix.c: Likewise.
38537 * sunrpc/openchild.c: Likewise.
38538 * sunrpc/svc_simple.c: Likewise.
38539 * sunrpc/svc_tcp.c: Likewise.
38540 * sunrpc/svc_udp.c: Likewise.
38541 * sunrpc/svc_unix.c: Likewise.
38542 * sunrpc/xdr.c: Likewise.
38543 * sunrpc/xdr_array.c: Likewise.
38544 * sunrpc/xdr_rec.c: Likewise.
38545 * sunrpc/xdr_ref.c: Likewise.
38546 * sunrpc/xdr_stdio.c: Likewise.
38548 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38550 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38552 2011-07-03 Andreas Jaeger <aj@suse.de>
38554 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38555 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38556 regenerate with gen-libm-tests.pl.
38558 2010-05-12 Petr Baudis <pasky@suse.cz>
38561 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38562 around j0() zero points by switching to j1().
38563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38568 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38570 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38572 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38575 Patch in part by Pavel Roskin <proski@gnu.org>.
38578 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38580 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38581 Free memory block if necessary.
38584 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38585 be NULL. Don't lock in this case.
38587 2011-09-09 Roland McGrath <roland@hack.frob.com>
38589 * elf/elf.h (ELFOSABI_GNU): New macro.
38590 (ELFOSABI_LINUX): Define to that.
38592 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38594 * string/strncat.c (strncat): Undef the symbol in case it has been
38595 defined in bits/string.h.
38597 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38599 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38601 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38604 2011-08-17 Andreas Jaeger <aj@suse.de>
38606 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38608 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38609 Ian Lance Taylor <iant@google.com>
38611 * math/libm-test.inc (lround_test): New testcase.
38612 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38614 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38616 * Makefile: Remove support for automatic cvs check-ins.
38617 * Makerules: Likewise.
38618 * config.make.in: Likewise.
38619 * configure.in: Likewise.
38620 * intl/Makefile: Likewise.
38621 * locale/Makefile: Likewise.
38622 * po/Makefile: Likewise.
38623 * posix/Makefile: Likewise.
38624 * sysdeps/gnu/Makefile: Likewise.
38625 * sysdeps/mach/hurd/Makefile: Likewise.
38626 * sysdeps/sparc/sparc32/Makefile: Likewise.
38629 * posix/Makefile (bug-regex32-ENV): Define.
38630 Patch by John Stanley <jpsinthemix@verizon.net>.
38632 * misc/Makefile (headers): Add bits/select2.h.
38633 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38634 * misc/bits/select2.h: New file.
38635 * include/bits/select2.h: New file.
38636 * debug/Makefile (routines): Add fdelt_chk.
38637 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38638 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38640 * debug/fdelt_chk.c: New file.
38642 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38643 * wcsmbs/test-wmemcmp.c: Likewise.
38644 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38645 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38647 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38649 * string/Makefile (strop-tests): Add memcmp.
38650 * string/test-wmemcmp.c: New file.
38651 * string/test-memcmp.c: Add wmemcmp support.
38653 2011-09-08 Roland McGrath <roland@hack.frob.com>
38656 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38659 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38660 garbage value in a __mach_port_mod_refs call in the cases of the
38661 task-self and thread-self ports.
38663 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38665 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38667 2011-09-08 Andreas Schwab <schwab@redhat.com>
38669 * elf/dl-load.c (lose): Check for non-null L.
38671 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38673 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38675 * elf/dl-libc.c (dlerror_run): Pass back error code from
38679 * elf/dl-load.c (lose): Free l_origin if it is valid.
38681 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38683 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38684 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38685 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38686 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38687 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38688 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38690 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38692 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38693 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38694 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38695 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38696 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38697 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38698 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38699 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38700 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38701 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38703 2011-08-15 Alan Modra <amodra@gmail.com>
38706 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38707 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38708 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38709 ppc_mcount to static-only-routines.
38710 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38712 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38713 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38715 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38717 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38718 for finite and infinity parameters.
38720 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38723 and add nop instructions for throughput optimization.
38724 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38726 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38728 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38729 aligned copy for power7 with vector-scalar instructions.
38730 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38732 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38737 2011-09-07 Andreas Schwab <schwab@redhat.com>
38740 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38743 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38745 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38746 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38747 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38748 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38751 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38753 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38754 Forgot to demangle the pointer.
38756 * sysdeps/i386/sysdep.h: Define atom_text_section.
38757 * sysdeps/x86_64/sysdep.h: Likewise.
38758 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38759 section with atom_text_section.
38760 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38762 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38764 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38766 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38767 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38768 already be defined. Change to take two parameters and don't assign
38769 result to variable. Adjust all users.
38770 Define INTERNAL_GETTIME if not already defined.
38771 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38774 HAVE_CLOCK_GETTIME_VSYSCALL.
38775 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38778 gettimeofday vsyscall, just use time.
38780 2011-09-06 Andreas Schwab <schwab@redhat.com>
38782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38785 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38787 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38791 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38792 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38793 syscall if possible.
38795 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38797 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38798 e_ident. Don't pass to find_mapsXX.
38799 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38801 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38804 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38805 * sysdeps/x86_64/multiarch/strchr.S: Update.
38806 Check bit_slow_BSF bit.
38807 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38808 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38809 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38811 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38814 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38816 (tryshell): Define.
38817 (__spawni): Change last parameter to be flag. Test
38818 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38819 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38820 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38821 * posix/spawni.c: Likewise.
38822 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38823 * posix/spawnp.c: Likewise. Change normal version to use
38824 SPAWN_XFLAGS_USE_PATH.
38825 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38826 SPAWN_XFLAGS_TRY_SHELL.
38829 * posix/glob.h: Remove gcc 1.x support.
38832 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38834 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38837 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38839 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38840 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38841 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38842 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38843 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38844 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38846 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38848 * sysdeps/x86_64/wcscmp.S: New file.
38850 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38851 wcscmp-c wcscmp-sse2
38852 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38853 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38854 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38855 * wcsmbs/wcscmp.c: Allow renaming.
38857 2011-09-05 David S. Miller <davem@davemloft.net>
38859 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38860 stack slot, rather than the struct return pointer slot.
38861 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38862 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38864 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38866 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38868 * po/ja.po: Update from translation team.
38871 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38872 kernel in 64-bit binaries.
38874 2011-09-01 David S. Miller <davem@davemloft.net>
38876 * elf/elf.h (HWCAP_SPARC_*): Move to..
38877 * sysdeps/sparc/sysdep.h: this new file and add new values.
38878 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38879 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38880 _DL_HWCAP_COUNT to 24.
38881 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38883 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38884 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38885 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38887 instead of magic constants.
38888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38890 2011-08-31 David S. Miller <davem@davemloft.net>
38892 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38894 Reimplement to do errno handling inline.
38895 (SYSCALL_ERROR_HANDLER): New macro.
38896 (__SYSCALL_STRING): Do not do errno handling in asm.
38897 (__CLONE_SYSCALL_STRING): Delete.
38898 (__INTERNAL_SYSCALL_STRING): Delete.
38899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38900 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38901 (PSEUDO): Reimplement to do errno handling inline.
38902 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38903 (SYSCALL_ERROR_HANDLER): New macro.
38904 (__SYSCALL_STRING): Do not do errno handling in asm.
38905 (__CLONE_SYSCALL_STRING): Delete.
38906 (__INTERNAL_SYSCALL_STRING): Delete.
38907 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38908 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38910 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38911 (inline_syscall*): Add 'err' argument.
38912 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38913 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38914 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38915 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38917 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38918 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38920 2011-08-30 Andreas Schwab <schwab@redhat.com>
38922 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38924 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38926 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38929 2011-08-24 David S. Miller <davem@davemloft.net>
38931 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38933 2011-08-24 Andreas Schwab <schwab@redhat.com>
38935 * elf/Makefile: Add rules to build and run unload8 test.
38936 * elf/unload8.c: New file.
38937 * elf/unload8mod1.c: New file.
38938 * elf/unload8mod1x.c: New file.
38939 * elf/unload8mod2.c: New file.
38940 * elf/unload8mod3.c: New file.
38942 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38945 2011-08-23 David S. Miller <davem@davemloft.net>
38947 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38948 subtract stack bias.
38949 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38950 %sp not %fp in calculations.
38951 (_JMPBUF_UNWINDS_ADJ): Likewise.
38953 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38954 (aio_suspend): Call it to force an exception region around the
38955 AIO_MISC_WAIT() invocation.
38957 2011-08-23 Andreas Schwab <schwab@redhat.com>
38959 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38962 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38964 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38966 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38967 and <dl-machine.h>.
38968 (Elf64_FuncDesc): Remove.
38970 2011-08-22 David S. Miller <davem@davemloft.net>
38972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38973 sigaltstack check, add missing cfi directives.
38974 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38975 missing cfi directives, and sigaltstack handling.
38977 2011-08-16 Andreas Schwab <schwab@redhat.com>
38980 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38981 object is seen twice.
38982 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38984 * elf/Makefile (distribute): Add tst-initorder2.c.
38985 (tests): Add tst-initorder2.
38986 (modules-names): Add tst-initorder2a tst-initorder2b
38987 tst-initorder2c tst-initorder2d. Add rules to build them.
38988 ($(objpfx)tst-initorder2.out): New rule.
38989 * elf/tst-initorder2.c: New file.
38990 * elf/tst-initorder2.exp: New file.
38992 2011-08-22 Andreas Schwab <schwab@redhat.com>
38994 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38996 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38997 dependencies back to end of function.
38999 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39000 $(elfobjdir)/ld.so.
39002 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39005 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39006 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39007 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39008 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39009 of __vdso_gettimeofday.
39010 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39011 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39013 (_libc_vdso_platform_setup): Remove initialization of
39014 __vdso_gettimeofday and __vdso_time.
39016 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39018 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39019 and fgetc_unlocked.
39020 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39023 * elf/dl-open.c (add_to_global): Report additions to the global scope
39024 for LD_DEBUG=scopes.
39025 (dl_open_worker): Also print scope of newly loaded dependencies.
39026 (_dl_show_scope): Indicate if there is no scope.
39029 * stdio-common/Makefile (tests): Add bug24.
39030 * stdio-common/bug24.c: New file.
39032 2011-08-19 Andreas Jaeger <aj@suse.de>
39035 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39036 non-existant file when using close-on-exec mode.
39038 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39041 the very first instruction.
39043 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39044 the CFI state in the end.
39045 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39046 inclusion of dl-trampoline.h.
39047 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39049 2011-08-19 Andreas Schwab <schwab@redhat.com>
39051 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39052 expectations for long double.
39054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39055 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39057 2011-08-14 David S. Miller <davem@davemloft.net>
39059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39060 artificual limit depends upon the system page size.
39062 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39064 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39065 * resolv/Makefile: Define CFLAGS-libresolv.
39067 2011-08-17 Andreas Schwab <schwab@redhat.com>
39069 * nss/makedb.c (compute_tables): Make variables used in nested
39072 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39074 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39075 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39076 if buffer was too small.
39078 * elf/pldd.c (main): Attach to all threads in the process.
39079 Rewrite /proc handling to use *at functions.
39081 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39083 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39084 specifies first scope to show.
39085 (dl_open_worker): Update callers. Move printing scope of new
39086 object to before the relocation.
39087 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39088 * sysdeps/generic/ldsodefs.h: Update declaration.
39090 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39091 string for the scope number.
39093 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39095 * nscd/servicescache.c (cache_addserv): Make sure written is always
39098 2011-08-14 Roland McGrath <roland@hack.frob.com>
39100 * sysdeps/i386/i486/bits/atomic.h
39101 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39102 statement expression, so as to suppress "set but not used" warning.
39103 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39105 * string/strncat.c (STRNCAT): Use prototype definition.
39107 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39108 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39110 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39111 (localedef-modules): Add localedef.
39112 (locale-modules): Add locale.
39114 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39115 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39116 to avoid a warning.
39118 2011-08-14 David S. Miller <davem@davemloft.net>
39120 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39121 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39123 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39125 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39126 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39127 * elf/rtld.c (dl_main): Set l_name of vDSO.
39128 Call _dl_show_scope when DL_DEBUG_SCOPES.
39129 (process_dl_debug): Recognize scopes flag and also set it for all.
39130 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39131 Declare _dl_show_scope.
39133 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39134 (do_dlopen): Pass caller_dlopen to dl_open.
39135 (__libc_dlopen_mode): Initialize caller_dlopen.
39137 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39138 of libc. Make tolower call locale-independent. Optimize a bit by
39139 using isdigit instead of isalnum.
39140 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39142 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39144 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39145 was a dependency or dynamically loaded.
39147 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39149 * intl/l10nflist.c: Allow architecture-specific pop function.
39150 * sysdeps/x86_64/l10nflist.c: New file.
39152 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39155 2011-08-10 Andreas Schwab <schwab@redhat.com>
39157 * include/dirent.h: Add libc_hidden_proto for scandirat and
39158 scandirat64. Don't declare __scandirat64.
39159 * dirent/scandirat.c: Add libc_hidden_def.
39160 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39161 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39163 2011-08-10 David S. Miller <davem@davemloft.net>
39165 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39167 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39171 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39173 * Versions.def [libc]: Add GLIBC_2.15.
39174 * dirent/Makefile (routines): Add scandirat and scandirat64.
39175 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39177 * dirent/dirent.h: Declare scandirat and scandirat64.
39178 * dirent/scandirat.c: New file.
39179 * dirent/scandirat64.c: New file.
39180 * sysdeps/wordsize-64/scandirat.c: New file.
39181 * sysdeps/wordsize-64/scandirat64.c: New file.
39182 * dirent/opendir.c: Define opendirat.
39183 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39185 * dirent/scandir64.c: Adjust for scandir.c change.
39186 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39187 __scandirat64, and __scandir_cancel_handler.
39188 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39189 additional parameter and use openat instead of open (outside of ld.so).
39190 Add new __opendir as wrapper around __opendirat.
39191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39192 here without requiring old scandirat implementation.
39194 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39196 * dirent/scandir.c (cancel_handler): Renamed to
39197 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39198 defined. Adjust users.
39199 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39200 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39202 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39204 * string/test-string.h (IMPL): Use __STRING to expand name and then
39207 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39210 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39212 * string/Makefile: Update.
39213 (strop-tests): Append strncat.
39214 * string/test-wcscmp.c: New file.
39215 New comprehensive test for wcscmp.
39216 * string/test-strcmp.c: Update.
39217 (WIDE): New define.
39219 2011-07-22 Andreas Schwab <schwab@redhat.com>
39221 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39224 2011-07-26 Andreas Schwab <schwab@redhat.com>
39226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39227 encoding to ACE if AI_IDN.
39229 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39232 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39234 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39236 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39237 Fix overflow bug in strncat.
39238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39240 * string/test-strncat.c: Update.
39241 Add new tests for checking overflow bugs.
39243 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39246 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39247 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39248 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39249 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39250 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39251 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39252 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39253 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39256 (USE_AS_STRCAT): Define.
39257 Add strcat and strncat support.
39258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39260 2011-07-25 Andreas Schwab <schwab@redhat.com>
39262 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39263 __n bigger than INT_MAX+1.
39264 (__strncmp_g): Likewise.
39266 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39268 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39269 * libio/stido.h: Likewise.
39271 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39276 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39277 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39283 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39288 (_dl_x86_64_save_sse): Likewise.
39290 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39294 (_dl_x86_64_save_sse): Likewise.
39296 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39298 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39300 2011-07-21 Andreas Schwab <schwab@redhat.com>
39302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39304 (_dl_x86_64_save_sse): Use correct AVX check.
39306 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39309 bug in strncpy/strncat.
39310 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39312 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39314 * string/tester.c (test_strcat): Add tests for different alignments
39315 of source and destination.
39316 (test_strncat): Likewise.
39318 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39321 * posix/glob.c (glob): Check passed in values before using them in
39322 expressions to avoid some overflows.
39323 (glob_in_dir): Likewise.
39326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39327 check for AVX enablement so that we don't crash with old kernels and
39329 * elf/tst-audit4.c: Add same checks here.
39330 * elf/tst-audit6.c: Likewise.
39332 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39334 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39336 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39338 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39340 * po/cs.po: Update from translation team.
39341 * po/bg.po: Likewise.
39343 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39345 * misc/sys/cdefs.h: Add support for const attribute.
39346 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39347 to gnu_dev_{major,minor,makedev} functions.
39349 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39351 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39353 2011-07-20 Andreas Schwab <schwab@redhat.com>
39355 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39358 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39361 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39362 register in order to avoid conflicts with the soft frame pointer
39363 being held in r11 when necessary.
39364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39365 (INTERNAL_VSYSCALL_NCS): Likewise.
39367 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39369 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39370 * elf/dl-fini.c (_dl_fini): Adjust caller.
39371 * elf/dl-close.c (_dl_close_worker): Likewise.
39372 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39374 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39376 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39377 "aux_cache->nlibs < 0".
39379 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39380 in the reload-count case.
39382 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39385 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39386 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39387 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39388 * sysdeps/x86_64/multiarch/strcat.S: New file.
39389 * sysdeps/x86_64/multiarch/strncat.S: New file.
39390 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39391 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39392 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39393 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39395 (USE_AS_STRCAT): Define.
39396 Add strcat and strncat support.
39397 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39398 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39399 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39400 * string/strncat.c: Update.
39401 (USE_AS_STRNCAT): Define.
39402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39403 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39405 * sysdeps/x86_64/multiarch/init-arch.h
39406 (bit_Prefer_PMINUB_for_stringop): New.
39407 (index_Prefer_PMINUB_for_stringop): Likewise.
39408 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39409 bit_Prefer_PMINUB_for_stringop.
39411 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39413 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39415 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39416 of casting of buffer.
39417 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39418 buffer32 and buffer64.
39419 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39420 writes instead of casting of buffer.
39421 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39423 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39426 2011-07-19 Andreas Schwab <schwab@redhat.com>
39428 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39430 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39432 * nscd/nscd.c (termination_handler): Don't do anything for a database
39433 if it has not yet been initialized.
39435 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39437 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39439 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39441 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39443 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39445 * po/nl.po: Update from translation team.
39446 * po/sv.po: Likewise.
39448 2011-07-16 Roland McGrath <roland@hack.frob.com>
39450 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39451 now disallowed by GCC.
39453 * configure.in (use-default-link): Default to yes if a test -shared
39454 link meets our qualifications.
39455 * configure: Regenerated.
39457 * config.make.in (output-format): New variable.
39458 * configure.in: Check for ld --print-output-format support.
39459 * configure: Regenerated.
39460 * Makerules ($(common-objpfx)format.lds)
39461 [$(output-format) != unknown]: Just use $(output-format),
39462 instead of the linker-script munging.
39464 2011-07-14 Roland McGrath <roland@hack.frob.com>
39466 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39467 of $(common-objpfx)shlib.lds.
39468 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39470 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39471 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39473 * configure.in (-z relro check): Adjust test code to add a large
39474 writable data section after it.
39475 * configure: Regenerated.
39477 2011-07-11 Roland McGrath <roland@hack.frob.com>
39479 * configure.in (-z relro check): Fix test code to make the variable
39481 * configure: Regenerated.
39483 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39485 * nscd/nscd.h (struct traced_file): Define.
39486 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39487 elements. Add traced_files.
39488 (inotify_fd): Declare.
39489 (register_traced_file): Declare.
39490 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39491 (inotify_fd): Export.
39492 (resolv_conf_descr): Remove.
39493 (nscd_init): Move inotify descriptor creation to main.
39494 Don't register files for notification here.
39495 (register_traced_file): New function.
39496 (invalidate_cache): Don't use reset_res to determine whether to call
39497 res_init, go through the list of registered files.
39498 (main_loop_poll): The inotify descriptors are now stored in the
39499 structures for the traced files.
39500 (main_loop_epoll): Likewise
39501 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39502 to __nss_disable_nscd.
39503 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39504 for a database anymore. Check the records for all the registered
39506 * nss/Makefile (libnss_files-routines): Add files-init.
39507 (libnss_db-routines): Add db-init.
39508 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39509 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39510 * nss/nss_db/db-init.c: New file.
39511 * nss/nss_files/files-init.c: New file.
39512 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39513 __nss_lookup_function.
39514 (__nss_lookup_function): Call nss_load_library.
39515 (nss_load_all_libraries): New function.
39516 (__nss_disable_nscd): Take parameter with callback function for files
39517 to register. Set is_nscd. Load all the DSOs for the NSS modules
39518 used for the cached services.
39519 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39520 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39521 options for features to all the files in nscd.
39523 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39525 2011-07-10 Roland McGrath <roland@hack.frob.com>
39527 * csu/elf-init.c (__libc_csu_init): Comment typo.
39529 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39531 * po/pl.po: Update from translation team.
39532 * po/ja.po: Likewise.
39533 * po/ru.po: Likewise.
39534 * po/ko.po: Likewise.
39535 * po/fr.po: Likewise.
39537 2011-07-09 Roland McGrath <roland@hack.frob.com>
39539 * configure.in (.ctors/.dtors header and trailer check):
39540 Use an empirical test on a built program.
39541 * configure: Regenerated.
39543 * configure.in (-z relro check): Use an empirical test on a built DSO.
39544 Detect, but do not require, on ia64.
39545 * configure: Regenerated.
39547 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39548 Update tests that use readelf to use $READELF instead.
39549 * configure: Regenerated.
39551 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39553 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39554 if the result is not used.
39556 2011-07-05 Andreas Jaeger <aj@suse.de>
39559 * stdlib/tst-strtod.c: Add testcase.
39561 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39563 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39564 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39565 The latter has a higher limit. Take additional parameter to pass to
39567 (__pathconf): Pass file to __statfs_link_max.
39568 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39570 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39574 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39575 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39577 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39578 (__statfs_filesize_max): Likewise.
39579 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39581 2011-07-05 Andreas Jaeger <aj@suse.de>
39583 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39585 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39587 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39589 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39592 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39594 * Makefile (strop-tests): Add strncat.
39595 * string/test-strncat.c: New file.
39597 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39599 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39601 2011-06-21 Andreas Jaeger <aj@suse.de>
39603 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39604 Copy rule from iconvdata/Makefile.
39606 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39609 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39610 but no long options are defined, just return 'W'.
39612 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39615 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39617 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39619 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39621 (innetgr): Likewise.
39623 2011-07-05 Roland McGrath <roland@hack.frob.com>
39625 * config.make.in (install_root): Default to $(DESTDIR).
39627 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39631 2011-07-02 Roland McGrath <roland@hack.frob.com>
39633 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39635 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39636 containing directory rather than embedding absolute directory names.
39638 * scripts/check-local-headers.sh: Rewritten using awk.
39639 Match by word, not by line. Print error messages for matches.
39640 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39642 * Makerules [shlib-lds-flags empty]:
39643 ($(common-objpfx)libc_pic.opts): New target.
39644 ($(common-objpfx)libc_pic.os.clean): New target.
39645 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39647 * config.make.in (OBJCOPY): New variable.
39648 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39649 * configure: Regenerated.
39651 * config.make.in (use-default-link): New variable.
39652 * configure.in (use_default_link): Grok --with-default-link to set it.
39653 * configure: Regenerated.
39654 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39655 (shlib-lds, shlib-lds-flags): Define to empty.
39657 * Makerules (shlib-lds): New variable.
39658 (shlib-lds-flags): New variable.
39659 (build-shlib, build-moduile, build-module-asneeded): Use it.
39660 ($(common-objpfx)libc.so): Use $(shlib-lds).
39661 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39662 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39664 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39665 DT_FLAGS/DT_FLAGS_1 with zero flags.
39667 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39668 linker script munging.
39670 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39672 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39674 * crypt/sha512.c (sha512_process_block): Perform total addition using
39675 128-bit if possible.
39676 (__sha512_finish_ctx): Likewise.
39677 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39679 * crypt/sha256.c (SWAP64): Define.
39680 (sha256_process_block): Perform total addition using 64-bit if
39682 (__sha256_finish_ctx): Likewise.
39684 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39686 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39688 * nscd/hstcache.c (cache_addhst): Likewise.
39689 * nscd/grpcache.c (cache_addgr): Likewise.
39690 * nscd/aicache.c (addhstaiX): Likewise
39691 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39693 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39695 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39697 * nscd/hstcache.c (cache_addhst): Likewise.
39698 * nscd/grpcache.c (cache_addgr): Likewise.
39699 * nscd/aicache.c (addhstaiX): Likewise
39701 2011-07-01 Andreas Schwab <schwab@redhat.com>
39703 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39704 domain only when needed.
39706 2011-06-30 Andreas Schwab <schwab@redhat.com>
39708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39709 is always restored.
39711 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39713 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39714 are re-adding the entry.
39715 * nscd/servicescache.c (cache_addserv): Likewise.
39717 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39719 * sysdeps/generic/dl-irel.h: fix protection against multiple
39721 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39723 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39726 * malloc/memusage.sh: Fix quoting in message.
39727 * debug/xtrace.sh: Likewise.
39729 * configure.in: Remove support for --experimental-malloc option, make
39731 * config.make.in: Likewise.
39732 * malloc/Makefile: Likewise.
39734 2011-06-27 Andreas Schwab <schwab@redhat.com>
39736 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39737 two-byte characters.
39739 2011-06-27 Roland McGrath <roland@hack.frob.com>
39741 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39742 AC_CACHE_CHECK invocation.
39743 * configure: Regenerated.
39745 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39747 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39750 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39751 bit from old_res_options.
39753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39755 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39756 value type for setfct.
39758 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39761 __gettimeofday instead of gettimeofday.
39763 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39765 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39767 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39769 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39771 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39774 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39777 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39778 strcpy-sse2-unaligned strncpy-sse2-unaligned
39779 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39780 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39781 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39782 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39783 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39784 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39785 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39786 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39787 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39788 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39789 (STRCPY): Support SSE2 and SSSE3 versions.
39791 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39794 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39795 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39796 kernels which artificially limit size of requests.
39798 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39801 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39802 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39803 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39804 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39805 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39806 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39807 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39808 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39810 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39811 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39812 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39813 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39814 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39816 Enable unaligned load optimization for Intel Core i3, i5 and i7
39818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39820 (index_Fast_Unaligned_Load): Define.
39821 (HAS_FAST_UNALIGNED_LOAD): Define.
39823 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39825 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39827 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39831 until it is clear that the information is realy needed.
39832 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39834 2011-06-22 Andreas Schwab <schwab@redhat.com>
39836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39838 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39840 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39841 /sys/devices/system/cpu/online if it is usable.
39843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39844 reading the information from the /proc filesystem to once a second.
39846 2011-06-21 Andreas Jaeger <aj@suse.de>
39848 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39849 NULL after inclusion of kernel headers.
39851 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39853 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39854 calls to internal_setent.
39857 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39858 addresses using gethostbyname4_r ignore IPv4 addresses.
39860 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39861 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39863 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39865 2011-06-20 David S. Miller <davem@davemloft.net>
39867 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39869 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39871 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39872 (elf_irel): Use it.
39873 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39874 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39875 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39876 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39877 * sysdeps/x86_64/dl-irel.h: Likewise.
39879 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39880 * elf/dl-sym.c: Likewise.
39882 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39884 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39885 need to dereference resplen2.
39887 2011-06-14 Andreas Schwab <schwab@redhat.com>
39889 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39891 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39893 * Makeconfig: Define vardbdir and inst_vardbdir.
39894 * nss/Makefile: Add rules to install db-Makefile.
39896 * nss/nss_db/db-XXX.c: Cleanup.
39898 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39899 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39901 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39902 * nss/makedb.c: Implement -g option to specify that value strings
39903 are generated and should not be added to table iterated over for
39905 * nss/nss_db/db-initgroups.c: New file.
39907 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39910 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39911 (internal_getgrouplist): Adjust to name change.
39912 Update use_initgroups_entry if this is not the first call.
39913 * nss/databases.def: Add initgroups entry.
39915 * nss/makedb.c (compute_tables): Check result of multiple hash table
39916 sizes to minimize maximum chain length.
39918 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39920 * Versions.def: Add entry for libnss_db.
39921 * shlib-versions: Likewise.
39922 * nss/Makefile: Add rules to build libnss_db.
39923 * nss/Versions: Add libnss_db information. Organize libnss_files
39925 * nss/db-Makefile: Add gshadow support. Change rules for the new
39926 makedb progra. Some minor improvements to generate smaller files.
39927 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39929 * nss/makedb.c: ...here.
39930 Improve database format to be smaller and require less memory at
39932 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39934 * nss/nss_db/db-netgrp.c: Likewise.
39935 * nss/nss_db/db-open.c: Likewise.
39936 * nss/nss_files/flies-XXX.x: Adjust comments.
39937 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39938 * nss/nss_files/files-grp.c: Likewise.
39939 * nss/nss_files/files-hosts.c: Likewise.
39940 * nss/nss_files/files-network.c: Likewise.
39941 * nss/nss_files/files-proto.c: Likewise.
39942 * nss/nss_files/files-pwd.c: Likewise.
39943 * nss/nss_files/files-rpc.c: Likewise.
39944 * nss/nss_files/files-service.c: Likewise.
39945 * nss/nss_files/files-sgrp.c: Likewise.
39946 * nss/nss_files/files-spwd.c: Likewise.
39947 * nss/nss_db/db-alias.c: Removed.
39948 * nss/nss_db/dummy-db.h: Removed.
39950 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39952 * nss/makedb.c: Rewritten to not use database library.
39953 * nss/Makefile: Update to build new makedb program.
39955 2011-06-14 Andreas Jaeger <aj@suse.de>
39957 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39958 memset declaration.
39960 2011-06-10 Andreas Schwab <schwab@redhat.com>
39962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39965 2011-06-10 Roland McGrath <roland@hack.frob.com>
39967 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39968 * elf/Makefile ($(objpfx)ld.so): Likewise.
39970 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39971 Don't list ld.so twice in dependencies.
39973 * posix/bug-regex31.c: Include <stdlib.h>.
39975 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39977 * nis/nss_compat/compat-spwd.c
39978 (getspent_next_nss_netgr): Remove unused variable.
39979 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39981 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39982 nonmembers" output to use the right array.
39984 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39986 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39988 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39989 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39990 * catgets/gencat.c (read_input_file): Likewise.
39991 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39993 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39994 variable definition inside #if's controlling its use.
39996 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39998 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40000 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40002 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40005 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40007 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40008 * configure: Regenerated.
40010 * Makerules: Revert last change.
40011 * elf/Makefile: Likewise.
40013 2011-06-09 Roland McGrath <roland@hack.frob.com>
40015 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40016 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40017 (reloc-link): Likewise.
40019 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40021 * elf/Makefile: Add rules to build pldd.
40022 * elf/pldd.c: New file.
40023 * elf/pldd-xx.c: New file.
40025 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40027 * version.h: Update for 2.15 development version.
40029 2011-06-07 David S. Miller <davem@davemloft.net>
40031 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40034 elf_machine_lazy_rel): Likewise.
40035 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40036 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40037 elf_machine_lazy_rel): Likewise.
40038 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40039 dl_hwcap via passed in argument.
40040 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40043 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40045 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40047 2011-06-06 Roland McGrath <roland@hack.frob.com>
40050 * manual/fdl-1.1.texi: New file, verbatim from:
40051 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40052 * manual/lgpl-2.1.texi: New file, verbatim from:
40053 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40054 * manual/Makefile (licenses): New variable, list those new file names.
40056 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40058 * manual/fdl.texi: File removed.
40059 * manual/lesser.texi: File removed.
40060 * manual/libc.texinfo (Copying, Documentation License):
40061 Use new @include file names, put @appendix directive before @include.
40063 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40066 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40067 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40068 (mq_open): Add __NTH.
40070 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40073 Assume Intel Core i3/i5/i7 processor if AVX is available.
40075 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40080 2011-05-31 Andreas Schwab <schwab@redhat.com>
40082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40083 memory. Use alloca_account. Fix memory leak when retrying.
40085 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40087 * version.h (RELEASE): Bump for 2.14 release.
40088 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40090 * config.make.in (RANLIB): Remove entry.
40092 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40094 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40095 (libc.pot): Work around missing support for .ksh extension in xgettext.
40098 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40099 if both request failed.
40100 (send_dg): In case of server errors clear resplen or *resplen2.
40103 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40104 when there are multiple maps.
40105 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40106 (_dl_fini): Remove test here.
40108 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40110 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40113 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40114 bit from old_res_options.
40115 (gaih_inet): Likewise.
40118 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40121 * resolv/res_init.c (res_setoptions): Make the code more compact.
40124 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40128 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40130 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40133 * malloc/malloc.h: Declare malloc hook variables as volatile.
40135 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40139 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40140 raise in the comment.
40141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40142 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40143 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40145 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40148 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40149 grow the buffers more if it already has to be sufficient.
40150 (build_wcs_upper_buffer): Likewise.
40151 * posix/regexec.c (check_matching): Likewise.
40152 (clean_state_log_if_needed): Likewise.
40153 (extend_buffers): Don't enlarge buffers beyond size of the input
40155 Patches mostly by Emil Wojak <emil@wojak.eu>.
40156 * posix/bug-regex32.c: New file.
40157 * posix/Makefile (tests): Add bug-regex32.
40159 * locale/findlocale.c (_nl_find_locale): Return right away if
40160 _nl_explode_name failed.
40161 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40163 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40165 * debug/xtrace.sh: Unify messages.
40166 * malloc/memusage.sh: Likewise.
40169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40170 time symbol from vDSO. Substitute with vsyscall if not available.
40171 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40174 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40175 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40176 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40177 Add sendmmsg and internal_sendmmsg.
40178 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40179 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40180 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40182 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40183 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40184 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40186 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40189 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40190 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40196 * iconvdata/Makefile (tests): Add bug-iconv9.
40197 * iconvdata/bug-iconv9.c: New file.
40199 2011-05-27 Andreas Schwab <schwab@redhat.com>
40202 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40204 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40207 (struct user_regs_struct): Change intcs field back to cs.
40209 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40211 * po/ja.po: Update from translation team.
40213 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40216 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40217 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40219 2011-05-20 Andreas Schwab <schwab@redhat.com>
40221 * stdlib/longlong.h: Update from GCC.
40223 2011-05-23 Andreas Schwab <schwab@redhat.com>
40225 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40227 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40228 Add parameter name.
40229 (__sysconf): Pass it down.
40231 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40234 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40237 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40238 add in in __libc_use_alloca calls. Adjust callers.
40239 (glob): Use malloc in some situations.
40241 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40242 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40245 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40247 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40248 and CLOCK_BOOTTIME_ALARM.
40251 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40254 * string/_strerror.c (__strerror_r): Print negative errors as signed
40258 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40259 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40260 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40262 * configure.in: Fix typo in redirection and correct removal of test
40263 files in two cases.
40266 * locale/setlocale.c (new_composite_name): Fix test to check for
40267 identical name of all categories.
40270 * libio/filedoalloc.c (local_isatty): New function.
40271 (_IO_file_doallocate): Use local_isatty.
40272 * stdio-common/perror.c (perror): In case a new stream is used
40273 forward the stream error.
40274 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40277 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40282 * include/alloca.h (extend_alloca_account): Define.
40285 * posix/regex.h: Fix comments with documentation of user-accessible
40286 fields after compilation and describe correct free'ing of pattern
40287 after re_compile_pattern.
40288 Patch by Reuben Thomas <rrt@sc3d.org>.
40290 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40292 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40293 and -mno-altivec to prevent the compiler from using Altivec and/or
40294 VSX instructions when the corresponding registers are not available.
40296 2011-05-19 Andreas Schwab <schwab@redhat.com>
40298 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40300 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40302 * libio/freopen.c (freopen): Use __dup2, not dup2.
40303 * libio/freopen64.c (freopen64): Likewise.
40305 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40308 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40309 * math/Makefile (tests): Add test-powl.
40310 (CFLAGS-test-powl.c): Define.
40311 * math/test-powl.c: New file.
40313 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40315 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40317 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40320 * iconvdata/gb18030.c: Update to GB18020-2005.
40322 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40324 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40325 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40326 Patch by Aharon Robbins <arnold@skeeve.com>.
40329 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40333 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40334 through underflows.
40337 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40338 point to strings before performing equality test for error_one_per_line
40342 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40346 (struct user_fpregs_struct): Avoid __uint*_t types.
40349 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40350 symbol info. Use it instead of calling _dl_addr locally.
40351 (lock_and_info): New function.
40352 (tr_freehook): Call lock_and_info and pass symbol info as additional
40353 parameter to tr_where.
40354 (tr_mallochook): Likewise.
40355 (tr_reallochook): Likewise.
40356 (tr_memalignhook): Likewise.
40358 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40359 used and couldn't be at all thread-safe.
40361 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40363 * libio/freopen.c (freopen): Don't close old file descriptor
40364 before the new one is opened. Instead dup the new file descriptor
40365 to the old one after the new stream is created.
40366 * libio/freopen64.c (freopen64): Likewise.
40367 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40368 * libio/fileops.c (_IO_new_file_close_it): Handle new
40369 _IO_FLAGS2_NOCLOSE flag.
40370 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40371 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40372 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40373 _IO_FLAGS2_NOCLOSE flag.
40374 * include/unistd.h: Add hidden_proto for dup3.
40375 Define __have_dup3.
40376 * io/dup3.c: Define hidden symbol.
40377 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40380 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40381 when an incomplete long option is used.
40382 * posix/tst-getopt_long1.c: New file.
40383 * posix/Makefile (tests): Add tst-getopt_long1.
40386 * scripts/config.guess: Update from autoconf-2.68.
40387 * scripts/config.sub: Likewise.
40390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40392 (has_cpuclock): ...this. New function.
40393 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40394 macro here based on has_cpuclock code.
40397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40398 First byte (not low byte) is now always NUL.
40399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40402 Use non-cancelable interfaces.
40405 * locale/iso-639.def: Add entry for Sorani.
40408 * include/stdlib.h: Move include protection to the right place.
40409 Define abort_msg_s. Declare __abort_msg with it.
40410 * stdlib/abort.c (__abort_msg): Adjust type.
40411 * assert/assert.c (__assert_fail_base): New function. Majority
40412 of code from __assert_fail. Allocate memory for __abort_msg with
40414 (__assert_fail): Now call __assert_fail_base.
40415 * assert/assert-perr.c: Remove bulk of implementation. Use
40416 __assert_fail_base.
40417 * include/assert.hL Declare __assert_fail_base.
40418 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40420 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40422 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40426 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40427 until all modules are registered in the DTV.
40428 * elf/Makefile: Add rules to build and run tst-tls19.
40429 * elf/tst-tls19.c: New file.
40430 * elf/tst-tls19mod1.c: New file.
40431 * elf/tst-tls19mod2.c: New file.
40432 * elf/tst-tls19mod3.c: New file.
40433 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40436 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40440 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40441 two-byte sequence errors.
40442 * iconvdata/Makefile (tests): Add bug-iconv8.
40443 * iconvdata/bug-iconv8.c: New file.
40446 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40449 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40452 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40453 (dummy_getcfa): New function.
40454 (init): Get _Unwind_GetCFA address, use dummy if not found.
40455 (backtrace_helper): In recursion check, also check whether CFA changes.
40456 (__backtrace): Completely initialize arg.
40458 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40459 storing incomplete byte sequence in state object. Avoid testing for
40460 guaranteed too small input if we know there is enough data available.
40462 2011-05-11 Andreas Schwab <schwab@redhat.com>
40464 * Makeconfig (+link-pie): Indent.
40465 * Rules (binaries-pie): Define if $(have-fpie) and
40467 (binaries-shared): Also filter out $(binaries-pie).
40468 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40469 * nscd/Makefile (others-pie): Add nscd.
40470 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40471 ($(objpfx)nscd): Remove command override.
40472 * login/Makefile (others-pie): Add pt_chown.
40473 ($(objpfx)pt_chown): Remove command override.
40474 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40475 remove command overrides.
40477 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40479 * libio/tst_putwc.c: Fix error messages.
40482 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40483 currently writing and seek to current position when not.
40484 * libio/Makefile (tests): Add bug-fclose1.
40485 * libio/bug-fclose1.c: New file.
40487 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40490 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40491 don't set DF_1_NODELETE here.
40492 (do_lookup_x): When entering new entry test for copy relocation
40493 and if necessary set DF_1_NODELETE flag.
40494 * elf/tst-unique4.cc: New file.
40495 * elf/tst-unique4.h: New file.
40496 * elf/tst-unique4lib.cc: New file.
40497 * elf/Makefile: Add rules to build and run tst-unique4.
40498 Patch by Piotr Bury <pbury@goahead.com>.
40500 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40503 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40506 * misc/mntent_r.c (addmntent): Flush the stream after the output
40509 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40510 (is_trusted_path_normalize): Skip initial colon. Append slash
40511 to empty buffer. Duplicate is_trusted_path code but allow
40512 constructed patch to be prefix.
40513 (is_dst): Allow $ORIGIN followed by /.
40514 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40515 Correct testing of result of is_trusted_path_normalize
40516 (decompose_rpath): Fix warning.
40518 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40521 * grp/initgroups.c (internal_getgrouplist): When we found the service
40522 list through the initgroups entry in nsswitch.conf do not always
40523 continue on a successful lookup. Don't always use the
40524 __nss_group_database value if it is set.
40525 * nss/nsswitch.conf (initgroups): Change action for successful db
40526 lookup to continue for compatibility.
40528 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40531 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40533 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40535 * iconvdata/tst-tables.sh: Likewise.
40536 * iconvdata/cp770.c: New file.
40537 * iconvdata/cp771.c: New file.
40538 * iconvdata/cp772.c: New file.
40539 * iconvdata/cp773.c: New file.
40540 * iconvdata/cp774.c: New file.
40541 * iconvdata/testdata/CP770: New file.
40542 * iconvdata/testdata/CP770..UTF8: New file.
40543 * iconvdata/testdata/CP771: New file.
40544 * iconvdata/testdata/CP771..UTF8: New file.
40545 * iconvdata/testdata/CP772: New file.
40546 * iconvdata/testdata/CP772..UTF8: New file.
40547 * iconvdata/testdata/CP773: New file.
40548 * iconvdata/testdata/CP773..UTF8: New file.
40549 * iconvdata/testdata/CP774: New file.
40550 * iconvdata/testdata/CP774..UTF8: New file.
40552 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40554 * iconvdata/gen-8bit-gap.sh: Likewise.
40555 * iconvdata/gen-8bit.sh: Likewise.
40557 * locale/iso-639.def: Add ary entry.
40560 * locale/C-translit.h.in: Add U20A1 transliteration.
40563 * locale/iso-639.def: Add wae entry.
40564 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40567 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40571 * locale/C-translit.h.in: Add entry for U20B9.
40572 Patch by pravin.d.s@gmail.com.
40574 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40577 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40578 ENAMETOOLONG use generic getcwd.
40579 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40580 in rtld. Use *stat64.
40581 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40582 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40583 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40584 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40585 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40586 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40587 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40588 __fstatat64 macros.
40589 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40590 * dirent/rewinddir.c: Add libc_hidden_def.
40591 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40592 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40594 * include/dirent.h (__alloc_dir): Add flags parameter.
40595 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40596 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40598 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40599 from fdopendir if O_CLOEXEC is already set.
40601 2011-03-15 Alan Modra <amodra@gmail.com>
40603 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40604 l_tls_firstbyte_offset non-zero. Save padding offset in
40605 l_tls_firstbyte_offset for later use.
40606 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40607 freeing static tls block.
40609 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40611 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40612 where #ifdef was intended. The intent is to prevent ARG_MAX from
40613 being defined by the kernel headers.
40615 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40618 * resolv/resolv.h: Define RES_NOTLDQUERY.
40619 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40620 no-tld-query and set RES_NOTLDQUERY.
40621 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40622 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40623 modern BIND to search name as TLD unless forbidden.
40625 2011-05-07 Petr Baudis <pasky@suse.cz>
40626 Ulrich Drepper <drepper@gmail.com>
40629 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40630 (is_trusted_path): ...to here.
40631 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40632 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40633 using is_trusted_path_normalize() in setuid scripts.
40635 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40637 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40638 __BEGIN/__END_DECLS.
40640 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40643 NSS_STATUS_NOTFOUND if no record was found.
40645 2011-05-05 Andreas Schwab <schwab@redhat.com>
40647 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40648 (headers-not-in-tirpc): Remove rpc/netdb.h
40649 * resolv/netdb.h: Revert last change.
40651 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40653 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40654 circular dependency between libgcc.a and libc.a.
40656 2011-05-05 Andreas Schwab <schwab@redhat.com>
40658 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40659 * nis/Makefile: Don't install rpcsvc/*.
40660 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40661 instead of <rpc/types.h>.
40662 (MAXHOSTNAMELEN): Define.
40664 2011-05-03 Andreas Schwab <schwab@redhat.com>
40666 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40668 2011-04-28 Maciej Babinski <mbabinski@google.com>
40671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40672 gethostbyname4_r when IPv6 results are possible.
40674 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40677 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40678 _PC_PIPE_BUF handling.
40680 2011-04-30 Bruno Haible <bruno@clisp.org>
40683 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40684 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40686 * inet/getnameinfo.c (getnameinfo): Likewise.
40688 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40690 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40691 to groups setting in database lookup.
40692 * nss/nsswitch.conf: Add initgroups entry.
40694 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40697 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40699 Patch by Eric Blake <eblake@redhat.com>.
40701 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40703 * sunrpc/Makefile (need-export-routines): Add svc_run.
40704 (routines): Remove svc_run.
40705 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40706 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40707 * sunrpc/svc_run.c (svc_run): Likewise.
40708 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40710 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40713 problem in reallocation in last patch.
40715 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40717 * sunrpc/Makefile: Move inclusion of Rules.
40719 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40721 * nss/nss_files/files-initgroups.c: New file.
40722 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40723 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40724 _nss_files_initgroups_dyn.
40726 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40728 * elf/elf.h (R_ARM_IRELATIVE): Define.
40730 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40732 * po/ru.po: Update from translation team.
40734 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40736 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40739 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40743 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40745 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40748 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40750 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40752 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40753 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40756 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40759 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40761 * stdlib/bug-getcontext.c: New file.
40762 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40764 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40766 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40767 instructions into .machine "z9-109".
40768 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40769 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40771 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40773 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40774 between environment variables and auxiliary vector.
40776 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40778 * Makefile: Add rules to build linkobj/libc.so.
40779 * include/libc-symbols.h: Define libc_hidden_nolink.
40780 * include/rpc/auth.h: Mark functions which are to be hidden.
40781 * include/rpc/auth_des.h: Likewise.
40782 * include/rpc/auth_unix.h: Likewise.
40783 * include/rpc/clnt.h: Likewise.
40784 * include/rpc/des_crypt.h: Likewise.
40785 * include/rpc/key_prot.h: Likewise.
40786 * include/rpc/pmap_clnt.h: Likewise.
40787 * include/rpc/pmap_prot.h: Likewise.
40788 * include/rpc/pmap_rmt.h: Likewise.
40789 * include/rpc/rpc_msg.h: Likewise.
40790 * include/rpc/svc.h: Likewise.
40791 * include/rpc/svc_auth.h: Likewise.
40792 * include/rpc/xdr.h: Likewise.
40793 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40794 * nss/Makefile: Likewise.
40795 * sunrpc/Makefile: Don't install headers. Build library with normal
40796 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40797 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40798 for the compat linking library. Remove use of INTDEF/INTUSE.
40799 * sunrpc/auth_none.c: Likewise.
40800 * sunrpc/auth_unix.c: Likewise.
40801 * sunrpc/authdes_prot.c: Likewise.
40802 * sunrpc/authuxprot.c: Likewise.
40803 * sunrpc/clnt_gen.c: Likewise.
40804 * sunrpc/clnt_perr.c: Likewise.
40805 * sunrpc/clnt_raw.c: Likewise.
40806 * sunrpc/clnt_simp.c: Likewise.
40807 * sunrpc/clnt_tcp.c: Likewise.
40808 * sunrpc/clnt_udp.c: Likewise.
40809 * sunrpc/clnt_unix.c: Likewise.
40810 * sunrpc/des_crypt.c: Likewise.
40811 * sunrpc/des_soft.c: Likewise.
40812 * sunrpc/get_myaddr.c: Likewise.
40813 * sunrpc/key_call.c: Likewise.
40814 * sunrpc/key_prot.c: Likewise.
40815 * sunrpc/netname.c: Likewise.
40816 * sunrpc/pm_getmaps.c: Likewise.
40817 * sunrpc/pm_getport.c: Likewise.
40818 * sunrpc/pmap_clnt.c: Likewise.
40819 * sunrpc/pmap_prot.c: Likewise.
40820 * sunrpc/pmap_prot2.c: Likewise.
40821 * sunrpc/pmap_rmt.c: Likewise.
40822 * sunrpc/publickey.c: Likewise.
40823 * sunrpc/rpc_cmsg.c: Likewise.
40824 * sunrpc/rpc_common.c: Likewise.
40825 * sunrpc/rpc_dtable.c: Likewise.
40826 * sunrpc/rpc_prot.c: Likewise.
40827 * sunrpc/rpc_thread.c: Likewise.
40828 * sunrpc/rtime.c: Likewise.
40829 * sunrpc/svc.c: Likewise.
40830 * sunrpc/svc_auth.c: Likewise.
40831 * sunrpc/svc_authux.c: Likewise.
40832 * sunrpc/svc_raw.c: Likewise.
40833 * sunrpc/svc_run.c: Likewise.
40834 * sunrpc/svc_simple.c: Likewise.
40835 * sunrpc/svc_tcp.c: Likewise.
40836 * sunrpc/svc_udp.c: Likewise.
40837 * sunrpc/svc_unix.c: Likewise.
40838 * sunrpc/svcauth_des.c: Likewise.
40839 * sunrpc/xcrypt.c: Likewise.
40840 * sunrpc/xdr.c: Likewise.
40841 * sunrpc/xdr_array.c: Likewise.
40842 * sunrpc/xdr_float.c: Likewise.
40843 * sunrpc/xdr_intXX_t.c: Likewise.
40844 * sunrpc/xdr_mem.c: Likewise.
40845 * sunrpc/xdr_rec.c: Likewise.
40846 * sunrpc/xdr_ref.c: Likewise.
40847 * sunrpc/xdr_sizeof.c: Likewise.
40848 * sunrpc/xdr_stdio.c: Likewise.
40850 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40853 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40854 * sysdeps/ia64/dl-tls.h: Likewise.
40855 * sysdeps/powerpc/dl-tls.h: Likewise.
40856 * sysdeps/s390/dl-tls.h: Likewise.
40857 * sysdeps/sh/dl-tls.h: Likewise.
40858 * sysdeps/sparc/dl-tls.h: Likewise.
40859 * sysdeps/x86_64/dl-tls.h: Likewise.
40860 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40862 2011-03-14 Andreas Schwab <schwab@redhat.com>
40864 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40865 rpath element also skip the following colon.
40866 (expand_dynamic_string_token): Add is_path parameter and pass
40867 down to DL_DST_REQUIRED and _dl_dst_substitute.
40868 (decompose_rpath): Call expand_dynamic_string_token with
40869 non-zero is_path. Ignore empty rpaths.
40870 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40873 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40878 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40881 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40882 Patch by Filipe David Manana <fdmanana@apache.org>.
40884 2011-04-07 Andreas Schwab <schwab@redhat.com>
40886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40887 Maintain aligned stack.
40888 (CHECK_RSP): Remove unused macro.
40890 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40892 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40893 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40895 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40897 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40899 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40901 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40904 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40905 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40906 * sysdeps/x86_64/memmove.c: New file.
40907 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40908 (memcpy): Renamed to ...
40909 (__new_memcpy): This.
40910 (memcpy): Provide GLIBC_2_14 memcpy.
40911 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40912 (memcpy): Provide GLIBC_2_2_5 memcpy.
40914 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40917 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40919 2011-03-30 Andreas Schwab <schwab@redhat.com>
40921 * misc/syncfs.c: New file.
40922 * misc/Makefile (routines): Add syncfs.
40923 * posix/unistd.h: Declare syncfs.
40924 * sysdeps/unix/syscalls.list: Add syncfs.
40926 2011-04-01 Andreas Schwab <schwab@redhat.com>
40928 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40930 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40931 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40932 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40933 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40935 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40938 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40940 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40941 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40942 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40944 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40946 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40948 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40949 sync_file_range.c with -fexceptions.
40950 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40951 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40952 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40953 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40954 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40955 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40957 sync_file_range as cancellation point
40958 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40959 now a wrapper around __call_sync_file_range with cancellation handling.
40960 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40961 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40962 function name to __call_sync_file_range.
40963 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40964 Add call_sync_file_range.
40966 2011-04-01 Andreas Schwab <schwab@redhat.com>
40968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40971 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40973 * iconv/iconv.h: Fix typo in comment.
40974 * io/fcntl.h: Likewise.
40975 * libio/stdio.h: Likewise.
40976 * posix/spawn.h: Likewise.
40977 * posix/unistd.h: Likewise.
40978 * stdlib/stdlib.h: Likewise.
40979 * time/time.h: Likewise.
40980 * wcsmbs/wchar.h: Likewise.
40982 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40983 open_by_handle): Add.
40984 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40985 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40986 Augment a few comments.
40987 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40992 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40995 * io/fcntl.h (AT_EMPTY_PATH): Define.
40997 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40999 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41000 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41001 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41003 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41004 * Versions.def: Add GLIBC_2.14.
41005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41008 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41010 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41012 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41014 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41017 * string/test-strncmp.c (do_page_test): New function.
41018 (check2): Likewise.
41019 (test_main): Call check2.
41020 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41022 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41025 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41026 Handle cache information in CPU leaf 4.
41027 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41029 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41032 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41033 character representation.
41034 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41036 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41038 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41039 END(__isnan) to END(__isnanf) to match function entry point/label
41040 EALIGN(__isnanf,...).
41042 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41044 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41046 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41049 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41050 copy from the symbol referenced in the relocation to initialize the
41052 Patch by Piotr Bury <pbury@goahead.com>.
41053 * elf/Makefile: Add rules to build and tst-unique3.
41054 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41055 * elf/tst-unique3.cc: New file.
41056 * elf/tst-unique3.h: New file.
41057 * elf/tst-unique3lib.cc: New file.
41058 * elf/tst-unique3lib2.cc: New file.
41060 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41062 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41064 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41065 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41068 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41070 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41071 to-be-loaded object along a path to loader is ld.so.
41073 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41074 Ulrich Drepper <drepper@gmail.com>
41076 * sysdeps/x86_64/memset.S: After aligning destination, code
41077 branches to different locations depending on the value of
41078 misalignment, when multiarch is enabled. Fix this.
41080 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41082 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41083 Set _x86_64_preferred_memory_instruction for AMD processsors.
41084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41085 Set bit_Prefer_SSE_for_memop for AMD processors.
41087 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41089 * libio/fmemopen.c (fmemopen): Optimize a bit.
41091 2011-03-03 Andreas Schwab <schwab@redhat.com>
41093 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41095 2011-03-03 Roland McGrath <roland@redhat.com>
41097 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41099 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41101 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41102 __bzero_ultra1 instead of __memset_ultra1.
41104 2011-02-23 Andreas Schwab <schwab@redhat.com>
41105 Ulrich Drepper <drepper@gmail.com>
41108 * include/link.h (struct link_map): Add l_orig_initfini.
41109 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41110 returning unsuccessfully.
41111 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41112 close of a file loaded at startup, restore the original l_initfini
41114 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41115 list, store the pointer.
41116 * elf/Makefile ($(objpfx)noload-mem): New rule.
41117 (noload-ENV): Define.
41118 (tests): Add $(objpfx)noload-mem.
41119 * elf/noload.c: Include <memcheck.h>.
41120 (main): Call mtrace. Close all opened handles.
41122 2011-02-17 Andreas Schwab <schwab@redhat.com>
41125 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41126 dependencies are missing.
41128 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41130 Fix __if_freereq crash: Unlike the generic version which uses free,
41132 * sysdeps/mach/hurd/ifreq.h: New file.
41134 2011-01-27 Petr Baudis <pasky@suse.cz>
41135 Ulrich Drepper <drepper@gmail.com>
41138 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41139 to extend_alloca().
41140 * stdio-common/bug23.c: New file.
41141 * stdio-common/Makefile (tests): Add bug23.
41143 2010-09-28 Andreas Schwab <schwab@redhat.com>
41144 Ulrich Drepper <drepper@gmail.com>
41147 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41148 before performing relro protection. At old place add assertion
41149 to make sure nothing changed.
41151 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41152 Glauber de Oliveira Costa <glommer@gmail.com>
41154 * elf/elf.h: Add new ARM TLS relocs.
41156 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41159 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41161 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41163 * sysdeps/wordsize-64/tst-writev.c: New file.
41165 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41167 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41168 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41169 insns in _dl_start to prevent a TOC reference before relocs are
41172 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41175 * Makeconfig: Remove RANLIB definition.
41176 * Makerules: Don't use RANLIB.
41177 * aclocal.m4: Remove ranlib test.
41178 * configure.in: No need to check for ranlib.
41179 * elf/rtld-Rules: Don't use RANLIB.
41181 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41183 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41185 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41186 inclusion protection macro.
41188 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41189 SIGRTMIN and SIGRTMAX and print information in that case only when
41190 SIGRTMIN is defined.
41192 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41194 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41195 arginfo fn returning -1.
41197 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41198 and thousands string is zero terminated.
41200 2011-02-03 Andreas Schwab <schwab@redhat.com>
41202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41203 sysdeps/unix/sysv/linux/bits/socket.h.
41205 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41207 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41208 (__CPU_COUNT): Remove old macros.
41209 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41210 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41211 (__CPU_ALLOC, __CPU_FREE): Add macros.
41212 (__sched_cpualloc, __sched_cpufree): Add declarations.
41214 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41216 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41217 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41218 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41219 (readdhstai): Return value of addhstaiX call.
41220 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41221 (addgrbyX): Return value returned by cache_addgr.
41222 (readdgrbyname): Return value returned by addgrbyX.
41223 (readdgrbygid): Likewise.
41224 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41225 (addpwbyX): Return value returned by cache_addpw.
41226 (readdpwbyname): Return value returned by addhstbyX.
41227 (readdpwbyuid): Likewise.
41228 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41229 (addservbyX): Return value returned by cache_addserv.
41230 (readdservbyname): Return value returned by addservbyX:
41231 (readdservbyport): Likewise.
41232 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41233 (addhstbyX): Return value returned by cache_addhst.
41234 (readdhstbyname): Return value returned by addhstbyX.
41235 (readdhstbyaddr): Likewise.
41236 (readdhstbynamev6): Likewise.
41237 (readdhstbyaddrv6): Likewise.
41238 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41239 (readdinitgroups): Return value returned by addinitgroupsX.
41240 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41241 (prune_cache): Keep track of timeout value of re-added entries.
41242 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41243 * nscd/nscd.h: Adjust prototypes of readd* functions.
41245 2011-02-04 Roland McGrath <roland@redhat.com>
41247 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41248 (nis_stats): Likewise.
41249 * nis/nis_modify.c (nis_modify): Likewise.
41250 * nis/nis_remove.c (nis_remove): Likewise.
41251 * nis/nis_add.c (nis_add): Likewise.
41253 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41255 * posix/fnmatch_loop.c: Add some consts.
41257 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41259 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41262 * config.make.in (config-cflags-novzeroupper): Define.
41263 * configure.in: Substitute libc_cv_cc_novzeroupper.
41264 * elf/Makefile (AVX-CFLAGS): Define.
41265 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41266 (CFLAGS-tst-auditmod4a.c): Likewise.
41267 (CFLAGS-tst-auditmod4b.c): Likewise.
41268 (CFLAGS-tst-auditmod6b.c): Likewise.
41269 (CFLAGS-tst-auditmod6c.c): Likewise.
41270 (CFLAGS-tst-auditmod7b.c): Likewise.
41271 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41273 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41275 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41276 function to the callback.
41277 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41279 2011-02-02 Andreas Schwab <schwab@redhat.com>
41281 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41284 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41287 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41289 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41291 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41294 * elf/Makefile: Add rules to build and run new test.
41295 * elf/tst-initorder.c: New file.
41296 * elf/tst-initorder.exp: New file.
41297 * elf/tst-initordera1.c: New file.
41298 * elf/tst-initordera2.c: New file.
41299 * elf/tst-initordera3.c: New file.
41300 * elf/tst-initordera4.c: New file.
41301 * elf/tst-initorderb1.c: New file.
41302 * elf/tst-initorderb2.c: New file.
41303 * elf/tst-order-a1.c: New file.
41304 * elf/tst-order-a2.c: New file.
41305 * elf/tst-order-a3.c: New file.
41306 * elf/tst-order-a4.c: New file.
41307 * elf/tst-order-b1.c: New file.
41308 * elf/tst-order-b2.c: New file.
41309 * elf/tst-order-main.c: New file.
41310 New test case by George Gensure <werkt0@gmail.com>.
41312 2010-10-01 Andreas Schwab <schwab@redhat.com>
41314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41315 decoding ACE if AI_CANONIDN.
41317 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41319 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41321 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41323 * version.h (RELEASE): Bump for 2.13 release.
41324 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41326 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41328 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41330 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41331 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41332 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41333 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41334 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41335 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41337 * posix/getconf.c: Update copyright year.
41338 * catgets/gencat.c: Likewise.
41339 * csu/version.c: Likewise.
41340 * debug/catchsegv.sh: Likewise.
41341 * debug/xtrace.sh: Likewise.
41342 * elf/ldconfig.c: Likewise.
41343 * elf/ldd.bash.in: Likewise.
41344 * elf/sprof.c (print_version): Likewise.
41345 * iconv/iconv_prog.c: Likewise.
41346 * iconv/iconvconfig.c: Likewise.
41347 * locale/programs/locale.c: Likewise.
41348 * locale/programs/localedef.c: Likewise.
41349 * malloc/memusage.sh: Likewise.
41350 * malloc/mtrace.pl: Likewise.
41351 * nscd/nscd.c (print_version): Likewise.
41352 * nss/getent.c: Likewise.
41354 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41355 PF_CAIF, and PF_ALG.
41356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41358 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41360 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41361 (modules-names): Use them.
41362 (ifunc-test-modules, ifunc-pie-tests): Define.
41363 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41364 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41365 (test-extras): Likewise.
41366 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41367 $(compile-command.c).
41368 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41369 (all-built-dso): Define.
41370 (check-textrel.out, check-execstack.out): Depend on it.
41372 * configure.in: Don't override --enable-multi-arch.
41374 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41377 * nscd/hstcache.c (tryagain): Define.
41378 (cache_addhst): Return tryagain not notfound for temporary errors.
41379 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41382 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41385 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41386 to make the syscall.
41387 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41390 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41391 and fall back to matching as normal character if the string ends before
41392 the matching ']' is found. This is what POSIX requires.
41393 * posix/testfnm.c: Adjust test result.
41394 * posix/globtest.sh: Adjust test result. Add new test.
41395 * posix/tst-fnmatch.input: Likewise.
41396 * posix/tst-fnmatch2.c: Add new test.
41398 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41400 * elf/Makefile (check-execstack): Revert last change. Depend on
41402 (check-execstack.h): New target.
41403 (generated): Add check-execstack.h.
41404 * elf/check-execstack.c: Include "check-execstack.h".
41405 (main): Revert last change.
41406 (handle_file): Return zero if GNU_STACK is absent and
41407 DEFAULT_STACK_PERMS doesn't include PF_X.
41409 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41411 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41412 in child fails because the descriptor is already closed.
41413 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41414 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41415 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41418 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41422 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41423 temporary buffer used to handle multi lookups locally.
41424 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41426 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41428 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41431 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41433 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41434 alignment for SSE2.
41436 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41439 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41440 characters. When rounding increased number of integer digits recompute
41442 * stdio-common/tst-grouping.c: New file.
41443 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41445 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41447 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41448 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41450 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41452 * bits/select.h: Likewise.
41454 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41456 * po/ja.po: Update from translation team.
41458 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41461 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41462 implementation just like for lxstat, fxstatat, et al.
41464 2010-12-27 Jim Meyering <meyering@redhat.com>
41467 * posix/regexec.c (build_trtable): Return failure indication upon
41468 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41470 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41473 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41474 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41475 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41476 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41479 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41482 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41483 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41485 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41487 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41488 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41489 script has SORT_BY_INIT_PRIORITY.
41490 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41491 NO_CTORS_DTORS_SECTIONS is defined.
41492 * elf/soinit.c: Likewise.
41493 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41494 NO_CTORS_DTORS_SECTIONS is defined.
41495 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41496 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41497 * sysdeps/sh/init-first.c: Likewise.
41498 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41500 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41502 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41503 always use the slow path.
41505 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41507 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41508 similar rule which adds the sysdep directories to the header search in
41509 order to pick up the correct platform stackinfo.h.
41510 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41511 perform test if it is, otherwise return successfully without testing.
41512 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41513 DEFAULT_STACK_PERMS define in stackinfo.h.
41514 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41515 defined in stackinfo.h.
41516 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41517 DEFAULT_STACK_PERMS defined in stackinfo.h.
41518 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41519 * sysdeps/ia64/stackinfo.h: Likewise.
41520 * sysdeps/s390/stackinfo.h: Likewise.
41521 * sysdeps/sh/stackinfo.h: Likewise.
41522 * sysdeps/sparc/stackinfo.h: Likewise.
41523 * sysdeps/x86_64/stackinfo.h: Likewise.
41524 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41525 PF_X for powerpc64. Retain PF_X for powerpc32.
41527 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41529 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41531 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41532 GETDENTS_64BIT_ALIGNED.
41534 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41536 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41538 2010-12-10 Andreas Schwab <schwab@redhat.com>
41540 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41543 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41544 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41546 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41547 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41549 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41552 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41555 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41557 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41559 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41561 * po/it.po: Update from translation team.
41563 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41568 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41570 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41572 2010-11-24 Andreas Schwab <schwab@redhat.com>
41574 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41576 (gaih_getanswer_slice): Likewise.
41578 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41582 2010-05-31 Petr Baudis <pasky@suse.cz>
41585 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41586 silently even in the chroot mode.
41588 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41590 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41591 last patch a bit. Pretty printing
41593 2010-05-31 Petr Baudis <pasky@suse.cz>
41596 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41597 initialization of skip_initgroups_dyn.
41599 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41601 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41602 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41604 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41606 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41608 2010-11-11 Andreas Schwab <schwab@redhat.com>
41610 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41611 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41612 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41613 ($(objpfx)tst-fnmatch-mem): New rule.
41614 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41615 * posix/tst-fnmatch.c (main): Call mtrace.
41617 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41620 Support Intel processor model 6 and model 0x2c.
41622 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41627 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41630 * string/test-strncasecmp.c (check_result): New function.
41631 (do_one_test): Use it.
41632 (check1): New function.
41633 (test_main): Use it.
41634 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41635 Support strcasecmp and strncasecmp.
41637 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41640 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41641 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41643 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41645 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41649 * sysdeps/x86_64/multiarch/bzero.S: New file.
41650 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41651 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41652 * sysdeps/x86_64/multiarch/memset.S: New file.
41653 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41655 Set bit_Prefer_SSE_for_memop for Intel processors.
41656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41658 (index_Prefer_SSE_for_memop): Define.
41659 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41661 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41663 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41664 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41666 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41669 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41670 (__x86_64_raw_data_cache_size_half): Likewise.
41671 (__x86_64_raw_shared_cache_size): Likewise.
41672 (__x86_64_raw_shared_cache_size_half): Likewise.
41674 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41675 (__x86_64_raw_data_cache_size_half): Likewise.
41676 (__x86_64_raw_shared_cache_size): Likewise.
41677 (__x86_64_raw_shared_cache_size_half): Likewise.
41678 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41679 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41680 and __x86_64_raw_shared_cache_size_half. Round
41681 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41682 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41683 to multiple of 256 bytes.
41685 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41688 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41689 of inacessible symlinks. Verify result of symlink before returning it.
41690 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41691 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41693 2010-10-28 Erich Ritz <erichritz@gmail.com>
41695 * math/math.h (isinf): Fix typo in comment.
41697 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41699 * po/da.po: Update from translation team.
41701 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41703 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41704 is added to the list.
41706 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41707 Ulrich Drepper <drepper@gmail.com>
41709 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41710 the global list here. Move code to...
41711 (_dl_add_to_namespace_list): ...here. New function.
41712 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41713 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41714 * elf/dl-load.c (lose): Don't remove the element from the list.
41715 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41716 (_dl_map_object): Likewise.
41718 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41721 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41722 into all bytes of SSE register.
41723 Patch by Richard Li <richardpku@gmail.com>.
41725 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41728 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41731 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41733 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41734 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41735 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41736 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41741 2010-10-22 Andreas Schwab <schwab@redhat.com>
41743 * include/dlfcn.h (__RTLD_SECURE): Define.
41744 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41745 mode & __RTLD_SECURE instead.
41746 (open_path): Rename preloaded parameter to secure.
41747 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41748 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41749 * elf/dl-deps.c (openaux): Likewise.
41750 * elf/rtld.c (struct map_args): Remove is_preloaded.
41751 (map_doit): Don't use it.
41752 (dl_main): Likewise.
41753 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41754 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41756 2010-09-09 Andreas Schwab <schwab@redhat.com>
41758 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41759 (sysd-rules-targets): Remove duplicates.
41760 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41761 rtld-%.$o dependency.
41763 2010-10-18 Andreas Schwab <schwab@redhat.com>
41765 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41766 _dl_map_object do it.
41768 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41770 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41771 fast fma builtins, define the macros in the C99 standard.
41772 (FP_FAST_FMAF): Likewise.
41773 (FP_FAST_FMAL): Likewise.
41774 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41776 * bits/mathdef.h: Update copyright year.
41777 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41779 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41781 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41782 builtins, define the macros in the C99 standard.
41783 (FP_FAST_FMAF): Likewise.
41784 (FP_FAST_FMAL): Likewise.
41785 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41787 (FP_FAST_FMAF): Likewise.
41789 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41792 * math/libm-test.inc (fma_test): Some new testcases.
41793 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41794 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41795 y and infinite z. Do multiplication by C already in long double.
41796 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41798 y and infinite z. Do bitwise or of inexact bit into u.d.
41799 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41800 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41801 * sysdeps/i386/fpu/s_fma.S: Removed.
41802 * sysdeps/i386/fpu/s_fmal.S: Removed.
41804 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41807 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41809 computation is not scheduled after fetestexcept. Fix value
41810 of minimum denormal long double.
41812 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41815 * math/libm-test.inc (fma_test): Add some more tests.
41816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41819 2010-10-15 Andreas Schwab <schwab@redhat.com>
41821 * scripts/data/localplt-s390-linux-gnu.data: New file.
41822 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41824 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41827 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41828 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41830 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41832 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41834 if one of x and y is very large and the other is subnormal.
41835 * sysdeps/s390/fpu/s_fmaf.c: New file.
41836 * sysdeps/s390/fpu/s_fma.c: New file.
41837 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41838 * sysdeps/powerpc/fpu/s_fma.S: New file.
41839 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41840 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41841 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41843 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41846 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41848 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41849 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41850 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41851 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41852 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41853 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41854 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41856 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41859 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41860 * posix/bug-regex31.input: Add test case.
41862 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41864 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41865 * posix/bug-regex31.input: New file.
41868 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41869 (parse_sub_exp): Fix last change, use postorder.
41871 * posix/bug-regex31.c: New file.
41872 * posix/Makefile: Add rules to build and run bug-regex31.
41874 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41877 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41880 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41881 to have entries in sys_siglist.
41884 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41887 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41890 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41891 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41892 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41893 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41894 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41895 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41896 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41897 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41898 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41899 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41900 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41901 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41902 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41903 * math/ftestexcept.c (fetestexcept): Likewise.
41904 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41905 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41906 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41907 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41908 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41909 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41912 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41915 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41918 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41920 * string/bug-strstr1.c: New file.
41921 * string/Makefile: Add rules to build and run bug-strstr1.
41923 2010-10-05 Eric Blake <eblake@redhat.com>
41926 * string/str-two-way.h (two_way_long_needle): Always clear memory
41927 when skipping input due to the shift table.
41929 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41932 * malloc/mcheck.c: Handle large requests.
41935 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41936 for strncmp and strncasecmp.
41937 * string/stratcliff.c: Add tests for strcmp and strncmp.
41938 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41940 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41942 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41945 2010-09-30 Andreas Jaeger <aj@suse.de>
41947 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41948 (CGROUP_SUPER_MAGIC): Define.
41949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41950 Handle btrfs and cgroup file systems.
41951 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41954 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41956 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41957 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41959 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41962 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41963 trying to locate the ELF header.
41965 2010-09-27 Andreas Schwab <schwab@redhat.com>
41968 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41969 Mask out sign-bit copies when constructing f_fsid.
41971 2010-09-24 Petr Baudis <pasky@suse.cz>
41973 * debug/stack_chk_fail_local.c: Add missing licence exception.
41974 * debug/warning-nop.c: Likewise.
41976 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41978 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41979 implementing getdents64 using getdents syscall, set d_type if
41980 __ASSUME_GETDENTS32_D_TYPE.
41982 2010-09-16 Andreas Schwab <schwab@redhat.com>
41984 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41985 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41987 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41990 * posix/unistd.h: Undo change of feature selection for ftruncate from
41993 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41995 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41998 2010-09-20 Andreas Schwab <schwab@redhat.com>
42000 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42004 2010-09-14 Andreas Schwab <schwab@redhat.com>
42006 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42007 variables after CHECK_SP call.
42008 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42010 2010-09-13 Andreas Schwab <schwab@redhat.com>
42011 Ulrich Drepper <drepper@redhat.com>
42013 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42014 re-relocationg ld.so.
42015 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42016 _dl_init_paths call.
42017 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42020 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42022 * resolv/res_init.c (__res_vinit): Count the default server we added.
42024 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42025 Ulrich Drepper <drepper@redhat.com>
42028 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42029 (____longjmp_chk): Use %ebx for saving value across system call.
42032 2010-09-06 Andreas Schwab <schwab@redhat.com>
42034 * manual/Makefile: Don't mix pattern rules with normal rules.
42036 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42038 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42040 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42041 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42042 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42043 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42044 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42047 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42050 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42051 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42053 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42055 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42056 * sysdeps/x86_64/addmul_1.S: Likewise.
42057 * sysdeps/x86_64/lshift.S: Likewise.
42058 * sysdeps/x86_64/mul_1.S: Likewise.
42059 * sysdeps/x86_64/rshift.S: Likewise.
42060 * sysdeps/x86_64/sub_n.S: Likewise.
42061 * sysdeps/x86_64/submul_1.S: Likewise.
42063 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42065 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42066 Define __sched_param instead of SCHED_* and sched_param when
42067 <bits/sched.h> is included with __need_schedparam defined.
42068 * bits/sched.h [__need_schedparam]
42069 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42070 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42071 (__defined_schedparam): Define to 1.
42072 (__sched_param): New structure, identical to sched_param.
42073 (__need_schedparam): Undefine.
42075 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42077 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42078 (epoll_create1): Declare.
42080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42082 2010-08-31 Andreas Schwab <schwab@redhat.com>
42085 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42086 shifting retval into place.
42088 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42090 * nis/rpcsvc/nis.h: Update copyright notice.
42091 * nis/rpcsvc/nis.x: Likewise.
42092 * nis/rpcsvc/nis_callback.h: Likewise.
42093 * nis/rpcsvc/nis_callback.x: Likewise.
42094 * nis/rpcsvc/nis_object.x: Likewise.
42095 * nis/rpcsvc/nis_tags.h: Likewise.
42096 * nis/rpcsvc/yp.h: Likewise.
42097 * nis/rpcsvc/yp.x: Likewise.
42098 * nis/rpcsvc/ypupd.h: Likewise.
42099 * nis/yp_xdr.c: Likewise.
42100 * nis/ypupdate_xdr.c: Likewise.
42102 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42103 mainly the body of pmap_getport. Add parameters to specify timeouts.
42104 (pmap_getport): Use __libc_rpc_getport.
42105 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42106 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42107 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42109 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42114 2010-08-27 Roland McGrath <roland@redhat.com>
42116 * sysdeps/i386/i686/multiarch/Makefile
42117 (CFLAGS-varshift.c): New variable.
42119 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42121 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42122 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42126 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42128 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42130 * sysdeps/x86_64/strlen.S: Unroll the loop.
42131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42132 strlen-sse2 strlen-sse2-bsf.
42133 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42134 __strlen_no_bsf if bit_Slow_BSF is set.
42135 (__strlen_sse42): Removed.
42136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42137 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42139 2010-08-25 Roland McGrath <roland@redhat.com>
42141 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42142 * sysdeps/x86_64/multiarch/varshift.c: New file.
42143 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42144 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42145 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42146 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42148 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42151 strlen-sse2 strlen-sse2-bsf.
42152 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42153 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42154 (__strlen_sse2): Removed.
42155 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42156 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42158 bit_Slow_BSF for Atom.
42159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42160 (index_Slow_BSF): Define.
42161 (HAS_SLOW_BSF): Define.
42163 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42166 * resolv/res_init.c (__res_vinit): When no server address at all
42167 is given default to loopback.
42169 2010-08-24 Roland McGrath <roland@redhat.com>
42171 * configure.in: Remove config-name.h generation.
42172 * configure: Regenerated.
42173 * config-name.in: File removed.
42174 * scripts/config-uname.sh: New file.
42175 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42176 ($(objdir)config-name.h): New target.
42178 * sunrpc/rpc_parse.h: Avoid nested comment.
42180 2010-08-24 Richard Henderson <rth@redhat.com>
42181 Ulrich Drepper <drepper@redhat.com>
42182 H.J. Lu <hongjiu.lu@intel.com>
42184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42186 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42187 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42188 _mm_alignr_epi8 with _mm_loadu_si128.
42189 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42190 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42191 (__m128i_shift_right): Removed.
42192 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42193 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42194 * sysdeps/x86_64/multiarch/varshift.h: New file.
42195 * sysdeps/x86_64/multiarch/varshift.S: New file.
42197 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42199 * configure.in: Move assembler checks to before sysdep dir checking.
42201 2010-08-20 Petr Baudis <pasky@suse.cz>
42203 * LICENSES: Sync the sunrpc license.
42205 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42207 * sunrpc/auth_des.c: Update copyright notice once again.
42208 * sunrpc/auth_none.c: Likewise.
42209 * sunrpc/auth_unix.c: Likewise.
42210 * sunrpc/authdes_prot.c: Likewise.
42211 * sunrpc/authuxprot.c: Likewise.
42212 * sunrpc/bindrsvprt.c: Likewise.
42213 * sunrpc/clnt_gen.c: Likewise.
42214 * sunrpc/clnt_perr.c: Likewise.
42215 * sunrpc/clnt_raw.c: Likewise.
42216 * sunrpc/clnt_simp.c: Likewise.
42217 * sunrpc/clnt_tcp.c: Likewise.
42218 * sunrpc/clnt_udp.c: Likewise.
42219 * sunrpc/clnt_unix.c: Likewise.
42220 * sunrpc/des_crypt.c: Likewise.
42221 * sunrpc/des_soft.c: Likewise.
42222 * sunrpc/get_myaddr.c: Likewise.
42223 * sunrpc/getrpcport.c: Likewise.
42224 * sunrpc/key_call.c: Likewise.
42225 * sunrpc/key_prot.c: Likewise.
42226 * sunrpc/openchild.c: Likewise.
42227 * sunrpc/pm_getmaps.c: Likewise.
42228 * sunrpc/pm_getport.c: Likewise.
42229 * sunrpc/pmap_clnt.c: Likewise.
42230 * sunrpc/pmap_prot.c: Likewise.
42231 * sunrpc/pmap_prot2.c: Likewise.
42232 * sunrpc/pmap_rmt.c: Likewise.
42233 * sunrpc/rpc/auth.h: Likewise.
42234 * sunrpc/rpc/auth_unix.h: Likewise.
42235 * sunrpc/rpc/clnt.h: Likewise.
42236 * sunrpc/rpc/des_crypt.h: Likewise.
42237 * sunrpc/rpc/key_prot.h: Likewise.
42238 * sunrpc/rpc/netdb.h: Likewise.
42239 * sunrpc/rpc/pmap_clnt.h: Likewise.
42240 * sunrpc/rpc/pmap_prot.h: Likewise.
42241 * sunrpc/rpc/pmap_rmt.h: Likewise.
42242 * sunrpc/rpc/rpc.h: Likewise.
42243 * sunrpc/rpc/rpc_des.h: Likewise.
42244 * sunrpc/rpc/rpc_msg.h: Likewise.
42245 * sunrpc/rpc/svc.h: Likewise.
42246 * sunrpc/rpc/svc_auth.h: Likewise.
42247 * sunrpc/rpc/types.h: Likewise.
42248 * sunrpc/rpc/xdr.h: Likewise.
42249 * sunrpc/rpc_clntout.c: Likewise.
42250 * sunrpc/rpc_cmsg.c: Likewise.
42251 * sunrpc/rpc_common.c: Likewise.
42252 * sunrpc/rpc_cout.c: Likewise.
42253 * sunrpc/rpc_dtable.c: Likewise.
42254 * sunrpc/rpc_hout.c: Likewise.
42255 * sunrpc/rpc_main.c: Likewise.
42256 * sunrpc/rpc_parse.c: Likewise.
42257 * sunrpc/rpc_parse.h: Likewise.
42258 * sunrpc/rpc_prot.c: Likewise.
42259 * sunrpc/rpc_sample.c: Likewise.
42260 * sunrpc/rpc_scan.c: Likewise.
42261 * sunrpc/rpc_scan.h: Likewise.
42262 * sunrpc/rpc_svcout.c: Likewise.
42263 * sunrpc/rpc_tblout.c: Likewise.
42264 * sunrpc/rpc_util.c: Likewise.
42265 * sunrpc/rpc_util.h: Likewise.
42266 * sunrpc/rpcinfo.c: Likewise.
42267 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42268 * sunrpc/rpcsvc/key_prot.x: Likewise.
42269 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42270 * sunrpc/rpcsvc/mount.x: Likewise.
42271 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42272 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42273 * sunrpc/rpcsvc/rex.x: Likewise.
42274 * sunrpc/rpcsvc/rstat.x: Likewise.
42275 * sunrpc/rpcsvc/rusers.x: Likewise.
42276 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42277 * sunrpc/rpcsvc/spray.x: Likewise.
42278 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42279 * sunrpc/rtime.c: Likewise.
42280 * sunrpc/svc.c: Likewise.
42281 * sunrpc/svc_auth.c: Likewise.
42282 * sunrpc/svc_authux.c: Likewise.
42283 * sunrpc/svc_raw.c: Likewise.
42284 * sunrpc/svc_run.c: Likewise.
42285 * sunrpc/svc_simple.c: Likewise.
42286 * sunrpc/svc_tcp.c: Likewise.
42287 * sunrpc/svc_udp.c: Likewise.
42288 * sunrpc/svc_unix.c: Likewise.
42289 * sunrpc/svcauth_des.c: Likewise.
42290 * sunrpc/xcrypt.c: Likewise.
42291 * sunrpc/xdr.c: Likewise.
42292 * sunrpc/xdr_array.c: Likewise.
42293 * sunrpc/xdr_float.c: Likewise.
42294 * sunrpc/xdr_mem.c: Likewise.
42295 * sunrpc/xdr_rec.c: Likewise.
42296 * sunrpc/xdr_ref.c: Likewise.
42297 * sunrpc/xdr_sizeof.c: Likewise.
42298 * sunrpc/xdr_stdio.c: Likewise.
42300 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42303 2010-08-19 Andreas Schwab <schwab@redhat.com>
42305 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42307 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42309 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42311 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42312 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42313 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42314 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42315 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42316 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42317 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42318 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42319 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42320 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42321 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42322 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42324 2010-07-26 Anton Blanchard <anton@samba.org>
42326 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42327 * malloc/arena.c (heap_trim): Likewise.
42329 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42331 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42334 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42336 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42338 * sysdeps/i386/elf/Makefile: New file.
42340 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42342 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42343 from fanotify_init.
42344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42347 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42349 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42351 * sysdeps/multiarch/strcmp.S: Likewise.
42353 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42355 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42356 strncase_l-nonascii.
42357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42358 Add strncase_l-ssse3.
42359 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42360 * sysdeps/x86_64/strcmp.S: Likewise.
42361 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42362 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42363 * sysdeps/x86_64/strncase.S: New file.
42364 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42365 * sysdeps/x86_64/strncase_l.S: New file.
42366 * string/Makefile (strop-tests): Add strncasecmp.
42367 * string/test-strncasecmp.c: New file.
42369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42372 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42373 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42375 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42377 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42379 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42381 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42382 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42383 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42385 2010-05-01 Alan Modra <amodra@gmail.com>
42387 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42388 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42389 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42390 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42391 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42392 tidying. Don't tail-call __sigjmp_save for static lib.
42393 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42395 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42396 (CALL_MCOUNT): Add eh info, and nop after bl.
42397 (TAIL_CALL_SYSCALL_ERROR): New macro.
42398 (PSEUDO_RET): Use it.
42399 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42400 Correct save location of integer regs and cr.
42401 (_dl_profile_resolve): Correct cr save location. Delete nops
42402 after bl when SHARED. Reduce cfi size a little by better
42403 placement of cfi directives.
42404 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42405 make a stack frame. Instead use parm save area as a temp.
42406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42407 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42409 Don't make a stack frame for parent, use parm save area.
42410 Increase child stack frame to 112 bytes. Don't save unused reg,
42411 and adjust reg usage. Set up cfi on error recovery and
42412 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42414 (__makecontext): Add dummy nop after jump to exit.
42415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42416 Use correct parm save area and cr save, reduce stack frame.
42417 Correct cfi for possible PSEUDO_RET frame setup.
42418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42419 Branch to local label emitted by PSEUDO_RET rather than
42422 2010-08-12 Andreas Schwab <schwab@redhat.com>
42425 * locale/programs/locale.c (print_assignment): New function.
42426 (show_locale_vars): Use it.
42428 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42430 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42432 (struct statfs64): Likewise.
42433 (_STATFS_F_FLAGS): Define.
42434 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42435 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42436 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42437 (ST_VALID): Define locally.
42438 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42439 __statvfs_getflags, use the provided value.
42440 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42441 __ASSUME_STATFS_F_FLAGS.
42443 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42445 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42446 Add sys/fanotify.h.
42447 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42448 fanotify_mask for GLIBC_2.13.
42449 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42450 fanotify_init and fanotify_mark.
42451 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42452 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42454 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42456 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42457 prlimit64 for GLIBC_2.13.
42458 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42463 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42464 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42465 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42468 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42471 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42472 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42474 * nss/Makefile: Add rules to build and run tst-nss-test1.
42475 * shlib-versions: Add entry for libnss_test1.
42476 * nss/nss_test1.c: New file.
42477 * nss/tst-nss-test1.c: New file.
42479 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42480 (__nss_configure_lookup): Set appropriate entry in
42481 __nss_configure_lookup to true.
42482 * nss/nsswitch.h: Define enum with indeces of databases in
42483 databases and __nss_database_custom arrays. Declare
42484 __nss_database_custom.
42485 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42486 to avoid using nscd when custom rules are installed.
42487 * nss/getXXbyYY_r.c: Likewise.
42488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42490 * nss/nss_files/files-parse.c: Whitespace fixes.
42492 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42495 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42496 * posix/fnmatch_loop.c: Likewise.
42498 2010-07-17 Andi Kleen <ak@linux.intel.com>
42500 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42501 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42502 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42503 * Versions.def [GLIBC_2.13]: Add.
42505 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42508 Also fail if tpwd after pwuid call is NULL.
42510 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42512 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42513 when converting to ms.
42515 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42517 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42518 EOPNOTSUPP errors with ENOTTY.
42519 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42520 EOPNOTSUPP errors with ENOTTY.
42522 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42524 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42525 Add strcasecmp_l-ssse3.
42526 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42528 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42529 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42530 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42532 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42534 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42536 * string/Makefile (strop-tests): Add strcasecmp.
42537 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42538 strcasecmp_l-nonascii.
42539 (gen-as-const-headers): Add locale-defines.sym.
42540 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42541 * sysdeps/x86_64/strcasecmp.S: New file.
42542 * sysdeps/x86_64/strcasecmp_l.S: New file.
42543 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42544 * sysdeps/x86_64/locale-defines.sym: New file.
42545 * string/test-strcasecmp.c: New file.
42547 * string/test-strcasestr.c: Test both ends of the range of characters.
42548 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42550 2010-07-29 Roland McGrath <roland@redhat.com>
42553 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42555 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42557 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42560 2010-07-27 Andreas Schwab <schwab@redhat.com>
42562 * manual/memory.texi (Malloc Tunable Parameters): Document
42565 2010-07-26 Roland McGrath <roland@redhat.com>
42568 * configure.in (-fgnu89-inline check): Set and substitute
42569 gnu89_inline, not libc_cv_gnu89_inline.
42570 * configure: Regenerated.
42571 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42573 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42575 * string/test-strnlen.c: New file.
42576 * string/Makefile (strop-tests): Add strnlen.
42577 * string/tester.c (test_strnlen): Add a few more test cases.
42578 * string/tst-strlen.c: Better error reporting.
42580 * sysdeps/x86_64/strnlen.S: New file.
42582 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42584 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42585 lower-latency instructions.
42587 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42589 * string/test-strcasestr.c: New file.
42590 * string/test-strstr.c: New file.
42591 * string/Makefile (strop-tests): Add strstr and strcasestr.
42592 * string/str-two-way.h: Don't undefine MAX.
42593 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42595 2010-07-21 Andreas Schwab <schwab@redhat.com>
42597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42598 strcasestr-nonascii.
42599 (CFLAGS-strcasestr-nonascii.c): Define.
42600 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42602 Remove unused attribute.
42604 2010-07-20 Roland McGrath <roland@redhat.com>
42606 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42607 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42608 ld.so.cache was broken. With it, there is no way to disable dsocaps
42609 like LD_HWCAP_MASK can disable hwcaps.
42611 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42613 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42615 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42617 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42618 call in strcasestr.
42619 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42620 __strcasestr_sse42_nonascii.
42621 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42622 strcasestr-nonascii.c.
42623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42625 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42627 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42628 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42630 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42632 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42634 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42637 2010-07-06 Andreas Schwab <schwab@redhat.com>
42640 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42643 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42645 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42646 _PC_PIPE_BUF using F_GETPIPE_SZ.
42648 2010-07-05 Roland McGrath <roland@redhat.com>
42650 * manual/arith.texi (Rounding Functions): Fix rint description
42651 implicit in round description.
42653 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42655 * elf/Makefile: Fix linking for a few tests to make recent linker
42658 2010-06-30 Andreas Schwab <schwab@redhat.com>
42660 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42661 $(common-objpfx)libc_nonshared.a.
42663 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42665 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42666 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42667 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42668 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42669 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42670 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42671 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42672 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42687 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42688 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42689 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42690 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42691 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42692 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42693 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42694 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42695 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42696 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42697 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42698 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42714 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42716 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42717 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42718 * string/memmove.c (memmove): Renamed to ...
42719 (MEMMOVE): ...this. Default to memmove.
42720 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42721 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42724 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42725 mempcpy-ssse3-back memmove-ssse3-back.
42726 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42727 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42729 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42730 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42731 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42732 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42733 * sysdeps/x86_64/multiarch/memmove.c: New file.
42734 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42735 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42736 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42737 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42738 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42739 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42741 (index_Fast_Copy_Backward): Define.
42742 (HAS_ARCH_FEATURE): Define.
42743 (HAS_FAST_REP_STRING): Define.
42744 (HAS_FAST_COPY_BACKWARD): Define.
42746 2010-06-21 Andreas Schwab <schwab@redhat.com>
42748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42749 Restore proper fallback handling.
42751 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42754 * posix/group_member.c (__group_member): Correct checking loop.
42756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42757 OOM in getpwuid_r correctly. Return error number when the caller
42758 should return, otherwise -1.
42759 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42760 call returning > 0 value.
42761 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42763 2010-06-07 Andreas Schwab <schwab@redhat.com>
42765 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42766 libc_nonshared.a from targets in modules-names.
42768 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42770 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42773 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42775 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42776 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42778 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42780 2010-06-02 Andreas Schwab <schwab@redhat.com>
42782 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42784 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42786 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42792 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42793 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42795 2010-06-14 Roland McGrath <roland@redhat.com>
42797 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42799 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42801 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42802 __REDIRECT followed by __THROW.
42803 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42804 * posix/getopt.h (getopt): Likewise.
42806 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42808 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42809 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42810 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42812 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42813 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42815 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42817 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42819 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42823 Properly check family and model.
42825 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42827 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42829 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42831 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42833 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42835 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42838 2010-05-19 Andreas Schwab <schwab@redhat.com>
42840 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42843 2010-05-21 Andreas Schwab <schwab@redhat.com>
42845 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42846 and internal_recvmmsg.
42847 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42848 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42849 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42850 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42852 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42853 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42854 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42856 2010-05-20 Andreas Schwab <schwab@redhat.com>
42858 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42860 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42862 POWER7 optimizations.
42863 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42864 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42866 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42868 * version.h: Update for 2.13 development version.
42870 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42872 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42873 exceptions. Return 0.
42875 2010-05-07 Roland McGrath <roland@redhat.com>
42877 * elf/ldconfig.c (main): Add a const.
42879 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42881 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42882 (args_options): Add no-idn option.
42883 (ahosts_keys_int): Add idn_flags to ai_flags.
42884 (parse_option): Handle 'i' option to clear idn_flags.
42886 * malloc/malloc.c (_int_free): Possible race in the most recently
42887 added check. Only act on the data if no current modification
42890 See ChangeLog.17 for earlier changes.