]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
S390: Add hwcaps value for vector facility.
[thirdparty/glibc.git] / ChangeLog
index 915cae846e97001abe823388b3d0353a4fda04c4..08c2fa7c3ac1fccb201174c8f595e2e3afab0532 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,425 @@
+2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
+       * sysdeps/s390/dl-procinfo.h: Add vector capability.
+       * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
+
+2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
+       Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
+       * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
+       * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
+       * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
+       (memcmp, bcmp): Use __memcmp_default as alias source.
+       * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
+       * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
+       Rename to __memcmp_default.
+       * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
+       * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
+       (memcpy): Use __memcpy_default as alias source.
+       * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
+       * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
+       Rename to __memcpy_default.
+       * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
+       * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
+       (memset): Use __memset_default as alias source.
+       * sysdeps/s390/s390-32/multiarch/memset.c: New File.
+       * sysdeps/s390/s390-32/memset.S (__memset_g5):
+       Rename to __memset_default.
+       * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
+       Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
+       * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
+       * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
+       * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
+       (memcmp, bcmp): Use __memcmp_default as alias source.
+       * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
+       * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
+       Rename to __memcmp_default.
+       * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
+       * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
+       (memcpy): Use __memcpy_default as alias source.
+       * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
+       * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
+       Rename to __memcpy_default.
+       * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
+       * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
+       (memset): Use __memset_default as alias source.
+       * sysdeps/s390/s390-64/multiarch/memset.c: New File.
+       * sysdeps/s390/s390-64/memset.S (__memset_z900):
+       Rename to __memset_default.
+       * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
+       * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
+
+2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       [BZ #18610]
+       * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
+       __ieee_instruction_pointer to __unused.
+       * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
+       __ieee_instruction_pointer.
+       * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
+       * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
+       * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
+       * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
+       * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
+       Mark dxc-field as reserved.
+
+2015-08-25  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
+       if the weak reference is not null.
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #11214]
+       * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
+
+2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
+       * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/send.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
+       * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
+
+2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
+       register other than r0 for tabort, it has special meaning.
+       * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
+       * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
+       transaction before starting syscall.
+
+2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/rtld-memcmp.c: Removed.
+       * sysdeps/x86_64/rtld-memset.S: Likewise.
+       * sysdeps/x86_64/rtld-strchr.S: Likewise.
+       * sysdeps/x86_64/rtld-strlen.S: Likewise.
+       * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
+       * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
+
+2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
+
+       * debug/strcpy_chk.c: Improve performance.
+       * debug/stpcpy_chk.c: Likewise.
+       * sysdeps/x86_64/strcpy_chk.S: Remove.
+       * sysdeps/x86_64/stpcpy_chk.S: Remove.
+
+       [BZ #18240]
+       * misc/hsearch_r.c (__hcreate_r): Handle overflow.
+
+2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #15128]
+       * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
+       ifuncmain8.
+       (modules-names): Add ifuncmod8.
+       ($(objpfx)ifuncmain8): New rule.
+       * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
+       <cpuid.h>.
+       (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
+       _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
+       _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
+       _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
+       * sysdeps/x86_64/dl-trampoline.S: Rewrite.
+       * sysdeps/x86_64/dl-trampoline.h: Likewise.
+       * sysdeps/x86_64/ifuncmain8.c: New file.
+       * sysdeps/x86_64/ifuncmod8.c: Likewise.
+       * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
+       Removed.
+       * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
+       (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
+       Change rtld_savespace_sse to __glibc_unused2.
+       (RTLD_CHECK_FOREIGN_CALL): Removed.
+       (RTLD_ENABLE_FOREIGN_CALL): Likewise.
+       (RTLD_PREPARE_FOREIGN_CALL): Likewise.
+       (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
+
+2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * sysdeps/aarch64/bzero.S (__bzero): Remove.
+
+2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
+       Unconditionally set __fpcr to avoid uninialized warning.
+       (libc_feholdsetround_noex_aarch64_ctx): Likewise.
+
+2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * malloc/arena.c (arena_get_retry): Don't use main_arena if it
+       is corrupt.
+
+       * malloc/arena.c (arena_get2): Drop unused argument.
+       (arena_lock): Adjust.
+       (arena_get_retry): Likewise.
+
+2015-08-24  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
+       Don't define.
+       * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
+       (__ASSUME_IPC64): Don't undef.
+       * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
+       * sysdeps/unix/sysv/linux/semctl.c: Likewise.
+       * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
+       * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
+
+2015-08-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * manual/Makefile (install): Only build manual when perl is available.
+
+2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
+       '#undef memcpy' by '#undef memchr'.
+
+2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
+       memchr not point to the internal __GI_memchr implementation.
+
+2015-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * timezone/Makefile (CFLAGS-zdump.c): Remove
+       -Wno-strict-prototypes.
+       (CFLAGS-zic.c): Likewise.
+       (CFLAGS-ialloc.c): Likewise.
+       (CFLAGS-scheck.c): Likewise.
+
+       * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
+       -Wno-error=undef.
+
+2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * i386/i686/multiarch/strcasestr-c.c: Removed.
+       * x86_64/multiarch/strcasestr.c: Likewise.
+       * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
+       Remove strcasestr.
+
+2015-08-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
+
+       * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
+       variables for high and low parts before possibly modifying them.
+
+2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
+       * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
+       * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
+       of "multiarch/init-arch.h".
+       * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
+       * sysdeps/x86/init-arch.h: This.
+
+2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
+       * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
+
+2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
+
+       [BZ #17787]
+       * manual/macros.texi: Add twoexp macro.
+       * manual/filesys.texi: Fix exponents.
+       * manual/llio.texi: Likewise.
+       * manual/stdio.texi: Likewise.
+
+2015-08-20  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
+       incorrect use.
+
+2015-08-19  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #18370]
+       * math/s_csqrt.c (__csqrt): Force underflow exception for results
+       whose real or imaginary part has small absolute value.
+       * math/s_csqrtf.c (__csqrtf): Likewise.
+       * math/s_csqrtl.c (__csqrtl): Likewise.
+       * math/auto-libm-test-in: Add more tests of csqrt.
+       * math/auto-libm-test-out: Regenerated.
+       * sysdeps/i386/fpu/libm-test-ulps: Update.
+
+2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
+       __ppc_set_ppr_very_low): New functions.
+       * manual/platform.texi: Add documentation about
+       __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
+
+2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * string/stpncpy.c (stpncpy): Improve performance using
+       __strnlen/memcpy/memset.
+
+2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
+
+       [BZ #18796]
+       * scripts/test-installation.pl: Don't add -lmvec to build options if
+       libmvec wasn't built.
+
+2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
+
+       [BZ #14341]
+       * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
+       case when there is a gap between DT_REL and DT_JMPREL sections.
+       * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
+       (LDFLAGS-tst-split-dynreloc): New.
+       (tst-split-dynreloc-ENV): Likewise.
+       * sysdeps/x86_64/tst-split-dynreloc.c: New file.
+       * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
+
+2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #18822]
+       * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
+       attribute_hidden.
+       (__xstat64_conv): Likewise.
+       (__xstat32_conv): Likewise.
+
+2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #18822]
+       * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
+       Don't load %ebx when calling __setcontext.  Call __setcontext
+       with HIDDEN_JUMPTARGET.
+       * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
+       libc_hidden_def.
+
+2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/i386/i686/Makefile
+       [$(subdir) == string] (sysdep_routines): Moved to ...
+       * sysdeps/i386/Makefile: Here.
+       * sysdeps/i386/i686/cacheinfo.c: Moved to ...
+       * sysdeps/i386/cacheinfo.c: Here.
+       * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
+       * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
+       * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
+
+2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
+       __i586__ is defined.
+       (HAS_I686): Defined to 1 if __i686__ is defined.
+
+2015-08-19  Joseph Myers  <joseph@codesourcery.com>
+
+       * elf/Makefile [$(have-z-execstack) = yes]
+       (CPPFLAGS-tst-execstack.c): New variable.
+
+       * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
+       conditional to [defined UTMPX || _HAVE_UT_TYPE].
+       [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
+       UTMPX || _HAVE_UT_TV].
+       [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
+       UTMPX || _HAVE_UT_TV - 0].
+
+2015-08-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
+       conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
+       * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
+
+2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/dl-procinfo.c:
+       (_dl_powerpc_cap_flags): Added missing strings for some
+       hwcap features.
+       * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
+
+2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port the 0x7efe...feff pattern to GCC 6.
+       See Steve Ellcey's bug report in:
+       https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
+       * string/memrchr.c (MEMRCHR):
+       * string/rawmemchr.c (RAWMEMCHR):
+       * string/strchr.c (strchr):
+       * string/strchrnul.c (STRCHRNUL):
+       Rewrite code to avoid issues with signed shift overflow.
+
+2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86/cpu-features.c (init_cpu_features): Check
+       whether cpuid is available only if HAS_CPUID is 0.
+       * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
+       (HAS_I586): Likewise.
+       (HAS_I686): Likewise.
+
+2015-08-18  Zack Weinberg  <zackw@panix.com>
+
+       * misc/Versions (libc): Add GLIBC_2.23.
+
+2015-08-18  Alan Modra  <amodra@gmail.com>
+
+       [BZ #18421]
+       * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
+       .Lp__global.
+       (_start): Load %dp via .Lp__global.
+       [!SHARED]: Use .section .rodata.
+
+2015-08-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
+       * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
+
+2015-08-18  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
+       * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
+
 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
 
        * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
        * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
        of _rtld_global, and rtld_progname instead of _dl_argv[0].
 
+       [BZ #10882]
        * sysdeps/powerpc/powerpc32/dl-machine.c
        (__elf_machine_runtime_setup) [PROF]: Don't reference
        _dl_prof_resolve.