]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
iconvdata: Add missing const to lookup table definitions
[thirdparty/glibc.git] / ChangeLog
index f37d5b9b46b01f85be0fbc476a4345c4264717a3..e1761b946bde3bda5d3c8e14bfc66443e7688226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,297 @@
+2015-10-07  Florian Weimer  <fweimer@redhat.com>
+
+       * iconvdata/cp737.h (from_idx): Add const.
+       * iconvdata/cp775.h (from_idx): Likewise.
+
+2015-10-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
+       (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
+
+       [BZ #19079]
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
+       file, conditioned on [!_LP64].
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
+       [!_LP64] (__lround): Do not define as function or alias.
+       [!_LP64] (lround): Likewise.
+       [!_LP64] (__lroundl): Likewise.
+       [!_LP64] (lroundl): Likewise.
+       * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
+       macro.
+       * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
+       Likewise.
+
+2015-10-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/libm-test.inc (lrint_test_data): Add more tests.
+       (llrint_test_data): Likewise.
+       (lround_test_data): Likewise.
+       (llround_test_data): Likewise.
+
+       * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
+       (llrint_test_data): Add tests used for lrint.
+
+       * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
+       test.
+       * sysdeps/i386/configure: Regenerated.
+       * sysdeps/i386/i686/multiarch/Makefile
+       [$(config-cflags-sse4) = yes]: Make code unconditional.
+       * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
+       Likewise.
+       * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
+       Likewise.
+       * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
+       test.
+       * sysdeps/x86_64/configure: Regenerated.
+       * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
+       Make code unconditional.
+       * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
+       Likewise.
+       * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
+       * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
+
+       * scripts/rpm2dynsym.sh: Remove file.
+
+2015-10-06  Florian Weimer  <fweimer@redhat.com>
+
+       * configure.ac (libc_cv_cxx_thread_local): Define.
+       * configure: Regenerate.
+       * config.make.in (have-cxx-thread_local): Define.
+       * nptl/Makefile (CFLAGS-tst-thread_local1.o):
+       (LDLIBS-tst-thread_local1): Define.
+       (tests): Add tst-thread_local1.
+       [have-cxx-thread_local != yes] (tests-unsupported): Add
+       tst-thread_local1.
+       * nptl/tst-thread_local1.cc: New file.
+
+2015-10-06  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #19078]
+       * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
+       (u_thres): Likewise.
+       (__expl): Determine whether to call __kernel_standard_l based on
+       value of result, not argument.
+
+       * math/libm-test.inc (scalb_test_data): Add more expectations for
+       the "inexact" exception.
+
+       [BZ #19077]
+       * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
+       0.0L for argument 1.0L.
+
+       [BZ #19076]
+       * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
+       constant 0.0L when computing infinite result.
+
+2015-10-06  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #10432]
+       * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
+       malloc_usable_size.
+
+2015-10-06  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #19018]
+       * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
+       Mangle function pointer before storing it.
+       (__call_tls_dtors): Demangle function pointer before calling it.
+
+2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #19012]
+       * iconv/gconv_db.c (gen_steps): Check for additional errors.
+       Clean up on failure.
+
+2015-10-05  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #19071]
+       * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
+       long int variable to store possibly incremented high part of
+       mantissa.
+       * math/libm-test.inc (lround_test_data): Add tests used for
+       llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
+       for tests requiring 64-bit long.  Do not condition tests on
+       [TEST_FLOAT] unnecessarily.
+       (llround_test_data): Add tests used for lround.  Add another
+       expectation for the "inexact" exception.  Do not condition tests
+       on [TEST_FLOAT] unnecessarily.
+
+       [BZ #887]
+       [BZ #19049]
+       [BZ #19050]
+       * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
+       * sysdeps/ieee754/dbl-64/e_log10.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/dbl-64/e_log2.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/dbl-64/s_erf.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/dbl-64/s_logb.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/flt-32/e_log10f.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/flt-32/e_log2f.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/flt-32/s_erff.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/flt-32/s_logbf.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
+       <fix-int-fp-convert-zero.h>.
+       (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
+       * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
+       * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
+       * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
+       file.
+       * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
+
+2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
+
+2015-10-02  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #19059]
+       * math/s_nexttowardf.c (__nexttowardf): Do not return value from
+       overflowing computation.
+       * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
+       * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
+       Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
+       Likewise.
+       * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
+       * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
+       Likewise.
+       * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
+       Likewise.
+       * math/libm-test.inc (nexttoward_test_data): Add more tests.
+
+       * nss/rewrite_field.c (__nss_rewrite_field): Use
+       internal_function.
+       * nss/valid_field.c (__nss_valid_field): Likewise.
+       * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
+
+2015-10-02  Florian Weimer  <fweimer@redhat.com>
+
+       [BZ #18724]
+       * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
+       (__nss_invalid_field_characters, __nss_valid_field)
+       (__nss_valid_list_field, __nss_rewrite_field): Declare.
+       * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
+       tst-field.c: New file.
+       * nss/Makefile (routines): Add valid_field, rewrite_field.
+       (tests-static): Define unconditionally.
+       (tests): Include tests-static.
+       [build-static-nss] (tests-static): Use append.
+       [build-static-nss] (tests): Remove modification.
+       * nss/getent.c (print_group): Call putgrent.  Report error.
+       (print_gshadow): Call putsgent.  Report error.
+       (print_passwd): Call putpwent.  Report error.
+       (print_shadow): Call putspent.  Report error.
+       * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
+       * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
+       * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
+       name, password, directory, shell fields for valid syntax.  Rewrite
+       GECOS field to match syntax.
+       * pwd/Makefile (tests): Add tst-putpwent.
+       * pwd/tst-putpwent.c: New file.
+       * grp/putgrent.c (putgrent): Convert to ISO function definition.
+       Check grName, grpasswd, gr_mem fields for valid syntax.
+       Change loop variable i to size_t.
+       * grp/Makefile (tests): Add tst-putgrent.
+       * grp/tst-putgrent.c: New file.
+       * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
+       valid syntax.
+       * shadow/Makefile (tests): Add tst-putspent.
+       * shadow/tst-putspent.c: New file.
+       * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
+       sg_mem fields for valid syntax.
+       * gshadow/Makefile (tests): Add tst-putsgent.
+       * gshadow/tst-putsgent.c: New file.
+
+2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
+       assembly instructions.
+
+2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
+       prefix from operands.
+
+2015-10-01  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #16347]
+       [BZ #19046]
+       * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
+       <libc-internal.h>.
+       (MAXLGM): Do not use diagnostic control macros.
+       [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
+       threshold for ldbl-128ibm.
+       (__ieee754_lgammal_r): For large arguments, multiply by log - 1
+       instead of multiplying by log then subtracting.
+       * math/auto-libm-test-in: Add more tests of lgamma.
+       * math/auto-libm-test-out: Regenerated.
+
+       * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
+       (TYPE_HEX_DIG): Likewise.
+       (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
+       precisions when printing floating-point numbers.
+       (check_float_internal): Likewise.
+
+2015-09-30  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #16620]
+       * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
+       of log (10) rounded downward to 48 bits.
+       (log10_low): Use corresponding low part of log (10).
+
+       [BZ #19032]
+       * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
+       compute result as (x - x) / (x - x) not as 0 / 0.
+       * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
+       * math/libm-test.inc (acosh_test_data): Add another test of acosh.
+
+       * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
+       atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
+       and expm1.
+       * math/auto-libm-test-out: Regenerated.
+       * math/libm-test.inc (acos_test_data): Add more tests.
+       (asin_test_data): Likewise.
+       (asinh_test_data): Likewise.
+       (atan_test_data): Likewise.
+       (atanh_test_data): Likewise.
+       (atan2_test_data): Likewise.
+       (cbrt_test_data): Likewise.
+       (ceil_test_data): Likewise.
+       (copysign_test_data): Likewise.
+       (cos_test_data): Likewise.
+       (cosh_test_data): Likewise.
+       (erf_test_data): Likewise.
+       (erfc_test_data): Likewise.
+       (exp_test_data): Likewise.
+       (exp10_test_data): Likewise.
+       (exp2_test_data): Likewise.
+       (expm1_test_data): Likewise.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #19006]