diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3015 |
1 files changed, 3015 insertions, 0 deletions
@@ -1,5 +1,3019 @@ +2013-05-24 Joseph Myers <joseph@codesourcery.com> + + [BZ #15529] + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high + bit of mantissa of 2^16382. + * math/libm-test.inc (hypot_test_data): Add more tests. + + * math/libm-test.inc: Add drem and pow10 to list of tested + functions. + (pow10_test): New function. + (drem_test): Likewise. + (drem_test_tonearest): Likewise. + (drem_test_towardzero): Likewise. + (drem_test_downward): Likewise. + (drem_test_upward): Likewise. + (main): Call the new functions. + + * math/libm-test.inc (finite_test_data): Remove. + (finite_test): Run tests from isfinite_test_data. + (gamma_test_data): Remove. + (gamma_test): Run tests from lgamma_test_data. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * manual/platform.texi: Add PowerPC PPR function set documentation. + * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function + implementation. + +2013-05-24 Carlos O'Donell <carlos@redhat.com> + + * math/libm-test.inc (MAX_EXP): Define. + (ULPDIFF): Define. + (ulp): New function. + (check_float_internal): Use ULPDIFF. + (cpow_test): Disable failing test. + (check_ulp): Test ulp() implemetnation. + (main): Call check_ulp before starting tests. + +2013-05-24 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (generate_testfile): Do not handle + START_DATA and END_DATA. + * math/libm-test.inc (acos_test_data): Do not use START_DATA and + END_DATA. + (acos_tonearest_test_data): Likewise. + (acos_towardzero_test_data): Likewise. + (acos_downward_test_data): Likewise. + (acos_upward_test_data): Likewise. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (asin_tonearest_test_data): Likewise. + (asin_towardzero_test_data): Likewise. + (asin_downward_test_data): Likewise. + (asin_upward_test_data): Likewise. + (asinh_test_data): Likewise. + (atan_test_data): Likewise. + (atanh_test_data): Likewise. + (atan2_test_data): Likewise. + (cabs_test_data): Likewise. + (cacos_test_data): Likewise. + (cacosh_test_data): Likewise. + (carg_test_data): Likewise. + (casin_test_data): Likewise. + (casinh_test_data): Likewise. + (catan_test_data): Likewise. + (catanh_test_data): Likewise. + (cbrt_test_data): Likewise. + (ccos_test_data): Likewise. + (ccosh_test_data): Likewise. + (ceil_test_data): Likewise. + (cexp_test_data): Likewise. + (cimag_test_data): Likewise. + (clog_test_data): Likewise. + (clog10_test_data): Likewise. + (conj_test_data): Likewise. + (copysign_test_data): Likewise. + (cos_test_data): Likewise. + (cos_tonearest_test_data): Likewise. + (cos_towardzero_test_data): Likewise. + (cos_downward_test_data): Likewise. + (cos_upward_test_data): Likewise. + (cosh_test_data): Likewise. + (cosh_tonearest_test_data): Likewise. + (cosh_towardzero_test_data): Likewise. + (cosh_downward_test_data): Likewise. + (cosh_upward_test_data): Likewise. + (cpow_test_data): Likewise. + (cproj_test_data): Likewise. + (creal_test_data): Likewise. + (csin_test_data): Likewise. + (csinh_test_data): Likewise. + (csqrt_test_data): Likewise. + (ctan_test_data): Likewise. + (ctan_tonearest_test_data): Likewise. + (ctan_towardzero_test_data): Likewise. + (ctan_downward_test_data): Likewise. + (ctan_upward_test_data): Likewise. + (ctanh_test_data): Likewise. + (ctanh_tonearest_test_data): Likewise. + (ctanh_towardzero_test_data): Likewise. + (ctanh_downward_test_data): Likewise. + (ctanh_upward_test_data): Likewise. + (erf_test_data): Likewise. + (erfc_test_data): Likewise. + (exp_test_data): Likewise. + (exp_tonearest_test_data): Likewise. + (exp_towardzero_test_data): Likewise. + (exp_downward_test_data): Likewise. + (exp_upward_test_data): Likewise. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (fabs_test_data): Likewise. + (fdim_test_data): Likewise. + (finite_test_data): Likewise. + (floor_test_data): Likewise. + (fma_test_data): Likewise. + (fma_towardzero_test_data): Likewise. + (fma_downward_test_data): Likewise. + (fma_upward_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (gamma_test_data): Likewise. + (hypot_test_data): Likewise. + (ilogb_test_data): Likewise. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (ldexp_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (lrint_tonearest_test_data): Likewise. + (lrint_towardzero_test_data): Likewise. + (lrint_downward_test_data): Likewise. + (lrint_upward_test_data): Likewise. + (llrint_test_data): Likewise. + (llrint_tonearest_test_data): Likewise. + (llrint_towardzero_test_data): Likewise. + (llrint_downward_test_data): Likewise. + (llrint_upward_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log1p_test_data): Likewise. + (log2_test_data): Likewise. + (logb_test_data): Likewise. + (logb_downward_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (modf_test_data): Likewise. + (nearbyint_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (pow_test_data): Likewise. + (pow_tonearest_test_data): Likewise. + (pow_towardzero_test_data): Likewise. + (pow_downward_test_data): Likewise. + (pow_upward_test_data): Likewise. + (remainder_test_data): Likewise. + (remainder_tonearest_test_data): Likewise. + (remainder_towardzero_test_data): Likewise. + (remainder_downward_test_data): Likewise. + (remainder_upward_test_data): Likewise. + (remquo_test_data): Likewise. + (rint_test_data): Likewise. + (rint_tonearest_test_data): Likewise. + (rint_towardzero_test_data): Likewise. + (rint_downward_test_data): Likewise. + (rint_upward_test_data): Likewise. + (round_test_data): Likewise. + (scalb_test_data): Likewise. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sin_test_data): Likewise. + (sin_tonearest_test_data): Likewise. + (sin_towardzero_test_data): Likewise. + (sin_downward_test_data): Likewise. + (sin_upward_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sinh_tonearest_test_data): Likewise. + (sinh_towardzero_test_data): Likewise. + (sinh_downward_test_data): Likewise. + (sinh_upward_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tan_tonearest_test_data): Likewise. + (tan_towardzero_test_data): Likewise. + (tan_downward_test_data): Likewise. + (tan_upward_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + (significand_test_data): Likewise. + + * math/gen-libm-test.pl (@functions): Remove variable. + (generate_testfile): Don't handle START and END lines. + * math/libm-test.inc (START): New macro. + (END): Likewise. + (END_COMPLEX): Likewise. + (acos_test): Use END macro without arguments. + (acos_test_tonearest): Likewise. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (acosh_test): Likewise. + (asin_test): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (asinh_test): Likewise. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Use END_COMPLEX macro without arguments. + (cacosh_test): Likewise. + (carg_test): Use END macro without arguments. + (casin_test): Use END_COMPLEX macro without arguments. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (cbrt_test): Use END macro without arguments. + (ccos_test): Use END_COMPLEX macro without arguments. + (ccosh_test): Likewise. + (ceil_test): Use END macro without arguments. + (cexp_test): Use END_COMPLEX macro without arguments. + (cimag_test): Use END macro without arguments. + (clog_test): Use END_COMPLEX macro without arguments. + (clog10_test): Likewise. + (conj_test): Likewise. + (copysign_test): Use END macro without arguments. + (cos_test): Likewise. + (cos_test_tonearest): Likewise. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (cosh_test): Likewise. + (cosh_test_tonearest): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (cpow_test): Use END_COMPLEX macro without arguments. + (cproj_test): Likewise. + (creal_test): Use END macro without arguments. + (csin_test): Use END_COMPLEX macro without arguments. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctan_test_tonearest): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (erf_test): Use END macro without arguments. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp_test_tonearest): Likewise. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fabs_test): Likewise. + (fdim_test): Likewise. + (finite_test): Likewise. + (floor_test): Likewise. + (fma_test): Likewise. + (fma_test_towardzero): Likewise. + (fma_test_downward): Likewise. + (fma_test_upward): Likewise. + (fmax_test): Likewise. + (fmin_test): Likewise. + (fmod_test): Likewise. + (fpclassify_test): Likewise. + (frexp_test): Likewise. + (gamma_test): Likewise. + (hypot_test): Likewise. + (ilogb_test): Likewise. + (isfinite_test): Likewise. + (isgreater_test): Likewise. + (isgreaterequal_test): Likewise. + (isinf_test): Likewise. + (isless_test): Likewise. + (islessequal_test): Likewise. + (islessgreater_test): Likewise. + (isnan_test): Likewise. + (isnormal_test): Likewise. + (issignaling_test): Likewise. + (isunordered_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (jn_test): Likewise. + (ldexp_test): Likewise. + (lgamma_test): Likewise. + (lrint_test): Likewise. + (lrint_test_tonearest): Likewise. + (lrint_test_towardzero): Likewise. + (lrint_test_downward): Likewise. + (lrint_test_upward): Likewise. + (llrint_test): Likewise. + (llrint_test_tonearest): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_test_downward): Likewise. + (llrint_test_upward): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test): Likewise. + (logb_test_downward): Likewise. + (lround_test): Likewise. + (llround_test): Likewise. + (modf_test): Likewise. + (nearbyint_test): Likewise. + (nextafter_test): Likewise. + (nexttoward_test): Likewise. + (pow_test): Likewise. + (pow_test_tonearest): Likewise. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (remainder_test): Likewise. + (remainder_test_tonearest): Likewise. + (remainder_test_towardzero): Likewise. + (remainder_test_downward): Likewise. + (remainder_test_upward): Likewise. + (remquo_test): Likewise. + (rint_test): Likewise. + (rint_test_tonearest): Likewise. + (rint_test_towardzero): Likewise. + (rint_test_downward): Likewise. + (rint_test_upward): Likewise. + (round_test): Likewise. + (scalb_test): Likewise. + (scalbn_test): Likewise. + (scalbln_test): Likewise. + (signbit_test): Likewise. + (sin_test): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + (trunc_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + (significand_test): Likewise. + +2013-05-24 Ondřej Bílka <neleai@seznam.cz> + + [BZ #15381] + * libio/genops.c (_IO_no_init): Initialize wide struct info. + +2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com> + + [BZ #14894] + * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield, + __ppc_mdoio and __ppc_mdoom. + * manual/platform.texi: Document new functions __ppc_yield, + __ppc_mdoio and __ppc_mdoom. + +2013-05-22 Carlos O'Donell <carlos@redhat.com> + + * elf/ldconfig.c (is_hwcap_platform): Make comments full setences. + (main): Mention "tls" pseudo-hwcap is legacy. + * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment. + +2013-05-22 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (parse_args): Output only string of + arguments as text for test name, not full call or descriptions of + tests for extra outputs. + (generate_testfile): Do not pass function name to parse_args. + Generate this_func variable from START. + * math/libm-test.inc (struct test_f_f_data): Rename test_name + field to arg_str. + (struct test_ff_f_data): Likewise. + (test_ff_f_data_nexttoward): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Likewise. Remove field extra_name. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Rename test_name field to arg_str. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_fFF_11_data): Likewise. Remove fields extra1_name + and extra2_name. + (COMMON_TEST_SETUP): New macro. + (EXTRA_OUTPUT_TEST_SETUP): Likewise. + (COMMON_TEST_CLEANUP): Likewise. + (EXTRA_OUTPUT_TEST_CLEANUP): Likewise. + (RUN_TEST_f_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f. + (RUN_TEST_2_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f. + (RUN_TEST_fff_f): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f. + (RUN_TEST_c_f): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f. + (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. + (RUN_TEST_fF_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. + (RUN_TEST_fI_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. + (RUN_TEST_ffI_f1): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. + (RUN_TEST_c_c): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c. + (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c. + (RUN_TEST_f_i): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i. + (RUN_TEST_f_i_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg. + (RUN_TEST_ff_i_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg. + (RUN_TEST_f_b): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b. + (RUN_TEST_f_b_tg): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg. + (RUN_TEST_f_l): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l. + (RUN_TEST_f_L): Take argument string. Call new setup and cleanup + macros. + (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L. + (RUN_TEST_fFF_11): Take argument string. Call new setup and + cleanup macros. + (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11. + +2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb + to _sifields.sigfault. + (si_addr_lsb): Define new macro. + (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. + * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. + * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise. + +2013-05-03 Carlos O'Donell <carlos at redhat.com> + + [BZ #15441] + * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg + returns -1. + (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is + null return -1. + * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort + loading the domain. + +2013-05-22 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (parse_args): Do not include expected + result in test name. + * sysdeps/i386/fpu/libm-test-ulps: Update test names. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile: Sort function entries. + + * benchtests/Makefile (bench): Add asin, acos, sinh, cosh, + tanh, asinh, acosh, atanh. + * benchtests/acos-inputs: New file. + * benchtests/acosh-inputs: New file. + * benchtests/asin-inputs: New file. + * benchtests/asinh-inputs: New file. + * benchtests/atanh-inputs: New file. + * benchtests/cosh-inputs: New file. + * benchtests/log-inputs: New file. + * benchtests/sinh-inputs: New file. + * benchtests/tanh-inputs: New file. + +2013-05-21 Dmitry V. Levin <ldv@altlinux.org> + + [BZ #15339] + * posix/tst-getaddrinfo4.c: New test. + * posix/Makefile (tests): Add it. + +2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #15339] + * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only + when no services were used. + * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno. + Return EAI_SYSTEM if h_errno is NETDB_INTERNAL. + +2013-05-21 Andreas Schwab <schwab@suse.de> + + [BZ #15014] + * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) + [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was + successful. + * nss/digits_dots.c (__nss_hostname_digits_dots): Remove + redundant variable declarations and reallocation of buffer when + parsing as IPv6 address. Always set NSS status when called from + reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when + buffer too small. Correct computation of needed size. + * nss/Makefile (tests): Add test-digits-dots. + * nss/test-digits-dots.c: New test. + +2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile: Remove instructions for adding + benchmark tests. + * benchtests/README: New file to explain how to execute and + enhance the benchmark tests. + +2013-05-21 Andreas Schwab <schwab@suse.de> + + [BZ #15493] + * setjmp/Makefile (tests): Add tst-sigsetjmp. + * setjmp/tst-sigsetjmp.c: New test. + +2013-05-20 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/x86_64/memset.S (memset): New implementation. + (__bzero): Likewise. + (__memset_tail): New function. + +2013-05-20 Ondřej Bílka <neleai@seznam.cz> + + * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file. + * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add + __memcpy_sse2_unaligned ifunc selection. + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): + Add memcpy-sse2-unaligned.S. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add: __memcpy_sse2_unaligned. + +2013-05-19 Joseph Myers <joseph@codesourcery.com> + + [BZ #15490] + * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use + math_force_eval before restoring floating-point envrionment. + * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise. + * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): + Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include + <math_private.h>. + (__nearbyintl): Use math_force_eval before restoring + floating-point environment. + * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise. + + * math/gen-libm-test.pl (special_functions): Remove. + (parse_args): Don't handle TEST_extra. Handle functions with no + return value. + * math/libm-test.inc (struct test_sincos_data): Replace with + struct test_fFF_11_data. + (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11. + (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11. + (sincos_test_data): Change element type to struct + test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra. + (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of + RUN_TEST_LOOP_sincos. + * math/README.libm-test: Don't mention special handling of + individual functions. + * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests. + * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. + * sysdeps/s390/fpu/libm-test-ulps: Likewise. + * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise. + * sysdeps/sparc/fpu/libm-test-ulps: Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + + * math/gen-libm-test.pl (get_variable): Remove function. + (parse_args): Don't show pointer parameters to call in test + names. Use "extra output N" in test names for extra outputs + rather than naming variables. + +2013-05-18 Joseph Myers <joseph@codesourcery.com> + + [BZ #15488] + * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) && + __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro. + * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long + double tests. + * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not + disable. + (do_test) [NO_LONG_DOUBLE]: Do not disable call to + check_long_double. + + * math/gen-libm-test.pl (@tests): Remove variable. + ($count): Likewise. + (new_test): Remove function. + (show_exceptions): New function. + (special_functions): Use show_exceptions instead of new_test. + (parse_args): Likewise. + (generate_testfile): Pass only function name in generated call to + print_max_error or print_complex_max_error. + (get_ulps): Do not handle complex tests specially. + (output_test): Rename to ... + (get_all_ulps_for_test): ... this. Return a string rather than + printing to a file. Require ulps to be present. + (output_ulps): Generate arrays rather than #defines. + * math/libm-test.inc: Move down #include of "libm-test-ulps.h". + (struct ulp_data): New type. + (BUILD_COMPLEX_ULP): Remove macro. + (compare_ulp_data): New function. + (find_ulps): Likewise. + (find_test_ulps): Likewise. + (find_function_ulps): Likewise. + (find_complex_function_ulps): Likewise. + (print_max_error): Determine allowed ulps using + find_function_ulps. + (print_complex_max_error): Determine allowed ulps using + find_complex_function_ulps. + (check_float_internal): Determine max ulps using find_test_ulps. + (check_float): Do not take max_ulp parameter. Update call to + check_float_internal. + (check_complex): Likewise. + (check_int): Do not take max_ulp parameter. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (struct test_f_f_data): Remove max_ulp field. + (struct test_ff_f_data): Likewise. + (struct test_ff_f_data_nexttoward): Likewise. + (struct test_fi_f_data): Likewise. + (struct test_fl_f_data): Likewise. + (struct test_if_f_data): Likewise. + (struct test_fff_f_data): Likewise. + (struct test_c_f_data): Likewise. + (struct test_f_f1_data): Remove max_ulp and extra_ulp fields. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (struct test_c_c_data): Remove max_ulp field. + (struct test_cc_c_data): Likewise. + (struct test_f_i_data): Likewise. + (struct test_ff_i_data): Likewise. + (struct test_f_l_data): Likewise. + (struct test_f_L_data): Likewise. + (struct test_sincos_data): Likewise. + (RUN_TEST_f_f): Do not handle ulps. + (RUN_TEST_LOOP_f_f): Likewise. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_LOOP_2_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_LOOP_fff_f): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_LOOP_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_LOOP_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_LOOP_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_LOOP_fI_f1): Likewise. + (RUN_TEST_ffI_f1): Likewise. + (RUN_TEST_LOOP_ffI_f1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_LOOP_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_LOOP_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_LOOP_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_LOOP_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_LOOP_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_LOOP_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_LOOP_f_L): Likewise. + (RUN_TEST_sincos): Likewise. + (RUN_TEST_LOOP_sincos): Likewise. + +2013-05-17 Joseph Myers <joseph@codesourcery.com> + + [BZ #15480] + [BZ #15485] + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For + main case of finite arguments, set rounding mode to FE_TONEAREST + and discard exceptions. + * math/libm-test.inc (remainder_test_data): Disallow "inexact" + exceptions. + (remainder_tonearest_test_data): New variable. + (remainder_test_tonearest): New function. + (remainder_towardzero_test_data): New variable. + (remainder_test_towardzero): New function. + (remainder_downward_test_data): New variable. + (remainder_test_downward): New function. + (remainder_upward_test_data): New variable. + (remainder_test_upward): New function. + (main): Call the new test functions. + + * math/libm-test.inc (struct test_f_f1_data): Remove field + extra_init. + (struct test_fF_f1_data): Likewise. + (struct test_ffI_f1_data): Likewise. + (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR + based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1. + (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1. + (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1. + (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize + EXTRA_VAR based on value of EXTRA_EXPECTED. + (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1. + * math/gen-libm-test.pl (parse_args): Don't output initializers + for extra output values. + + * math/libm-test.inc (check_int): Expect result to be exactly + equal to expected value and do not handle ulps. + (check_long): Likewise. + (check_longlong): Likewise. + + * math/libm-test.inc (ceil_test_data): Test for "inexact" + exceptions. + (cimag_test_data): Likewise. + (conj_test_data): Likewise. + (copysign_test_data): Likewise. + (cproj_test_data): Likewise. + (creal_test_data): Likewise. + (fabs_test_data): Likewise. + (fdim_test_data): Likewise. + (finite_test_data): Likewise. + (floor_test_data): Likewise. + (fmax_test_data): Likewise. + (fmin_test_data): Likewise. + (fmod_test_data): Likewise. + (fpclassify_test_data): Likewise. + (frexp_test_data): Likewise. + (ilogb_test_data): Likewise. + (isfinite_test_data): Likewise. + (isgreater_test_data): Likewise. + (isgreaterequal_test_data): Likewise. + (isinf_test_data): Likewise. + (isless_test_data): Likewise. + (islessequal_test_data): Likewise. + (islessgreater_test_data): Likewise. + (isnan_test_data): Likewise. + (isnormal_test_data): Likewise. + (issignaling_test_data): Likewise. + (isunordered_test_data): Likewise. + (ldexp_test_data): Likewise. + (lrint_test_data): Likewise. + (lrint_test_data) [TEST_FLOAT]: Disable one test. + (lrint_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_tonearest_test_data): Test for "inexact" exceptions. + (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. + (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that + test input. + (lrint_towardzero_test_data): Test for "inexact" exceptions. + (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. + (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on + that test input. + (lrint_downward_test_data): Test for "inexact" exceptions. + (lrint_downward_test_data) [TEST_FLOAT]: Disable one test. + (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise. + (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that + test input. + (lrint_upward_test_data): Test for "inexact" exceptions. + (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one + test input. + (llrint_test_data): Test for "inexact" exceptions. + (llrint_test_data) [TEST_FLOAT]: Disable one test. + (llrint_tonearest_test_data): Test for "inexact" exceptions. + (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test. + (llrint_towardzero_test_data): Test for "inexact" exceptions. + (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test. + (llrint_downward_test_data): Test for "inexact" exceptions. + (llrint_downward_test_data) [TEST_FLOAT]: Disable one test. + (llrint_upward_test_data): Test for "inexact" exceptions. + (logb_test_data): Likewise. + (logb_downward_test_data): Likewise. + (nextafter_test_data): Likewise. + (nexttoward_test_data): Likewise. + (remainder_test_data): Likewise. + (remquo_test_data): Likewise. + (scalbn_test_data): Likewise. + (scalbln_test_data): Likewise. + (signbit_test_data): Likewise. + (sqrt_test_data): Likewise. + (significand_test_data): Likewise. + +2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #15424] + * benchtests/bench-modf.c (struct args): Mark arg0 as + volatile. + * scripts/bench.pl: Mark members of struct args as volatile. + +2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + [BZ # 15497] + * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for + negative infinity on POWER6 or lower. + * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise. + +2013-05-16 Maciej W. Rozycki <macro@codesourcery.com> + + [BZ #15442] + * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro. + (_FP_FRAC_SNANP_SEMIRAW): Likewise. + (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP. + (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW. + (_FP_SETQNAN): New macro. + (_FP_SETQNAN_SEMIRAW): Likewise. + (_FP_PACK_SEMIRAW): Use _FP_SETQNAN. + (_FP_PACK_CANONICAL): Use _FP_SETQNAN. + (_FP_ISSIGNAN): Use _FP_FRAC_SNANP. + (FP_EXTEND): Use _FP_FRAC_SNANP. + (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW. + * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP + into account. + * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): + New macro. + * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): + Likewise. + +2013-05-16 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together + with DIVIDE_BY_ZERO_EXCEPTION. + (gamma_test_data): Likewise. + (lgamma_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log2_test_data): Likewise. + (tgamma_test_data): Likewise. + + * math/libm-test.inc (acos_test): Don't test for ENOSYS error. + (acos_test_tonearest): Likewise. + (acos_test_towardzero): Likewise. + (acos_test_downward): Likewise. + (acos_test_upward): Likewise. + (acosh_test): Likewise. + (asin_test): Likewise. + (asin_test_tonearest): Likewise. + (asin_test_towardzero): Likewise. + (asin_test_downward): Likewise. + (asin_test_upward): Likewise. + (asinh_test): Likewise. + (atan_test): Likewise. + (atanh_test): Likewise. + (atan2_test): Likewise. + (cabs_test): Likewise. + (cacos_test): Likewise. + (cacosh_test): Likewise. + (casin_test): Likewise. + (casinh_test): Likewise. + (catan_test): Likewise. + (catanh_test): Likewise. + (cbrt_test): Likewise. + (ccos_test): Likewise. + (ccosh_test): Likewise. + (cexp_test): Likewise. + (clog_test): Likewise. + (clog10_test): Likewise. + (cos_test): Likewise. + (cos_test_tonearest): Likewise. + (cos_test_towardzero): Likewise. + (cos_test_downward): Likewise. + (cos_test_upward): Likewise. + (cosh_test): Likewise. + (cosh_test_tonearest): Likewise. + (cosh_test_towardzero): Likewise. + (cosh_test_downward): Likewise. + (cosh_test_upward): Likewise. + (cpow_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + (csqrt_test): Likewise. + (ctan_test): Likewise. + (ctan_test_tonearest): Likewise. + (ctan_test_towardzero): Likewise. + (ctan_test_downward): Likewise. + (ctan_test_upward): Likewise. + (ctanh_test): Likewise. + (ctanh_test_tonearest): Likewise. + (ctanh_test_towardzero): Likewise. + (ctanh_test_downward): Likewise. + (ctanh_test_upward): Likewise. + (erf_test): Likewise. + (erfc_test): Likewise. + (exp_test): Likewise. + (exp_test_tonearest): Likewise. + (exp_test_towardzero): Likewise. + (exp_test_downward): Likewise. + (exp_test_upward): Likewise. + (exp10_test): Likewise. + (exp2_test): Likewise. + (expm1_test): Likewise. + (fmod_test): Likewise. + (gamma_test): Likewise. + (hypot_test): Likewise. + (j0_test): Likewise. + (j1_test): Likewise. + (jn_test): Likewise. + (lgamma_test): Likewise. + (log_test): Likewise. + (log10_test): Likewise. + (log1p_test): Likewise. + (log2_test): Likewise. + (logb_test_downward): Likewise. + (pow_test): Likewise. + (pow_test_tonearest): Likewise. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (remainder_test): Likewise. + (remquo_test): Likewise. + (sin_test): Likewise. + (sin_test_tonearest): Likewise. + (sin_test_towardzero): Likewise. + (sin_test_downward): Likewise. + (sin_test_upward): Likewise. + (sincos_test): Likewise. + (sinh_test): Likewise. + (sinh_test_tonearest): Likewise. + (sinh_test_towardzero): Likewise. + (sinh_test_downward): Likewise. + (sinh_test_upward): Likewise. + (sqrt_test): Likewise. + (tan_test): Likewise. + (tan_test_tonearest): Likewise. + (tan_test_towardzero): Likewise. + (tan_test_downward): Likewise. + (tan_test_upward): Likewise. + (tanh_test): Likewise. + (tgamma_test): Likewise. + (y0_test): Likewise. + (y1_test): Likewise. + (yn_test): Likewise. + + * math/gen-libm-test.pl (adjust_arg): Remove function. + (special_function): Remove argument $in_func. Only handle + generating output for tables of tests, not inside functions. + (parse_args): Likewise. + (generate_testfile): Remove variable $in_func. Update call to + parse_args. + * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero. + (MINUS_ZERO_INIT): Rename macro to minus_zero. + (PLUS_INFTY_INIT): Rename macro to plus_infty. + (MINUS_INFTY_INIT): Rename macro to minus_infty. + (QNAN_VALUE_INIT): Rename macro to qnan_value. + (MAX_VALUE_INIT): Rename macro to max_value. + (MIN_VALUE_INIT): Rename macro to min_value. + (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value. + (plus_zero): Remove variable. + (minus_zero): Likewise. + (plus_infty): Likewise. + (minus_infty): Likewise. + (qnan_value): Likewise. + (max_value): Likewise. + (min_value): Likewise. + (min_subnorm_value): Likewise. + +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * crypt/sha512-block.c: Add missing #include <stdint.h> due to + uint64_t or uint32_t usage. + * crypt/sha256-block.c: Likewise. + * crypt/sha256-crypt.c: Likewise. + * crypt/sha256.c: Likewise. + * crypt/sha512-block.c: Likewise. + * crypt/sha512-crypt.c: Likewise. + * crypt/sha512.c: Likewise. + * debug/backtrace-tst.c: Likewise. + * debug/pcprofiledump.c: Likewise. + * elf/cache.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/cp737.h: Likewise. + * iconvdata/cp775.h: Likewise. + * iconvdata/ibm1008.h: Likewise. + * iconvdata/ibm1025.h: Likewise. + * iconvdata/ibm1046.h: Likewise. + * iconvdata/ibm1097.h: Likewise. + * iconvdata/ibm1112.h: Likewise. + * iconvdata/ibm1122.h: Likewise. + * iconvdata/ibm1123.h: Likewise. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1129.h: Likewise. + * iconvdata/ibm1130.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1137.h: Likewise. + * iconvdata/ibm1140.h: Likewise. + * iconvdata/ibm1141.h: Likewise. + * iconvdata/ibm1142.h: Likewise. + * iconvdata/ibm1143.h: Likewise. + * iconvdata/ibm1144.h: Likewise. + * iconvdata/ibm1145.h: Likewise. + * iconvdata/ibm1146.h: Likewise. + * iconvdata/ibm1147.h: Likewise. + * iconvdata/ibm1148.h: Likewise. + * iconvdata/ibm1149.h: Likewise. + * iconvdata/ibm1153.h: Likewise. + * iconvdata/ibm1154.h: Likewise. + * iconvdata/ibm1155.h: Likewise. + * iconvdata/ibm1156.h: Likewise. + * iconvdata/ibm1157.h: Likewise. + * iconvdata/ibm1158.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm1163.h: Likewise. + * iconvdata/ibm1164.h: Likewise. + * iconvdata/ibm1166.h: Likewise. + * iconvdata/ibm1167.h: Likewise. + * iconvdata/ibm12712.h: Likewise. + * iconvdata/ibm1390.h: Likewise. + * iconvdata/ibm1399.h: Likewise. + * iconvdata/ibm16804.h: Likewise. + * iconvdata/ibm4517.h: Likewise. + * iconvdata/ibm4899.h: Likewise. + * iconvdata/ibm4909.h: Likewise. + * iconvdata/ibm4971.h: Likewise. + * iconvdata/ibm5347.h: Likewise. + * iconvdata/ibm803.h: Likewise. + * iconvdata/ibm856.h: Likewise. + * iconvdata/ibm901.h: Likewise. + * iconvdata/ibm902.h: Likewise. + * iconvdata/ibm9030.h: Likewise. + * iconvdata/ibm9066.h: Likewise. + * iconvdata/ibm921.h: Likewise. + * iconvdata/ibm922.h: Likewise. + * iconvdata/ibm9448.h: Likewise. + * iconvdata/isiri-3342.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * include/link.h: Likewise. + * include/netdb.h: Likewise. + * inet/check_native.c: Likewise. + * inet/check_pf.c: Likewise. + * inet/getipv4sourcefilter.c: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getsourcefilter.c: Likewise. + * inet/htonl.c: Likewise. + * inet/setipv4sourcefilter.c: Likewise. + * inet/setsourcefilter.c: Likewise. + * inet/test-inet6_opt.c: Likewise. + * inet/tst-network.c: Likewise. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-translit.h: Likewise. + * locale/loadarchive.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * malloc/memusage.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_hash.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * nscd/nscd_helper.c: Likewise. + * nscd/servicescache.c: Likewise. + * nss/makedb.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-initgroups.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * posix/bug-regex5.c: Likewise. + * posix/fnmatch_loop.c: Likewise. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + * posix/tst-rfc3484.c: Likewise. + * resolv/nss_dns/dns-canon.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/tst-aton.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * stdlib/gen-fpioconst.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * string/tst-endian.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/memusage.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/test-gettimebase.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise. + * sysdeps/x86_64/dl-tls.h: Likewise. + * sysdeps/x86_64/dl-tlsdesc.h: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * wcsmbs/tst-c16c32-1.c: Likewise. + +2013-05-16 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (struct test_sincos_data): New type. + (RUN_TEST_LOOP_sincos): New macro. + (sincos_test_data): New variable. + (sincos_test): Run tests with RUN_TEST_LOOP_sincos. + +2013-05-16 Richard Henderson <rth@redhat.com> + + * math/atest-exp2.c (LIMB64): New macro. + (CONSTSZ): New macro. + (mp_exp1, mp_exp_m1, mp_log2): New variables. + (hexdig): Move ... + (print_mpn_fp): ... to function scope. + (read_mpn_hex): Remove. + (get_log2): Remove. + (exp2_mpn): Use mp_log2. + (main): Use mp_exp1. + +2013-05-16 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc: Remove comment about not testing "inexact" + exceptions. + (INEXACT_EXCEPTION): New macro. + (NO_INEXACT_EXCEPTION): Likewise. + (INVALID_EXCEPTION_OK): Update value. + (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise. + (OVERFLOW_EXCEPTION_OK): Likewise. + (UNDERFLOW_EXCEPTION_OK): Likewise. + (IGNORE_ZERO_INF_SIGN): Likewise. + (ERRNO_UNCHANGED): Likewise. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (test_exceptions): Handle testing "inexact" exceptions. + (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests. + (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION. + (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests. + (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and + INEXACT_EXCEPTION. + (rint_towardzero_test_data): Likewise. + (rint_downward_test_data): Likewise. + (rint_upward_test_data): Likewise. + + * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together + with OVERFLOW_EXCEPTION. + (exp10_test_data): Likewise. + (exp2_test_data): Likewise. + (expm1_test_data): Likewise. + (lgamma_test_data): Likewise. + (pow_test_data): Likewise. + (tgamma_test_data): Likewise. + (yn_test_data): Remove duplicate test of overflow. + + * math/libm-test.inc (struct test_cc_c_data): New type. + (RUN_TEST_LOOP_cc_c): New macro. + (cpow_test_data): New variable. + (cpow_test): Run tests with RUN_TEST_LOOP_cc_c. + + * math/libm-test.inc (struct test_f_L_data): New type. + (RUN_TEST_LOOP_f_L): New macro. + (llrint_test_data): New variable. + (llrint_test): Run tests with RUN_TEST_LOOP_f_L. + (llrint_tonearest_test_data): New variable. + (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L. + (llrint_towardzero_test_data): New variable. + (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L. + (llrint_downward_test_data): New variable. + (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L. + (llrint_upward_test_data): New variable. + (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L. + (llround_test_data): New variable. + (llround_test): Run tests with RUN_TEST_LOOP_f_L. + +2013-05-13 Peter Collingbourne <pcc@google.com> + + * math/atest-exp2.c (get_log2): Remove const attribute. + +2013-05-15 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (struct test_f_l_data): New type. + (RUN_TEST_LOOP_f_l): New macro. + (lrint_test_data): New variable. + (lrint_test): Run tests with RUN_TEST_LOOP_f_l. + (lrint_tonearest_test_data): New variable. + (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l. + (lrint_towardzero_test_data): New variable. + (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l. + (lrint_downward_test_data): New variable. + (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l. + (lrint_upward_test_data): New variable. + (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l. + (lround_test_data): New variable. + (lround_test): Run tests with RUN_TEST_LOOP_f_l. + +2013-05-15 Peter Collingbourne <pcc@google.com> + + * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. + (EXTRACT_WORDS64) Use where appropriate. + (INSERT_WORDS64) Likewise. + + * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm + constraints with x constraints. + * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise. + + * malloc/obstack.c (_obstack_compat): Add initializer. + +2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove + si_trapno and add si_addr_lsb to _sifields.sigfault. + (si_trapno): Remove macro. + (si_addr_lsb): Define new macro. + (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values. + +2013-05-15 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (llrint_test): Consistently use TEST_f_L + instead of TEST_f_l. + (llrint_test_tonearest): Likewise. + (llrint_test_towardzero): Likewise. + (llrint_test_downward): Likewise. + (llrint_test_upward): Likewise. + (llround_test): Likewise. + + * math/libm-test.inc (struct test_f_i_data): Add comment. + (RUN_TEST_LOOP_f_b): New macro. + (RUN_TEST_LOOP_f_b_tg): Likewise. + (finite_test_data): New variable. + (finite_test): Run tests with RUN_TEST_LOOP_f_b. + (isfinite_test_data): New variable. + (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isinf_test_data): New variable. + (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isnan_test_data): New variable. + (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (isnormal_test_data): New variable. + (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (issignaling_test_data): New variable. + (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg. + (signbit_test_data): New variable. + (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg. + + * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together + with INVALID_EXCEPTION. + (acosh_test_data): Likewise. + (asin_test_data): Likewise. + (atanh_test_data): Likewise. + (fmod_test_data): Likewise. + (log_test_data): Likewise. + (log10_test_data): Likewise. + (log2_test_data): Likewise. + (pow_test_data): Likewise. + (sqrt_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + + * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable + function contents. + + * math/libm-test.inc (struct test_ff_i_data): New type. + (RUN_TEST_LOOP_ff_i_tg): New macro. + (isgreater_test_data): New variable. + (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isgreaterequal_test_data): New variable. + (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isless_test_data): New variable. + (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (islessequal_test_data): New variable. + (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (islessgreater_test_data): New variable. + (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + (isunordered_test_data): New variable. + (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg. + +2013-05-14 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-05-14 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace. + + * math/libm-test.inc (struct test_fF_f1_data): Change type of + extra_test to int. + (struct test_f_i_data): Change type of max_ulp to int. + + * math/libm-test.inc (test_ffI_f1_data): New type. + (RUN_TEST_LOOP_ffI_f1): New macro. + (remquo_test_data): New variable. + (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1. + + * setjmp/tst-setjmp-fp.c: New file. + * setjmp/Makefile (tests): Add tst-setjmp-fp. + (link-libm): New variable. + ($(objpfx)tst-setjmp-fp): Depend on $(link-libm). + + * math/libm-test.inc (struct test_f_i_data): New type. + (RUN_TEST_LOOP_f_i): New macro. + (RUN_TEST_LOOP_f_i_tg): Likewise. + (fpclassify_test_data): New variable. + (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg. + (ilogb_test_data): New variable. + (ilogb_test): Run tests with RUN_TEST_LOOP_f_i. + + * math/libm-test.inc (scalbln_test): Correct function name in END + call. + + * math/libm-test.inc (struct test_f_f1_data): Add comment. + (RUN_TEST_LOOP_fI_f1): New macro. + (frexp_test_data): New variable. + (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1. + + * math/libm-test.inc (struct test_fF_f1_data): New type. + (RUN_TEST_LOOP_fF_f1): New macro. + (modf_test_data): New variable. + (modf_test): Run tests with RUN_TEST_LOOP_fF_f1. + + * math/libm-test.inc (struct test_f_f1_data): New type. + (RUN_TEST_LOOP_f_f1): New macro. + (gamma_test_data): New variable. + (gamma_test): Run tests with RUN_TEST_LOOP_f_f1. + (lgamma_test_data): New variable. + (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1. + +2013-05-13 Carlos O'Donell <carlos@redhat.com> + + * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading. + * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check. + (main): Comment "tls" pseudo-hwcap. + +2013-05-13 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (struct test_fl_f_data): New type. + (RUN_TEST_LOOP_fl_f): New variable. + (scalbln_test_data): New variable. + (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f. + + * math/libm-test.inc (struct test_fi_f_data): New type. + (RUN_TEST_LOOP_fi_f): New macro. + (ldexp_test_data): New variable. + (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f. + (scalbn_test_data): New variable. + (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f. + + * math/libm-test.inc (struct test_c_f_data): New type. + (RUN_TEST_LOOP_c_f): New macro. + (cabs_test_data): New variable. + (cabs_test): Run tests with RUN_TEST_LOOP_c_f. + (carg_test_data): New variable. + (carg_test): Run tests with RUN_TEST_LOOP_c_f. + (cimag_test_data): New variable. + (cimag_test): Run tests with RUN_TEST_LOOP_c_f. + (creal_test_data): New variable. + (creal_test): Run tests with RUN_TEST_LOOP_c_f. + + * math/libm-test.inc (struct test_if_f_data): New type. + (RUN_TEST_LOOP_if_f): New macro. + (jn_test_data): New variable. + (jn_test): Run tests with RUN_TEST_LOOP_if_f. + (yn_test_data): New variable. + (yn_test): Run tests with RUN_TEST_LOOP_if_f. + + * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f. + +2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * math/libm-test.inc (M_1_DIV_El): Define using decimal constant. + (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El. + +2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile (CPPFLAGS-nonlib): Add + -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined. + (bench-deps): Add bench-timing.h. + * benchtests-bench-skeleton.c: Include bench-timing.h. + (main): Use TIMING_* macros instead of clock_gettime. + * benchtests/bench-timing.h: New file. + + [BZ #14582] + * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL): + Renamed from _LIB_VERSION. + (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL. + +2013-05-12 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (struct test_fff_f_data): New type. + (RUN_TEST_LOOP_fff_f): New macro. + (fma_test_data): New variable. + (fma_test): Run tests with RUN_TEST_LOOP_fff_f. + (fma_towardzero_test_data): New variable. + (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f. + (fma_downward_test_data): New variable. + (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f. + (fma_upward_test_data): New variable. + (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f. + + * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro. + (struct test_c_c_data): New type. + (RUN_TEST_LOOP_c_c): New macro. + (cacos_test_data): New variable. + (cacos_test): Run tests with RUN_TEST_LOOP_c_c. + (cacosh_test_data): New variable. + (cacosh_test): Run tests with RUN_TEST_LOOP_c_c. + (casin_test_data): New variable. + (casin_test): Run tests with RUN_TEST_LOOP_c_c. + (casinh_test_data): New variable. + (casinh_test): Run tests with RUN_TEST_LOOP_c_c. + (catan_test_data): New variable. + (catan_test): Run tests with RUN_TEST_LOOP_c_c. + (catanh_test_data): New variable. + (catanh_test): Run tests with RUN_TEST_LOOP_c_c. + (ccos_test_data): New variable. + (ccos_test): Run tests with RUN_TEST_LOOP_c_c. + (ccosh_test_data): New variable. + (ccosh_test): Run tests with RUN_TEST_LOOP_c_c. + (cexp_test_data): New variable. + (cexp_test): Run tests with RUN_TEST_LOOP_c_c. + (clog_test_data): New variable. + (clog_test): Run tests with RUN_TEST_LOOP_c_c. + (clog10_test_data): New variable. + (clog10_test): Run tests with RUN_TEST_LOOP_c_c. + (conj_test_data): New variable. + (conj_test): Run tests with RUN_TEST_LOOP_c_c. + (cproj_test_data): New variable. + (cproj_test): Run tests with RUN_TEST_LOOP_c_c. + (csin_test_data): New variable. + (csin_test): Run tests with RUN_TEST_LOOP_c_c. + (csinh_test_data): New variable. + (csinh_test): Run tests with RUN_TEST_LOOP_c_c. + (csqrt_test_data): New variable. + (csqrt_test): Run tests with RUN_TEST_LOOP_c_c. + (ctan_test_data): New variable. + (ctan_test): Run tests with RUN_TEST_LOOP_c_c. + (ctan_tonearest_test_data): New variable. + (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. + (ctan_towardzero_test_data): New variable. + (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. + (ctan_downward_test_data): New variable. + (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c. + (ctan_upward_test_data): New variable. + (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_test_data): New variable. + (ctanh_test): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_tonearest_test_data): New variable. + (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_towardzero_test_data): New variable. + (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_downward_test_data): New variable. + (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c. + (ctanh_upward_test_data): New variable. + (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c. + * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead + of BUILD_COMPLEX. + + * math/libm-test.inc (struct test_ff_f_data): New type. + (struct test_ff_f_data_nexttoward): Likewise. + (RUN_TEST_LOOP_2_f): New macro. + (RUN_TEST_LOOP_ff_f): Likewise. + (atan2_test_data): New variable. + (atan2_test): Run tests with RUN_TEST_LOOP_ff_f. + (copysign_test_data): New variable. + (copysign_test): Run tests with RUN_TEST_LOOP_ff_f. + (fdim_test_data): New variable. + (fdim_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmax_test_data): New variable. + (fmax_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmin_test_data): New variable. + (fmin_test): Run tests with RUN_TEST_LOOP_ff_f. + (fmod_test_data): New variable. + (fmod_test): Run tests with RUN_TEST_LOOP_ff_f. + (hypot_test_data): New variable. + (hypot_test): Run tests with RUN_TEST_LOOP_ff_f. + (nextafter_test_data): New variable. + (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f. + (nexttoward_test_data): New variable. + (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f. + (pow_test_data): New variable. + (pow_test): Run tests with RUN_TEST_LOOP_ff_f. + (pow_tonearest_test_data): New variable. + (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f. + (pow_towardzero_test_data): New variable. + (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f. + (pow_downward_test_data): New variable. + (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f. + (pow_upward_test_data): New variable. + (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f. + (remainder_test_data): New variable. + (remainder_test): Run tests with RUN_TEST_LOOP_ff_f. + (scalb_test_data): New variable. + (scalb_test): Run tests with RUN_TEST_LOOP_ff_f. + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-05-11 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (fma_test): Use max_value instead of local + variable fltmax. + (nextafter_test): Likewise. + + * math/libm-test.inc (acos_towardzero_test_data): New variable. + (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (acos_downward_test_data): New variable. + (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (acos_upward_test_data): New variable. + (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (acosh_test_data): New variable. + (acosh_test): Run tests with RUN_TEST_LOOP_f_f. + (asin_test_data): New variable. + (asin_test): Run tests with RUN_TEST_LOOP_f_f. + (asin_tonearest_test_data): New variable. + (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (asin_towardzero_test_data): New variable. + (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (asin_downward_test_data): New variable. + (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (asin_upward_test_data): New variable. + (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (asinh_test_data): New variable. + (asinh_test): Run tests with RUN_TEST_LOOP_f_f. + (atan_test_data): New variable. + (atan_test): Run tests with RUN_TEST_LOOP_f_f. + (atanh_test_data): New variable. + (atanh_test): Run tests with RUN_TEST_LOOP_f_f. + (cbrt_test_data): New variable. + (cbrt_test): Run tests with RUN_TEST_LOOP_f_f. + (ceil_test_data): New variable. + (ceil_test): Run tests with RUN_TEST_LOOP_f_f. + (cos_test_data): New variable. + (cos_test): Run tests with RUN_TEST_LOOP_f_f. + (cos_tonearest_test_data): New variable. + (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (cos_towardzero_test_data): New variable. + (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (cos_downward_test_data): New variable. + (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (cos_upward_test_data): New variable. + (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (cosh_test_data): New variable. + (cosh_test): Run tests with RUN_TEST_LOOP_f_f. + (cosh_tonearest_test_data): New variable. + (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (cosh_towardzero_test_data): New variable. + (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (cosh_downward_test_data): New variable. + (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (cosh_upward_test_data): New variable. + (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (erf_test_data): New variable. + (erf_test): Run tests with RUN_TEST_LOOP_f_f. + (erfc_test_data): New variable. + (erfc_test): Run tests with RUN_TEST_LOOP_f_f. + (exp_test_data): New variable. + (exp_test): Run tests with RUN_TEST_LOOP_f_f. + (exp_tonearest_test_data): New variable. + (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (exp_towardzero_test_data): New variable. + (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (exp_downward_test_data): New variable. + (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (exp_upward_test_data): New variable. + (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (exp10_test_data): New variable. + (exp10_test): Run tests with RUN_TEST_LOOP_f_f. + (exp2_test_data): New variable. + (exp2_test): Run tests with RUN_TEST_LOOP_f_f. + (expm1_test_data): New variable. + (expm1_test): Run tests with RUN_TEST_LOOP_f_f. + (fabs_test_data): New variable. + (fabs_test): Run tests with RUN_TEST_LOOP_f_f. + (floor_test_data): New variable. + (floor_test): Run tests with RUN_TEST_LOOP_f_f. + (j0_test_data): New variable. + (j0_test): Run tests with RUN_TEST_LOOP_f_f. + (j1_test_data): New variable. + (j1_test): Run tests with RUN_TEST_LOOP_f_f. + (log_test_data): New variable. + (log_test): Run tests with RUN_TEST_LOOP_f_f. + (log10_test_data): New variable. + (log10_test): Run tests with RUN_TEST_LOOP_f_f. + (log1p_test_data): New variable. + (log1p_test): Run tests with RUN_TEST_LOOP_f_f. + (log2_test_data): New variable. + (log2_test): Run tests with RUN_TEST_LOOP_f_f. + (logb_test_data): New variable. + (logb_test): Run tests with RUN_TEST_LOOP_f_f. + (logb_downward_test_data): New variable. + (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (nearbyint_test_data): New variable. + (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f. + (rint_test_data): New variable. + (rint_test): Run tests with RUN_TEST_LOOP_f_f. + (rint_tonearest_test_data): New variable. + (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (rint_towardzero_test_data): New variable. + (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (rint_downward_test_data): New variable. + (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (rint_upward_test_data): New variable. + (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (round_test_data): New variable. + (round_test): Run tests with RUN_TEST_LOOP_f_f. + (sin_test_data): New variable. + (sin_test): Run tests with RUN_TEST_LOOP_f_f. + (sin_tonearest_test_data): New variable. + (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (sin_towardzero_test_data): New variable. + (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (sin_downward_test_data): New variable. + (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (sin_upward_test_data): New variable. + (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (sinh_test_data): New variable. + (sinh_test): Run tests with RUN_TEST_LOOP_f_f. + (sinh_tonearest_test_data): New variable. + (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (sinh_towardzero_test_data): New variable. + (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (sinh_downward_test_data): New variable. + (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (sinh_upward_test_data): New variable. + (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (sqrt_test_data): New variable. + (sqrt_test): Run tests with RUN_TEST_LOOP_f_f. + (tan_test_data): New variable. + (tan_test): Run tests with RUN_TEST_LOOP_f_f. + (tan_tonearest_test_data): New variable. + (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + (tan_towardzero_test_data): New variable. + (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f. + (tan_downward_test_data): New variable. + (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f. + (tan_upward_test_data): New variable. + (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f. + (tanh_test_data): New variable. + (tanh_test): Run tests with RUN_TEST_LOOP_f_f. + (tgamma_test_data): New variable. + (tgamma_test): Run tests with RUN_TEST_LOOP_f_f. + (trunc_test_data): New variable. + (trunc_test): Run tests with RUN_TEST_LOOP_f_f. + (y0_test_data): New variable. + (y0_test): Run tests with RUN_TEST_LOOP_f_f. + (y1_test_data): New variable. + (y1_test): Run tests with RUN_TEST_LOOP_f_f. + (significand_test_data): New variable. + (significand_test): Run tests with RUN_TEST_LOOP_f_f. + +2013-05-10 Christian Grönke <cgr_bugs@sysgo.com> + + [BZ #12387] + * sysdeps/unix/sysv/linux/sh/getgid.c: New file. + +2013-05-10 Pino Toscano <toscano.pino@tiscali.it> + + * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME. + +2013-05-10 Andreas Jaeger <aj@suse.de> + + [BZ #15448] + * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) + (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow. + +2013-05-10 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (adjust_arg): New function. + (special_functions): Handle generating output in both functions + and arrays. + (parse_args): Likewise. + (generate_testfile): Handle START_DATA and END_DATA. Pass extra + $in_func argument to parse_args. + * math/libm-test.inc (struct test_f_f_data): New type. + (IF_ROUND_INIT_): New macro. + (IF_ROUND_INIT_FE_DOWNWARD): Likewise. + (IF_ROUND_INIT_FE_TONEAREST): Likewise. + (IF_ROUND_INIT_FE_TOWARDZERO): Likewise. + (IF_ROUND_INIT_FE_UPWARD): Likewise. + (ROUND_RESTORE_): Likewise. + (ROUND_RESTORE_FE_DOWNWARD): Likewise. + (ROUND_RESTORE_FE_TONEAREST): Likewise. + (ROUND_RESTORE_FE_TOWARDZERO): Likewise. + (ROUND_RESTORE_FE_UPWARD): Likewise. + (RUN_TEST_LOOP_f_f): New macro. + (acos_test_data): New variable. + (acos_test): Run tests with RUN_TEST_LOOP_f_f. + (acos_tonearest_test_data): New variable. + (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f. + +2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/bench-skeleton.c (startup): Fix coding style. + +2013-05-10 Joseph Myers <joseph@codesourcery.com> + + [BZ #6809] + * math/w_tgamma.c (__tgamma): Also call __kernel_standard for + negative infinity argument. + * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for + negative infinity argument. + * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for + negative infinity argument. + * math/libm-test.inc (tgamma_test): Expect errno to be set for + domain errors. + +2013-05-10 Florian Weimer <fweimer@redhat.com> + + * elf/sprof.c (load_profdata): Use fstat64 instead of fstat. + * iconv/iconv_charmap.c (charmap_conversion): Likewise. + * iconv/iconv_prog.c (main): Likewise. + * locale/programs/charmap-dir.c (charmap_readdir) + (fopen_uncompressed): Likewise. + * locale/programs/locfile.c (siblings_uncached) + (write_locale_data): Use lstat64 instead of lstat. + * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of + stat. + +2013-05-10 Andreas Jaeger <aj@suse.de> + + [BZ #15395] + * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for + localization. + Include <locale.h>. + +2013-05-09 Carlos O'Donell <carlos@redhat.com> + + * elf/dl-close.c (_dl_close_worker): Add comments. + +2013-05-09 Joseph Myers <joseph@codesourcery.com> + + [BZ #15359] + * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for + high part of pi/2. + (__ieee754_rem_pio2l): Update comments. + + [BZ #15429] + * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for + high part of pi/2. + (__ieee754_rem_pio2l): Update comments. + + * math/libm-test.inc (M_SQRT_2_2): Remove macro. + (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2. + + * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 * + M_PI_4l. + + * math/libm-test.inc (M_PI_34l): Define using decimal constant. + (M_PI_34_LOG10El): Likewise. + (M_PI2_LOG10El): Likewise. + (M_PI4_LOG10El): Likewise. + (M_PI_LOG10El): Likewise. + +2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-05-08 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (PLUS_ZERO_INIT): New macro. + (MINUS_ZERO_INIT): Likewise. + (PLUS_INFTY_INIT): Likewise. + (MINUS_INFTY_INIT): Likewise. + (QNAN_VALUE_INIT): Likewise. + (MAX_VALUE_INIT): Likewise. + (MIN_VALUE_INIT): Likewise. + (MIN_SUBNORM_VALUE_INIT): Likewise. + (plus_zero): Initialize with PLUS_ZERO_INIT. + (minus_zero): Initialize with MINUS_ZERO_INIT. + (plus_infty): Initialize with PLUS_INFTY_INIT. + (minus_infty): Initialize with MINUS_INFTY_INIT. + (qnan_value): Initialize with QNAN_VALUE_INIT. + (max_value): Initialize with MAX_VALUE_INIT. + (min_value): Initialize with MIN_VALUE_INIT. + (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT. + + * math/libm-test.inc (RUN_TEST_if_f): New macro. + (jn_test): Use TEST_if_f instead of TEST_ff_f. + (ldexp_text): Use TEST_fi_i instead of TEST_ff_f. + (yn_test): Use TEST_if_f instead of TEST_ff_f. + + * math/libm-test.inc (RUN_TEST_f_f): New macro. + (RUN_TEST_2_f): Likewise. + (RUN_TEST_ff_f): Likewise. + (RUN_TEST_fi_f): Likewise. + (RUN_TEST_fl_f): Likewise. + (RUN_TEST_fff_f): Likewise. + (RUN_TEST_c_f): Likewise. + (RUN_TEST_f_f1): Likewise. + (RUN_TEST_fF_f1): Likewise. + (RUN_TEST_fI_f1): Likewise. + (RUN_TEST_ffI_f1): Likewise. + (RUN_TEST_c_c): Likewise. + (RUN_TEST_cc_c): Likewise. + (RUN_TEST_f_i): Likewise. + (RUN_TEST_f_i_tg): Likewise. + (RUN_TEST_ff_i_tg): Likewise. + (RUN_TEST_f_b): Likewise. + (RUN_TEST_f_b_tg): Likewise. + (RUN_TEST_f_l): Likewise. + (RUN_TEST_f_L): Likewise. + (RUN_TEST_sincos): Likewise. + * math/gen-libm-test.pl (new_test): Take new argument to indicate + whether to show exceptions. Do not include ");\n" in return + value. + (special_functions): Output call to RUN_TEST_sincos instead of + check_float calls. Update calls to new_test. + (parse_args): Output call to single RUN_TEST_* macro instead of + check_* calls and other assignments. Update calls to new_test. + + [BZ #2546] + [BZ #2560] + [BZ #5159] + [BZ #15426] + * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of + input to result for tgamma overflow. + * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>. + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gamma_positive): New function. + (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>. + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammaf_positive): New function. + (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>. + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and + underflow here. Use gamma_positive instead of exp (lgamma) for + other arguments. + * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>. + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + (__ieee754_gammal_r): Handle positive infinity, overflow and + underflow here. Handle NaN the same as positive infinity. Remove + check x < 0xffffffff for negative integers. Use gamma_positive + instead of exp (lgamma) for other arguments. + * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>. + (gamma_coeff): New variable. + (NCOEFF): New macro. + (gammal_positive): New function. + * sysdeps/ieee754/dbl-64/gamma_product.c: New file. + * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise. + * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise. + * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise. + * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise. + * sysdeps/generic/math_private.h (__gamma_productf): New + prototype. + (__gamma_product): Likewise. + (__gamma_productl): Likewise. + * math/Makefile (libm-calls): Add gamma_product. + * math/libm-test.inc (tgamma_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-05-08 Ondřej Bílka <neleai@seznam.cz> + + * benchtests/bench-skeleton.c (main): Preheat CPU. + +2013-05-07 Aurelien Jarno <aurelien@aurel32.net> + + * misc/sys/param.h (DEV_BSIZE): Define only if not already defined. + +2013-05-07 Roland McGrath <roland@hack.frob.com> + + * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args + and _dl_skip_args_internal. + +2013-05-07 Carlos O'Donell <carlos@redhat.com> + + * manual/message.texi (Message Translation): Talk about users. + Message to key mapping impacts design. + +2013-05-06 Roland McGrath <roland@hack.frob.com> + + * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file. + + * elf/dl-open.c: Remove declaration of _dl_sysdep_start. + + * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ... + * sysdeps/wordsize-64/glob64.c: ... here. + + * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro. + (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel): + New macros. + + * debug/getlogin_r_chk.c: Moved to ... + * login/getlogin_r_chk.c: ... here. + * debug/Makefile (routines): Move getlogin_r_chk to ... + * login/Makefile (routines): ... here. + * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ... + * login/Versions (libc: GLIBC_2.4): ... here. + + * io/poll.c (__poll): Renamed from poll. + Add libc_hidden_def. + (poll): Define as weak alias. + + * debug/ptsname_r_chk.c: Moved to ... + * login/ptsname_r_chk.c: ... here. + * debug/Makefile (routines): Move ptsname_r_chk to ... + * login/Makefile (routines): ... here. + * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ... + * login/Versions (libc: GLIBC_2.4): ... here. + + * posix/getlogin.c: Moved to ... + * login/getlogin.c: ... here. + * posix/getlogin_r.c: Moved to ... + * login/getlogin_r.c: ... here. + * posix/getlogin_r.c: Moved to ... + * login/getlogin_r.c: ... here. + * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ... + * login/Makefile (routines): ... here. + * posix/Versions (libc: GLIBC_2.0): Move setlogin to ... + * login/Versions (libc: GLIBC_2.0): ... here. + + * resource/setrlimit.c (__setrlimit): Renamed from setrlimit. + (setrlimit): Define as weak alias. + + * sysdeps/posix/truncate.c (__truncate): Renamed from truncate. + Call __ names for open, ftruncate, and close. + For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate. + (truncate): Define as weak alias. + +2013-05-06 Joseph Myers <joseph@codesourcery.com> + + * math/gen-libm-test.pl (parse_args): Initialize x before each + test of frexp, modf and remquo. + + * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to + test signgam value. + +2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + [BZ #15418] + [BZ #15419] + * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by + internal tests. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + +2013-05-06 Roland McGrath <roland@hack.frob.com> + + * elf/dl-writev.h: New file. + * elf/dl-misc.c: Include it. + (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al. + * sysdeps/unix/sysv/linux/dl-writev.h: New file. + +2013-05-04 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (noXFails): Remove variable. + (noXPasses): Likewise. + (BUILD_COMPLEX_INT): Remove macro. + (print_screen): Remove xfail argument. + (print_screen_max_error): Likewise. + (update_stats): Likewise. + (print_max_error): Likewise. Update calls to other affected + functions. + (print_complex_max_error): Likewise. + (test_single_exception): Update calls to print_screen. + (test_single_errno): Likewise. + (check_float_internal): Remove xfail argument. Update calls to + other affected functions. + (check_float): Likewise. + (check_complex): Likewise. + (check_int): Likewise. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (main): Don't print noXFails and noXPasses. + * math/gen-libm-test.pl (top level): Don't mention expected + failure handling in comment. + (new_test): Don't handle expected failures. + (parse_args): Don't mention expected failure handling in comment. + (generate_testfile): Don't handle expected failures. + (parse_ulps): Likewise. + (print_ulps_file): Likewise. + (get_failure): Remove function. + (output_test): Don't handle expected failures. + * make/README.libm-test: Don't mention expected failure handling. + + * math/libm-test.inc (plus_zero): Make const. Add initializer. + (minus_zero): Likewise. + (plus_infty): Likewise. + (minus_infty): Likewise. + (qnan_value): Likewise. + (max_value): Likewise. + (min_value): Likewise. + (min_subnorm_value): Likewise. + (initialize): Do not initialize those variables dynamically. + +2013-05-03 Roland McGrath <roland@hack.frob.com> + + * io/open.c (__open_2): Moved to ... + * io/open_2.c: ... this new file. + * io/open64.c (__open64_2): Moved to ... + * io/open64_2.c: ... this new file. + * io/openat.c (__openat_2): Moved to ... + * io/openat_2.c: ... this new file. + * io/openat64.c (__openat64_2): Moved to ... + * io/openat64_2.c: ... this new file. + * io/Makefile (routines): Add them. + * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them. + * sysdeps/unix/sysv/linux/open_2.c: File removed. + * sysdeps/unix/sysv/linux/open64_2.c: File removed. + * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed. + * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed. + * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed. + (__openat64): Add hidden_ver. + * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed. + * sysdeps/mach/hurd/openat.c (__openat_2): Removed. + + * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]: + Separately conditionalize setting of GLRO(dl_sysinfo) so + that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO] + as well, but the actual setting is only under [NEED_DL_SYSINFO]. + +2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol. + * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time + definition. + (VDSO_IFUNC_RET): Cast to void * to silence compiler warning. + * sysdeps/unix/sysv/linux/powerpc/init-first.c + (_libc_vdso_platform_setup): Add __vdso_time initialization. + * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation + for PowerPC using vDSO where is avaliable or gettimeofday as a fallback. + +2013-05-03 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to + test signgam value. + + * math/libm-test.inc (hypot_test): Do not use + IGNORE_ZERO_INF_SIGN. + +2013-05-03 Andreas Jaeger <aj@suse.de> + + * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from + Linux 3.9. + * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. + (PF_MAX): Adjust for VSOCK change. + +2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-05-02 Carlos O'Donell <carlos@redhat.com> + + [BZ #15264] + * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. + * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. + * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr. + +2013-05-02 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/fpu/libm-test-ulps: Update. + +2013-05-01 Ondřej Bílka <neleai@seznam.cz> + + * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc. + +2013-05-01 Roland McGrath <roland@hack.frob.com> + + * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros. + +2013-05-01 Richard Smith <richard@metafoo.co.uk> + + [BZ #14952] + * misc/sys/cdefs.h (__extern_inline, __extern_always_inline) + [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: + Use __attribute__ ((__gnu_inline__)). + [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]: + Don't use __attribute__ ((__gnu_inline__)). + +2013-05-01 Joseph Myers <joseph@codesourcery.com> + + [BZ #15423] + * math/s_catan.c (__catan): Handle small real or imaginary part of + input specially to avoid spurious underflow. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-04-30 Joseph Myers <joseph@codesourcery.com> + + [BZ #15416] + * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more + accurately for denominator in atan2. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/ieee754/dbl-64/s_sin.c: Format code. + + * benchtests/Makefile (bench): Remove slow benchmarks. + * benchtests/atan-inputs: Add slow benchmark inputs. + * benchtests/bench-modf.c (NUM_VARIANTS): Define. + (BENCH_FUNC): Accept variant offset. + (VARIANT): Define. + * benchtests/bench-skeleton.c (main): Run benchmark for each + variant. + * benchtests/cos-inputs: Add slow benchmark inputs. + * benchtests/exp-inputs: Likewise. + * benchtests/pow-inputs: Likewise. + * benchtests/sin-inputs: Likewise. + * benchtests/slowatan-inputs: Remove. + * benchtests/slowatan.c: Remove. + * benchtests/slowcos-inputs: Remove. + * benchtests/slowcos.c: Remove. + * benchtests/slowexp-inputs: Remove. + * benchtests/slowexp.c: Remove. + * benchtests/slowpow-inputs: Remove. + * benchtests/slowpow.c: Remove. + * benchtests/slowsin-inputs: Remove. + * benchtests/slowsin.c: Remove. + * benchtests/slowtan-inputs: Remove. + * benchtests/slowtan.c: Remove. + * benchtests/tan-inputs: Add slow benchmark inputs. + * scripts/bench.pl: Parse comments and directives. + + * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION + in CPPFLAGS. + ($(objpfx)bench-%.c): Remove *-ITER. + * benchtests/bench-modf.c: Remove definition of ITER. + * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro. + (main): Loop for DURATION seconds instead of fixed number of + iterations. + * scripts/bench.pl: Don't expect iterations in parameters. + +2013-04-29 Roland McGrath <roland@hack.frob.com> + + * io/fchdir.c (__fchdir): Renamed from fchdir. + (fchdir): Define as weak alias. + +2013-04-29 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (ERRNO_UNCHANGED): New macro. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (noErrnoTests): New variable. + (init_max_error): Set errno to 0. + (test_single_errno): New function. + (test_errno): Likewise. + (check_float_internal): Call test_errno. Set errno to 0. + (check_complex): Refer to errno tests in comment. + (check_int): Call test_errno. Set errno to 0. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (cos_test): Use ERRNO_* flags for errno tests instead of + check_int. + (expm1_test): Likewise. + (fmod_test): Likewise. + (ilogb_test): Likewise. + (lgamma_test): Likewise. + (pow_test): Likewise. + (remainder_test): Likewise. + (sin_test): Likewise. + (tan_test): Likewise. + (yn_test): Likewise. + (initialize): Set errno to 0. + (main): Print number of errno tests. + * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests. + +2013-04-29 Andreas Jaeger <aj@suse.de> + + [BZ #15084] + * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING + and RES_USEVC. + + [BZ #15085] + * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. + * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as + unimplemented. + + [BZ #15380] + * stdlib/random.c (__initstate): Return NULL if + __initstate fails. + + [BZ #15086] + * resolv/res_debug.c (p_option): Handle RES_NOALIASES, + RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, + RES_SNGLKUPREOP. + +2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/fpu/libm-test-ulps: Update. + +2013-04-29 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (cacos_test): Add missing semicolons at ends + of individual tests. + (casin_test): Likewise. + (casinh_test): Likewise. + +2013-04-27 Joseph Myers <joseph@codesourcery.com> + + [BZ #15409] + * math/s_catan.c (__catan): Handle arguments with large real or + imaginary part separately without squaring. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanh.c (__catanh): Likewise. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + (__catanhl): Handle arguments with large real or imaginary part + separately without squaring. + * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine + and redefine. + (__catanl): Handle arguments with large real or imaginary part + separately without squaring. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-27 Andreas Jaeger <aj@suse.de> + + [BZ #15007] + * stdlib/stdlib.h: Update guards for qecvt. + * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with + <stdlib.h>. + +2013-04-27 Allan McRae <allan@archlinux.org> + + * sysdeps/i386/fpu/libm-test-ulps: Update. + +2013-04-26 Joseph Myers <joseph@codesourcery.com> + + [BZ #15406] + * math/s_catan.c: Include <float.h>. + (__catan): Ensure underflow exception occurs for underflowed + result. + * math/s_catanf.c: Include <float.h>. + (__catanf): Ensure underflow exception occurs for underflowed + result. + * math/s_catanh.c: Include <float.h>. + (__catanh): Ensure underflow exception occurs for underflowed + result. + * math/s_catanhf.c: Include <float.h>. + (__catanhf): Ensure underflow exception occurs for underflowed + result. + * math/s_catanhl.c: Include <float.h>. + (__catanhl): Ensure underflow exception occurs for underflowed + result. + * math/s_catanl.c: Include <float.h>. + (__catanl): Ensure underflow exception occurs for underflowed + result. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + + [BZ #15405] + * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for + underflowed result. + * math/s_ccoshf.c (__ccoshf): Likewise. + * math/s_ccoshl.c (__ccoshl): Likewise. + * math/s_csin.c (__csin): Likewise. + * math/s_csinf.c (__csinf): Likewise. + * math/s_csinh.c (__csinh): Likewise. + * math/s_csinhf.c (__csinhf): Likewise. + * math/s_csinhl.c (__csinhl): Likewise. + * math/s_csinl.c (__csinl): Likewise. + * math/libm-test.inc (ccos_test): Add more tests. + (ccosh_test): Likewise. + (csin_test): Likewise. + (csinh_test): Likewise. + +2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ... + * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this. + * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ... + * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this. + * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and + powerpc/power5+/fpu folders. + * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise. + + +2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> + + * sysdeps/x86_64/fpu/libm-test-ulps: Update. + +2013-04-25 Joseph Myers <joseph@codesourcery.com> + + * elf/Makefile [$(config-machine) = x86_64] (tests): Remove + additions to variable. + [$(config-machine) = x86_64] (modules-names): Likewise. + ($(objpfx)tst-audit3): Remove dependency. + ($(objpfx)tst-audit3.out): Likewise. + ($(objpfx)tst-audit4): Likewise. + ($(objpfx)tst-audit4.out): Likewise. + ($(objpfx)tst-audit5): Likewise. + ($(objpfx)tst-audit5.out): Likewise. + ($(objpfx)tst-audit6): Likewise. + ($(objpfx)tst-audit6.out): Likewise. + ($(objpfx)tst-audit7): Likewise. + ($(objpfx)tst-audit7.out): Likewise. + (tst-audit3-ENV): Remove variable. + (tst-audit4-ENV): Likewise. + (tst-audit5-ENV): Likewise. + (tst-audit6-ENV): Likewise. + (tst-audit7-ENV): Likewise. + [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove + addition to variable. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise. + [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise. + * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add + tst-audit3, tst-audit4 and tst-audit5. + [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add + tst-audit6 and tst-audit7. + [$(subdir) = elf] (modules-names): Add audit modules for those + tests. + [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency. + [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise. + [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise. + [$(subdir) = elf] (tst-audit3-ENV): New variable. + [$(subdir) = elf] (tst-audit4-ENV): Likewise. + [$(subdir) = elf] (tst-audit5-ENV): Likewise. + [$(subdir) = elf] (tst-audit6-ENV): Likewise. + [$(subdir) = elf] (tst-audit7-ENV): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS): + Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS). + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod4a.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod4b.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod6b.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod6c.c): Likewise. + [$(subdir) = elf && $(config-cflags-avx) = yes] + (CFLAGS-tst-auditmod7b.c): Likewise. + * elf/tst-audit3.c: Move to ... + * sysdeps/x86_64/tst-audit3.c: ... here. + * elf/tst-audit4.c: Move to ... + * sysdeps/x86_64/tst-audit4.c: ... here. + * elf/tst-audit5.c: Move to ... + * sysdeps/x86_64/tst-audit5.c: ... here. + * elf/tst-audit6.c: Move to ... + * sysdeps/x86_64/tst-audit6.c: ... here. + * elf/tst-audit7.c: Move to ... + * sysdeps/x86_64/tst-audit7.c: ... here. + * elf/tst-auditmod3a.c: Move to ... + * sysdeps/x86_64/tst-auditmod3a.c: ... here. + * elf/tst-auditmod3b.c: Move to ... + * sysdeps/x86_64/tst-auditmod3b.c: ... here. + * elf/tst-auditmod4a.c: Move to ... + * sysdeps/x86_64/tst-auditmod4a.c: ... here. + * elf/tst-auditmod4b.c: Move to ... + * sysdeps/x86_64/tst-auditmod4b.c: ... here. + * elf/tst-auditmod5a.c: Move to ... + * sysdeps/x86_64/tst-auditmod5a.c: ... here. + * elf/tst-auditmod5b.c: Move to ... + * sysdeps/x86_64/tst-auditmod5b.c: ... here. + * elf/tst-auditmod6a.c: Move to ... + * sysdeps/x86_64/tst-auditmod6a.c: ... here. + * elf/tst-auditmod6b.c: Move to ... + * sysdeps/x86_64/tst-auditmod6b.c: ... here. + * elf/tst-auditmod6c.c: Move to ... + * sysdeps/x86_64/tst-auditmod6c.c: ... here. + * elf/tst-auditmod7a.c: Move to ... + * sysdeps/x86_64/tst-auditmod7a.c: ... here. + * elf/tst-auditmod7b.c: Move to ... + * sysdeps/x86_64/tst-auditmod7b.c: ... here. + +2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com> + + [BZ #15366] + * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.): + define unconditionally. + * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.): + define unconditionally. + (INT8_C, INT16_C, etc.): Likewise. + +2013-04-25 Maciej W. Rozycki <macro@codesourcery.com> + + * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare + __ehdr_start with hidden visibility. + + * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment. + +2013-04-24 Carlos O'Donell <carlos@redhat.com> + + * math/libm-test.inc (cos_test): Use accurate hex constants. + (sincost_test): Likewise. + +2013-04-24 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + + * math/s_catanf.c (__catanf): Use suffixed floating-point + constants. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/s_catanl.c (__catanl): Likewise. + + [BZ #15394] + * math/s_catan.c (__catan): Calculate imaginary part of result + with log1p not log unless computing log of number close to 0. + * math/s_catanf.c (__catanf): Likewise. + * math/s_catanl.c (__catanl): Likewise. + * math/s_catanh.c (__catanh): Calculate real part of result with + log1p not log unless computing log of number close to 0. + * math/s_catanhf.c (__catanhf): Likewise. + * math/s_catanhl.c (__catanhl): Likewise. + * math/libm-test.inc (catan_test): Add more tests. + (catanh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile: Mention files in which fast and slow + paths of math functions are implemented. + +2013-04-23 Roland McGrath <roland@hack.frob.com> + + * sysdeps/posix/timespec_get.c: New file. + +2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for + POWER. + * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization + for POWER. + * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and + powerpc/power5/fpu folders. + * sysdeps/powerpc/powerpc32/power5/Implies: Likewise. + * benchtests/Makefile: Add modf testcase. + * benchtests/bench-modf.c: New file: Benchmark test for mo + +2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #14888] + * time/Makefile (tests): Add tst-strptime-whitespace. + * time/strptime_l.c (get_number): Use ISSPACE. + (__strptime_internal): Likewise. + * time/tst-strptime-whitespace.c: New test case. + +2013-04-23 Andreas Schwab <schwab@linux-m68k.org> + + * nss/nss_files/files-init.c (TF): Don't initialize flexible array + member. + (_nss_files_init): Set it here. + +2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com> + + * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of + f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to + unsigned. + +2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de> + + * nss/getent.c (shadow_keys): Call endspent, not endpwent. + +2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results + size just once. + +2013-04-21 David S. Miller <davem@davemloft.net> + + * po/ru.po: Update Russion translation from translation project. + +2013-04-17 Adam Conrad <adconrad@0c3.net> + + * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid + and setfsgid. + +2013-04-17 Carlos O'Donell <carlos@redhat.com> + + * configure.in: Remove i386 configure warning. Remove i386 case. + * configure: Regenerate. + * sysdeps/i386/configure.in: Raise error if config_machine is i386. + Add example to error message. + * sysdeps/i386/configure: Regenerate. + +2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile (bench): Add cos, tan, slowcos and + slowtan. + * benchtests/cos-inputs: New file. + * benchtests/slowcos-inputs: New file. + * benchtests/slowcos.c: New file. + * benchtests/slowtan-inputs: New file. + * benchtests/slowtan.c: New file. + * benchtests/tan-inputs: New file. + +2013-04-16 Roland McGrath <roland@hack.frob.com> + + * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now + considered kosher. + +2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile: Include cppflags-iterator.mk to add + -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs. + + * Makefile.in (bench-clean): New target. + * benchtests/Makefile (bench-clean): Likewise. + +2013-04-16 David Holsgrove <david.holsgrove@xilinx.com> + + * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations. + +2013-04-15 Thomas Schwinge <thomas@codesourcery.com> + + * stdio-common/tstdiomisc.c: Fix coding-style violation. + +2013-04-15 Andreas Schwab <schwab@suse.de> + + * nscd/grpcache.c (cache_addgr): Properly check for short write. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. Don't write + more than recsize. + +2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Makefile (bench): Write all output to + bench-out.tmp together. + +2013-04-15 Andreas Schwab <schwab@suse.de> + + * nscd/nscd.c (main): Don't fork again after closing files. + +2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com> + + * libio/tst-fwrite-error.c (do_test): Fix BUF array definition. + + * benchtests/Rules (bench-deps): Collect dependencies into a + single variable. Add Makefile to dependencies. + ($(objpfx)bench-%.c): Depend on bench-deps. + +2013-04-12 Roland McGrath <roland@hack.frob.com> + Xavier Roche <roche+kml2@exalead.com> + + [BZ #15361] + * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes, + just that it's a file descriptor. + * manual/llio.texi (Synchronizing AIO Operations): Update description + for EBADF error from aio_fsync. + +2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com> + + * Rules (bench): Move target definition... + * benchtests/Makefile: ... here. + +2013-04-11 Carlos O'Donell <carlos@redhat.com> + + * math/libm-test.inc (cos_test): Fix PI/2 test. + (sincos_test): Likewise. + * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate. + * sysdeps/i386/fpu/libm-test-ulps: Regenerate. + +2013-04-11 Andreas Schwab <schwab@suse.de> + + [BZ #13988] + * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float + accept exponent character only when digits were seen. + * stdio-common/Makefile (tests): Add bug26. + * stdio-common/bug26.c: New file. + + [BZ #14293] + * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as + non-freeable. + +2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com> + + * Makeconfig (rtld-prefix): Define built linker prefix. + * Rules (run-bench): Use it. + * math/Makefile (run-regen-ulps): Likewise. + + * Rules (bench): Remove eval. + +2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com> + Roland McGrath <roland@hack.frob.com> + Ondrej Bilka <neleai@seznam.cz> + + [BZ #15346] + * time/getdate.c: Include ctype.h and alloca.h. + (__getdate_r): Trim leading and trailing spaces of input. + * time/tst-getdate.c (tests): Add tests with leading and + trailing spaces. + +2013-04-08 Roland McGrath <roland@hack.frob.com> + + [BZ #14280] + * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum + when computing value. + +2013-04-06 Carlos O'Donell <carlos@redhat.com> + + * math/README.libm-test (How can I generate "libm-test-ulps"?): + Use testrun.sh to run libm tests. + + [BZ #15309] + * elf/dl-open.c (dl_open_worker): memset all of seen array. + +2013-04-06 Marko Myllynen <myllynen@redhat.com> + + [BZ #15264] + * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr. + +2013-04-06 Carlos O'Donell <carlos@redhat.com> + + * Makefile.in (regen-ulps): New target. + * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY. + [ifneq (no,$(PERL)] (run-regen-ulps): New variable. + [ifneq (no,$(PERL)] (regen-ulps): New target. + [ifeq (no,$(PERL)] (regen-ulps): New target. + * math/libm-test.inc (ulps_file_name): Define. + (output_dir): New variable. + (options): Add "output-dir" option. + (parse_opt): Handle 'o' case. + (main): If output_dir is non-NULL use it as a prefix + otherwise use "". + * math/README.libm-test: Update `How can I generate "libm-test-ulps"?' + +2013-04-06 Carlos O'Donell <carlos@redhat.com> + + [BZ #10060, #10062] + * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro. + * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and + fail configure if __sync_val_compare_and_swap is not inlined. + * sysdeps/i386/configure: Regenerate. + * configure.in: Build for i686 when configured for i386. + * configure: Regenerate. + * README: Remove i386 reference. + +2013-04-06 Carlos O'Donell <carlos@redhat.com> + + * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. + * sysdeps/s390/s390-64/sysdep.h: Likewise. + +2013-04-05 Thomas Schwinge <thomas@codesourcery.com> + + * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval) + (lmsnanval): New variables. + (F): Add conversion tests. + * stdlib/tst-strtod6.c (do_test): Add issignaling tests. + * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm). + + * stdio-common/tstdiomisc.c (F): Properly collect individual + tests' results. + + [BZ #14686, #15336] + * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions. + * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): + Instead, use input NaN values or generate a qNaN by arithmetic + operation. Also fix bugs to comply with the standard. + * math/libm-test.inc (remainder_test): Add more tests. + + [BZ #15335, #15342] + * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions. + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use + input NaN values or generate a qNaN by arithmetic operation. + + * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove + unreachable code. + + * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused + definitions. + +2013-04-03 Joseph Myers <joseph@codesourcery.com> + + [BZ #14478] + * math/s_cexp.c (__cexp): Ensure underflow exception occurs for + underflowed result. + * math/s_cexpf.c (__cexpf): Likewise. + * math/s_cexpl.c (__cexpl): Likewise. + * math/libm-test.inc (cexp_test): Add more tests. + +2013-04-03 Andreas Schwab <schwab@suse.de> + + [BZ #15330] + * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and + order arrays from heap if bigger than alloca cutoff. + +2013-04-03 Thomas Schwinge <thomas@codesourcery.com> + + * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float) + (SNAN_TESTS_double): Refer to GCC PR56831. + * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to + GCC PR56828. + +2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com> + + * Rules (bench): Move bench.out after the run is complete. + + * Rules (bench): Echo currently running benchmark. + + * benchtests/Makefile (bench): Add atan and slowatan. + * benchtests/atan-inputs: New file. + * benchtests/slowatan-inputs: New file. + * benchtests/slowatan.c: New file. + + * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with + its value. + + [BZ #15305] + * sysdeps/unix/sysv/linux/kernel-features.h + [__LINUX_KERNEL_VERSION >= 0x02061d]: Define + __ASSUME_XFS_RESTRICTED_CHOWN. + * sysdeps/unix/sysv/linux/pathconf.c + (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]: + Save and restore errno. + +2013-04-02 Joseph Myers <joseph@codesourcery.com> + + [BZ #15327] + * math/s_cacosh.c (__cacosh): Implement for finite nonzero + arguments using __kernel_casinh. + * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero + arguments using __kernel_casinhf. + * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero + arguments using __kernel_casinhl. + * math/libm-test.inc (cacosh_test): Add more tests. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t. + + * bench/Makefile (bench): Add sin and slowsin. + * benchtests/sin-inputs: New file. + * benchtests/slowsin-inputs: New file. + * benchtests/slowsin.c: New file. + + * benchtests/Makefile: Add benchmarks for slowpow and slowexp. + (bench): Add slowexp and slowpow. + (exp-ITER): Increase iterations. + (pow-ITER): Likewise. + * benchtests/exp-inputs: Change input. + * benchtests/pow-inputs: Likewise. + * benchtests/slowexp-inputs: New file. + * benchtests/slowexp.c: New file. + * benchtests/slowpow-inputs: New file. + * benchtests/slowpow.c: New file. + +2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction + instructions. + * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. + * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. + * benchtests/Makefile: Add rint benchtest. + * benchtests/rint-inputs: Input for rint benchtest. + +2013-04-02 Thomas Schwinge <thomas@codesourcery.com> + + * Versions.def (libm): Add GLIBC_2.18. + * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add + hidden libm prototypes. + [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise. + * math/Makefile (libm-calls): Add s_issignaling. + * math/Versions (libm: GLIBC_2.18): Add __issignaling, + __issignalingf, __issignalingl. Adjust all libm.abilist files. + * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype + declaration. + * math/math.h [__USE_GNU] (issignaling): New macro. + * sysdeps/ieee754/flt-32/s_issignalingf.c: New file. + * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise. + * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise. + * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise. + * manual/arith.texi (issignaling): New section. + * manual/libm-err-tab.pl (@all_functions): Update comment. + * math/gen-libm-test.pl (parse_args): Apply special handling for + issignaling. + * math/libm-test.inc (print_float, issignaling_test): New + functions. + (check_float_internal): Add issignaling checks. + * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide + default definition. + * sysdeps/powerpc/math-tests.h: New file. + * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling + tests. + * math/test-snan.c (TEST_FUNC): Likewise. + +2013-03-30 David S. Miller <davem@davemloft.net> + + * po/de.po: Update from translation team. + +2013-03-30 Joseph Myers <joseph@codesourcery.com> + + [BZ #10357] + * math/k_casinh.c (__kernel_casinh): Handle arguments with + imaginary part less than 1.0 and real part less than 0.5 + specially. + * math/k_casinhf.c (__kernel_casinhf): Likewise. + * math/k_casinhl.c (__kernel_casinhl): Likewise. + * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro. + (cacos_test): Add more tests. + (casin_test): Likewise. + (casinh_test): Likewise. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. + +2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com> + + * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace + ONE with its value. + + * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines. + (__pow_mp): Replace ONE and MONE with their values. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. + * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. + * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise. + + * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting. + + * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines. + (__pow_mp): Replace ZERO and MZERO with their values. + * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise. + * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise. + * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise. + * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise. + * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise. + * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise. + (__sqr): Likewise. + + * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting. + + * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting. + +2013-03-28 Roland McGrath <roland@hack.frob.com> + + * include/stdlib.h [!SHARED] (__call_tls_dtors): + Declare with __attribute__ ((weak)). + * stdlib/exit.c (__libc_atexit) [!SHARED]: + Call __call_tls_dtors only if it's not NULL. + 2013-03-28 Roland McGrath <roland@hack.frob.com> + * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init + didn't do it already, then set _dl_phdr and _dl_phnum based on the + magic __ehdr_start linker symbol if it's defined. + * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set + them up here if it was already done. + + * elf/dl-support.c (_dl_phdr): Make pointer to const. + (_dl_aux_init): Use const in cast when setting it. + * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast. + * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl. + * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const. + + * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum): + Declare them here. + * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here. + * csu/libc-tls.c: Nor here. + * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here. + * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>. (__libc_message): Never call vsyslog. @@ -9767,6 +12781,7 @@ 2012-07-31 Roland McGrath <roland@hack.frob.com> + [BZ #10191] * include/sys/socket.h (__libc_accept, __libc_accept4): Add attribute_hidden. * socket/accept4.c (__libc_accept4): Remove libc_hidden_def. |