]> sourceware.org Git - glibc.git/blobdiff - ChangeLog
Fix ldbl-128ibm asinhl inaccuracy (bug 18020).
[glibc.git] / ChangeLog
index 50adb3cbb31252a90df6b2335472eeaee6b85ec0..296f5e863054a4493de9a13f572b907b4bbe82d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,421 @@
+2015-02-25  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18020]
+       * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
+       2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
+       * math/auto-libm-test-in: Add more tests of asinh.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
+
+       [BZ #15850]
+       * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
+       and ip6_mtuinfo definitions here.
+       * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
+       in this define too.  Update comment.
+
+2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
+
+       * elf/sprof.c (load_shobj): Tweak error message to match others.
+
+2015-02-24  Kevin Easton  <kevin@guarana.org>
+
+       [BZ #16145] (partial fix)
+       * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
+       to reduce lock contention.
+
+2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
+
+       * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
+       (struct timex): Update time comment.
+       (ADJ_SETOFFSET): Define.
+
+2015-02-24  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18019]
+       * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
+       2**56 not 2**28 as threshold for log (2x) formula.
+       * math/auto-libm-test-in: Add more tests of acosh.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2015-02-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
+       parenthesis around the buf assignment.
+       [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
+
+2015-02-24  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #16783]
+       * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
+       arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
+       * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
+       * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
+       * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
+       * math/libm-test.inc (scalb_test_data): Add more tests.
+
+2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #17916]
+       * libio/fileops.c (_IO_new_file_fopen): Limit stack use
+       * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
+
+2015-02-24  Eric Rannaud  <e@nanocritical.com>
+
+       [BZ #17523]
+       * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
+       * io/bits/fcntl2.h (open): Use it.
+       (openat): Likewise.
+       * io/open.c (__libc_open): Likewise.
+       * io/open64.c (__libc_open64): Likewise.
+       * io/open64_2.c (__open64_2): Likewise.
+       * io/open_2.c (__open_2): Likewise.
+       * io/openat.c (__openat): Likewise.
+       * io/openat64.c (__openat64): Likewise.
+       * io/openat64_2.c (__openat64_2): Likewise.
+       * io/openat_2.c (__openat_2): Likewise.
+       * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
+       * sysdeps/mach/hurd/openat.c (__openat): Likewise.
+       * sysdeps/posix/open64.c (__libc_open64): Likewise.
+       * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
+       * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
+       (__open_nocancel): Likewise.
+       * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
+       * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
+       * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
+
+2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       [BZ #14841]
+       * resolv/gethnamaddr.c (getanswer): Skip logging if
+       RES_USE_DNSSEC is set.
+       * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
+
+2015-02-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
+
+2015-02-23  Alexandre Oliva <aoliva@redhat.com>
+
+       * include/stdc-predef.h (__STDC_ISO_10646__): Update to
+       201304L, for Unicode 7.
+
+2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #17836]
+       * csu/Makefile (extra-objs): Add gmon-start.o if not builing
+       shared library.  Add gmon-start.os otherwise.
+       ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
+       $(objpfx)gmon-start.os if builing shared library.
+       ($(objpfx)g$(static-start-installed-name)): Likewise.
+
+2015-02-23  Andreas Schwab  <schwab@suse.de>
+
+       * elf/Makefile (CFLAGS-tst-audit2.c): Define.
+
+2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #17269]
+       * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
+       (enlarge_userbuf): Likewise.
+
+2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * libio/tst-memstream2.c (TIMEOUT): Define as 100.
+       * math/atest-exp.c (TIMEOUT): Adjust to 200.
+       * math/atest-exp2.c (TIMEOUT): Adjust to 300.
+       * math/atest-sincos.c (TIMEOUT): Adjust to 600.
+
+2015-02-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
+       expression inside statement expression.
+
+2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
+       <sysdeps/nptl/lowlevellock.h> and remove macros and
+       functions that are now defined there.
+       (SYS_futex): Remove.
+       (lll_compare_and_swap): Remove.
+       * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
+
+2015-02-19  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17999]
+       * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
+       instead of scandirat.
+       * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
+       [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
+       [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
+       __scandirat.
+       * include/dirent.h (scandirat): Do not use libc_hidden_proto.
+       (__scandirat): Declare.  Use libc_hidden_proto.
+       * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
+       Remove variable.
+       (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
+
+2015-02-18  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #15319]
+       * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
+       (MO): New macro.
+       (__ieee754_atan2): For results with small absolute value, force
+       underflow exception and remove excess range and precision from
+       return value.
+       * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
+       (MO): New macro.
+       (__ieee754_atan2f): For results with small absolute value, force
+       underflow exception and remove excess range and precision from
+       return value.
+       * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
+       (MO): New macro.
+       (__atan): For results with small absolute value, force underflow
+       exception and remove excess range and precision from return value.
+       * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
+       (MO): New macro.
+       (__atanf): For results with small absolute value, force underflow
+       exception and remove excess range and precision from return value.
+       * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
+       <math.h>.
+       (__ieee754_atan2): Force underflow exception for results with
+       small absolute value.
+       * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
+       <math_private.h>.
+       (atan): Force underflow exception for results with small absolute
+       value.
+       * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
+       (__atanf): Force underflow exception for results with small
+       absolute value.
+       * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
+       <math.h>.
+       (__atanl): Force underflow exception for results with small
+       absolute value.
+       * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
+       (__atanl): Force underflow exception for results with small
+       absolute value.
+       * sysdeps/x86/fpu/bits/mathinline.h
+       [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
+       (__ieee754_atan2): Only define inline for long double.
+       * sysdeps/x86_64/fpu/multiarch/e_atan2.c
+       [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
+       * math/auto-libm-test-in: Do not mark underflow exceptions as
+       possibly missing for bug 15319.  Add more tests of atan2.
+       * math/auto-libm-test-out: Regenerated.
+       * math/libm-test.inc (casin_test_data): Do not mark underflow
+       exceptions as possibly missing for bug 15319.
+       (casinh_test_data): Likewise.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
+       * sysdeps/mips/bits/endian.h: Fix comments.
+
+2015-02-18  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17996]
+       * include/search.h (hcreate_r): Don't use libc_hidden_proto.
+       (hdestroy_r): Likewise.
+       (hsearch_r): Likewise.
+       (__hcreate_r): Declare and use libc_hidden_proto.
+       (__hdestroy_r): Likewise.
+       (__hsearch_r): Likewise.
+       * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
+       (hcreate): Call __hcreate_r instead of hcreate_r.
+       (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
+       * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
+       as weak alias of __hcreate_r.
+       (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
+       __hdestroy_r.
+       (hsearch_r): Rename to __hsearch_r and define as weak alias of
+       __hsearch_r.
+       * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
+       Remove variable.
+       (test-xfail-XPG4/search.h/linknamespace): Likewise.
+       (test-xfail-UNIX98/search.h/linknamespace): Likewise.
+       (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
+       (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
+
+2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
+       arena_lock into a single arena_get.
+
+2015-02-17  Carlos O'Donell  <carlos@redhat.com>
+
+       * dl-reloc.c: Inlucde libc-internal.h.
+       (_dl_try_allocate_static_tls): Call ALIGN_UP.
+       (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
+       (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
+       * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
+       (grow_heap): Likewise.
+       * malloc/malloc.c: Include libc-internal.h.
+       (do_check_malloc): Call powerof2.
+       (sysmalloc): Use pagesize. Call ALIGN_UP.
+       (systrim): Use pagesize.
+       (mremap_chunk): Use pagesize. Call ALIGN_UP.
+       (__libc_valloc): Use pagesize.
+       (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
+
+2015-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17991]
+       * include/sys/resource.h (__getrlimit64): Declare.  Use
+       libc_hidden_proto.
+       * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
+       and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
+       * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
+       getrlimit64.
+       * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
+       __getrlimit64.
+       [!getrlimit64] (getrlimit64): Define as weak alias of
+       __getrlimit64.  Use libc_hidden_weak.
+       * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
+       using __getrlimit64 not __new_getrlimit64.
+       (__GI_getrlimit64): Likewise.
+       * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
+       Likewise.
+       (__GI_getrlimit64): Likewise.
+       (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
+       (getrlimit): Add __getrlimit64 alias.
+       * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
+       Likewise.
+       * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
+       Remove variable.
+       (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
+       (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
+
+2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * libio/fileops.c: Add missing sys/mman.h
+       * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
+
+2015-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * manual/math.texi (Errors in Math Functions): Clarify goals
+       regarding inexact and underflow exceptions.
+
+2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
+       * sysdeps/mips/memset.S: Ditto.
+
+2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
+
+2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
+       (__v1longjmp): Remove versioned symbol.
+       (__v1siglongjmp): Remove alias and versioned symbol.
+       (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
+       (__v2siglongjmp): Likewise.
+
+2015-02-16  Torvald Riegel  <triegel@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
+
+2015-02-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
+
+2015-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17987]
+       * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
+       zero result does not depend on the sign resulting from
+       subtraction.
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
+       Likewise.
+       * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
+       * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
+       * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
+       * math/libm-test.inc (remquo_test_data): Add more tests.
+
+2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
+       Problem reported by J William Piggott.
+
+2015-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17978]
+       * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
+       products 4 * y and 2 * y where those would overflow.
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
+       Likewise.
+       * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
+       * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
+       * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
+       * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
+       * math/libm-test.inc (remquo_test_data): Add more tests.
+
+       * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
+
+       * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
+       [defined _COMPILING_NEWLIB].
+       * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
+       * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
+
+       * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
+       [!defined __mips_isa_rev || __mips_isa_rev < 6].
+
+2015-02-16  Torvald Riegel  <triegel@redhat.com>
+
+       * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
+       acquired.
+
+2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
+
+       [BZ #17792]
+       * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
+       (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
+       HOST_STACK_END_ADDR): Likewise.
+
+2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
+       * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
+       * sysdeps/mips/memset.S (__MIPSEB): Ditto.
+
+2015-02-13  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/generic/c++-types.data: New file.
+       * sysdeps/generic/ld.abilist: New file.
+       * sysdeps/generic/libBrokenLocale.abilist: New file.
+       * sysdeps/generic/libanl.abilist: New file.
+       * sysdeps/generic/libc.abilist: New file.
+       * sysdeps/generic/libcrypt.abilist: New file.
+       * sysdeps/generic/libdl.abilist: New file.
+       * sysdeps/generic/libm.abilist: New file.
+       * sysdeps/generic/libpthread.abilist: New file.
+       * sysdeps/generic/libresolv.abilist: New file.
+       * sysdeps/generic/librt.abilist: New file.
+
+2015-02-13  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17569]
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
+       Compute absolute value of x as modified by fmod, not original
+       value of x.
+       * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
+       RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
+       (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
+       RUN_TEST_ffI_f1_mod8.
+       (remquo_test_data): Add more tests.
+
+2015-02-13  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/init_array/pt-crti.S: New file.
+
 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #17967]
This page took 0.096259 seconds and 5 git commands to generate.