]> sourceware.org Git - glibc.git/blobdiff - ChangeLog
Merge commit '9904dc47c88d9592ec66e599075436'
[glibc.git] / ChangeLog
index 03b77954b3fc9d58598ddbeb0a6dc9e778885650..cede7b8ee3bf62dcad6485df950cf5515de1523c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,383 @@
+2012-04-09  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #13872]
+       * sysdeps/i386/fpu/e_powl.S (p78): New object.
+       (__ieee754_powl): Saturate large exponents rather than testing for
+       overflow of y*log2(x).
+       * sysdeps/x86_64/fpu/e_powl.S: Likewise.
+       * math/libm-test.inc (pow_test): Do not permit spurious overflow
+       exceptions.
+
+       [BZ #11521]
+       * math/s_ctan.c: Include <float.h>.
+       (__ctan): Avoid internal overflow or cancellation in calculating
+       denominator.
+       * math/s_ctanf.c: Likewise.
+       * math/s_ctanl.c: Likewise.
+       * math/s_ctanh.c: Likewise.
+       * math/s_ctanhf.c: Likewise.
+       * math/s_ctanhl.c: Likewise.
+       * math/libm-test.inc (ctan_test): Add more tests.
+       (ctanh_test): Likewise.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
+
+2012-04-09  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #6894]
+       * manual/filesys.texi (Directory Entries): Mention that d_namlen
+       is an optional BSD extension.
+
+       [BZ #10254]
+       * manual/stdio.texi (Opening Streams): Document additional fopen
+       parameters.
+
+2012-04-09  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
+       %eax without telling the compiler.
+
+2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       [BZ # 13963]
+       * manual/install.texi: Use sourceware.org.
+
+2012-04-09  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #13873]
+       * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
+       (__ieee754_pow): Generate overflow and underflow using huge*huge
+       and tiny*tiny rather than just returning constant infinity or zero
+       for large exponents.
+       * math/libm-test.inc (pow_test): Require overflow exceptions for
+       applicable cases of large exponents.
+
+       [BZ #706]
+       * sysdeps/i386/fpu/e_pow.S (p10): New object.
+       (__ieee754_pow): Use iterative multiplication algorithm only for
+       integer exponents with absolute value below 1024.  Check for odd
+       integer exponents when using algorithm for real exponents.
+       * math/libm-test.inc (pow_test): Add more tests.
+       * sysdeps/x86_64/fpu/libm-test-ulps: Update.
+
+2012-04-08  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #13705]
+       * math/libm-test.inc (exp_test): Do not allow overflow exception
+       on underflow test.
+
+2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
+
+       [BZ #13705]
+       * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
+       instead of __kernel_standard_f.
+
+2012-04-08  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/i386/i686/memset_chk.S: Update copyright year.
+       * sysdeps/x86_64/memset_chk.S: Likewise.
+
+2012-04-08  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #10153]
+       * manual/startup.texi (Environment Access): Describe return value
+       for putenv and setenv.
+
+       [BZ #6895]
+       * manual/filesys.texi (Directory Entries): Add description for
+       DT_LNK.
+
+       [BZ #6890]
+       * manual/filesys.texi (Directory Entries): Clarify that it's file
+       system not operating system in the description of DT_UNKNOWN.
+
+       [BZ #6578]
+       * manual/syslog.texi (closelog): Fix reference, it's openlog.
+
+2012-04-08  Stephen Compall  <s11@member.fsf.org>
+
+       [BZ #6649]
+       * manual/llio.texi (Opening and Closing Files): Add cross
+       reference to explain mode argument.
+
+2012-04-07  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
+       * sysdeps/x86_64/memset_chk.S: Likewise.
+
+2012-04-07  David S. Miller  <davem@davemloft.net>
+
+       * elf/elf.h (R_SPARC_WDISP10): Define.
+       * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
+       R_SPARC_SIZE32.
+       * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
+       R_SPARC_SIZE64 and R_SPARC_H34.
+
+2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
+
+       * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
+       conditions and remove no longer applicable assertion.
+
+2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bits/byteswap.h: Include <features.h>.
+       (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
+       (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
+
+2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bits/byteswap.h (__bswap_16): Removed.
+       Include <bits/byteswap-16.h> to get __bswap_16.
+       * sysdeps/i386/bits/byteswap.h: Likewise.
+       * sysdeps/s390/bits/byteswap.h: Likewise.
+       * sysdeps/x86_64/bits/byteswap.h: Likewise.
+       * bits/byteswap-16.h: New file.
+       * sysdeps/i386/bits/byteswap-16.h: Likewise.
+       * sysdeps/s390/bits/byteswap-16.h: Likewise.
+       * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
+       * string/Makefile (headers): Add bits/byteswap-16.h.
+
+2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       [BZ #13895]
+       * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
+       extra indirection.
+       * nss/Makefile (tests-static, tests): Add tst-nss-static.
+       * nss/tst-nss-static.c: New.
+
+2012-04-06  Robert Millan  <rmh@gnu.org>
+
+       [BZ #6486]
+       * manual/llio.texi (File Position Primitive): lseek
+       refers to WHENCE when it really means OFFSET.
+
+2012-04-06  Andreas Jaeger  <aj@suse.de>
+
+       * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
+       strncmp declarations.
+
+       * abilist/libc.abilist: Add __poll and __ppoll.
+
+2012-04-05  David S. Miller  <davem@davemloft.net>
+
+       * scripts/check-local-headers.sh: Accept a host triplet in the
+       path matched by the exclude regexp.
+
+       * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
+       definition.
+       * sysdeps/powerpc/powerpc32/dl-machine.h
+       (ELF_MACHINE_PLTREL_OVERLAP): Delete.
+       * sysdeps/s390/s390-32/dl-machine.h
+       (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
+       * sysdeps/sparc/sparc32/dl-machine.h
+       (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
+       * sysdeps/sparc/sparc64/dl-machine.h
+       (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
+
+       * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
+       lazy binding.
+       * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
+       undefined symbol errors.
+
+       * elf/rtld.c (dl_main): Skip VDSO when checking for unused
+       DT_NEEDED entries.
+
+2012-04-05  Michael Matz  <matz@suse.de>
+
+       [BZ #13592]
+       * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
+
+2012-04-05  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #13908]
+       * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
+       comment.
+
+2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
+
+       * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
+       which ROUND is no valid rounding mode.
+
+2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
+
+       * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
+       read again.
+       * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
+
+2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
+
+       * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
+       an exception using FPU order intentionally.
+
+2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
+
+       * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
+       * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
+       * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
+       * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
+
+2012-04-05  Simon Josefsson  <simon@josefsson.org>
+
+       [BZ #12340]
+       * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
+       EINVAL when BUFLEN is too smal.
+
+2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
+
+       [BZ #13553]
+       * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
+       * sysdeps/mach/powerpc/machine-lock.h: Likewise.
+
+2012-04-03  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #13938]
+       * manual/setjmp.texi (System V contexts): Fix sentence.
+
+       [BZ #13926]
+       * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
+       New macro for this case.
+       [!__GNUC__] (__bswap_64): New inline function for this case.
+       * sysdeps/x86_64/bits/byteswap.h: Likewise.
+       * bits/byteswap.h: Likewise.
+       * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
+       ull, guard with __GLIBC_HAVE_LONG_LONG.
+
+       * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
+       __GLIBC_HAVE_LONG_LONG.
+
+       * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
+       Include <features.h> for __GLIBC_HAVE_LONG_LONG.
+
+2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
+
+       [BZ #13691]
+       * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
+       inptr and inend, rather than using last_ch.
+
+2012-04-02  David S. Miller  <davem@davemloft.net>
+
+       With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
+       * stdio-common/printf-parse.h (read_int): Change return type to
+       'int', return -1 on INT_MAX overflow.
+       * stdio-common/vfprintf.c (vfprintf): Validate width and precision
+       against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
+       overflows INT_MAX.  Check for overflow of in-format-string precision
+       values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
+       SIZE_MAX not INT_MAX for integer overflow test.
+       * stdio-common/printf-parsemb.c: If read_int signals an overflow,
+       skip the construct in the format string but do not record anything.
+       * stdio-common/bug22.c: Adjust to test both width/prevision
+       INT_MAX overflow as well as total length INT_MAX overflow.  Check
+       explicitly for proper errno values.
+
+2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
+       CHAR_MAX.
+       * string/test-strcmp.c [! WIDE]: Likewise.
+       * time/tst-mktime2.c: Likewise for INT_MAX.
+       * string/test-string.h: #include <sys/param.h> for MIN.
+
+       * csu/init-first.c (__libc_init_first): Call __ctype_init.
+       * sysdeps/i386/init-first.c (init): Likewise.
+       * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
+       * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
+       * sysdeps/sh/init-first.c (init): Likewise.
+
+2012-04-01  Ulrich Drepper  <drepper@gmail.com>
+
+       * po/ru.po: Update from translation team.
+       * po/vi.po: Likewise.
+
+2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * resolv/nss_dns/dns-host.c: Merge copyright years.
+
+2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
+
+       * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
+       Optimize memcpy with prefetch if
+       DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
+       src, dst pointers have unequal 16 byte alignments.
+
+2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       [BZ #13928]
+       * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
+       from a CNAME entry and return the minimum ttl for the query.
+       (gaih_getanswer_slice): Likewise.
+
+2012-03-30  Jeff Law  <law@redhat.com>
+
+       * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
+       due to long keys.
+       * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
+       * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
+
+       * resolv/nss_dns/dns-host.c: Update copyright year.
+
+2012-03-30  Ulrich Drepper  <drepper@gmail.com>
+
+       * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
+       requests to save a system call.  Fix check that all bytes are sent.
+
+       * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
+       comments for sendmmsg.
+
+2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
+
+       [BZ #13691]
+       * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
+       with only 1 character between 0x0041 and 0x01b0.
+       * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
+       * wcsmbs/tst-mbsnrtowcs.c: New file.
+
+2012-03-29  David S. Miller  <davem@davemloft.net>
+
+       * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
+       small copies by hand.
+
+2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       [BZ #13761]
+       * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
+       _nss_compat_initgroups_dyn): Fall back to malloc/free
+       for large group memberships.
+
+2012-03-28  David S. Miller  <davem@davemloft.net>
+
+       * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
+       that branches into memcpy.
+       * sysdeps/sparc/sparc64/memcpy.S: Likewise.
+       * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
+       * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
+       * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
+       * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
+       bits.
+       * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
+       implementation too.
+       * sysdeps/sparc/mempcpy.S: New file.
+
+       * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
+       the IFUNC routine in the libc case.
+       * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
+
+       * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
+       * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
+       * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
+       * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
+       * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
+       * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
+       * sysdeps/sparc/sparc64/rtld-memset.c: New file.
+       * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
+
+       * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
+       loop to 256 bytes instead of 64 bytes and fix test signedness.
+
+       * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
+       * sysdeps/sparc/sparc32/Makefile: rather than here...
+       * sysdeps/sparc/sparc64/Makefile: and here.
+
 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
 
        * malloc/mallocbug.c: Avoid warnings about unused variables.
This page took 0.034968 seconds and 5 git commands to generate.