aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2014-06-12Move SH code out of nptl/ subdirectory.Roland McGrath
2014-06-11Move x86_64 code out of nptl/ subdirectory.Roland McGrath
2014-06-11Update powerpc-fpu ULPs.Adhemerval Zanella
2014-06-11tile: Consolidate NPTL/non versions of vforkChris Metcalf
2014-06-11Tile: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-11Alpha: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-11PowerPC: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-11AArch64: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-11PowerPC: Optimized strcmp for PPC64/POWER7Vidya Ranganathan
Optimization is achieved on 8 byte aligned strings with double word comparison using cmpb instruction. On unaligned strings loop unrolling is applied for Power7 gain.
2014-06-10tile: move sysdeps/unix/sysv/linux/tile nptl files.Chris Metcalf
2014-06-10Fix log2 (1) in round-downward mode (bug 17042).Joseph Myers
As with other issues of this kind, bug 17042 is log2 (1) wrongly returning -0 instead of +0 in round-downward mode because of implementations effectively in terms of log1p (x - 1). This patch fixes the issue in the same way used for log and log10. Tested x86_64 and x86 and ulps updated accordingly. Also tested for mips64 to confirm a fix was needed for ldbl-128 and to validate that fix (also applied to ldbl-128ibm since that version of log2l is essentially the same as the ldbl-128 one). [BZ #17042] * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value when x - 1 is zero. * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise. * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise. * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return 0.0L for an argument of 1.0L. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise. * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute value when x - 1 is zero. * math/libm-test.inc (log2_test): Use ALL_RM_TEST. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2014-06-09hppa: Remove lowlevellock.c.Bernard Ogden
The hppa port has no need of a custom lowlevellock.c, it should use the generic version which is updated and correct. This similarly fixes bug 15119 for hppa.
2014-06-09m68k: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-09HPPA: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-09MIPS: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-09ARM: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-06-09Start cleaning up TLS initial value for pthread_create.Roland McGrath
2014-06-07Remove redundant C locale settings.Joseph Myers
Various glibc build / install / test code has C locale settings that are redundant with LC_ALL=C. LC_ALL takes precedence over LANG, so anywhere that sets LC_ALL=C (explicitly, or through it being in the default environment for running tests) does not need to set LANG=C. LC_ALL=C also takes precedence over LANGUAGE, since 2001-01-02 Ulrich Drepper <drepper@redhat.com> * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value is ignored if the selected locale is the C locale. * intl/tst-gettext.c: Set locale for above change. * intl/tst-translit.c: Likewise. and so settings of LANGUAGE=C are also redundant when LC_ALL=C is set. One test also had LC_ALL=C in its -ENV setting, although it's part of the default environment used for tests. This patch removes the redundant settings. It removes a suggestion in install.texi of setting LANGUAGE=C LC_ALL=C for "make install"; the Makefile.in target "install" already sets LC_ALL_C so there's no need for the user to set it (and nor should there be any need for the user to set it). If some build machine tool used by "make install" uses a version of libintl predating that 2001 change, and the user has LANGUAGE set, the removal of LANGUAGE=C from the Makefile.in "install" rule could in principle affect the user's installation. However, I don't think we need to be concerned about pre-2001 build tools. Tested x86_64. * Makefile (install): Don't set LANGUAGE. * Makefile.in (install): Likewise. * assert/Makefile (test-assert-ENV): Remove variable. (test-assert-perr-ENV): Likewise. * elf/Makefile (neededtest4-ENV): Likewise. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules) [$(cross-compiling) = no]: Don't set LANGUAGE. * io/ftwtest-sh (LANG): Remove variable. * libio/Makefile (tst-widetext-ENV): Likewise. * manual/install.texi (Running make install): Don't refer to environment settings for make install. * INSTALL: Regenerated. * nptl/tst-tls6.sh: Don't set LANG. * posix/globtest.sh (LANG): Remove variable. * string/Makefile (tester-ENV): Likewise. (inl-tester-ENV): Likewise. (noinl-tester-ENV): Likewise. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules) [$(cross-compiling) = no]: Don't set LANGUAGE. * timezone/Makefile (build-testdata): Use $(built-program-cmd) without explicit environment settings. localedata/ChangeLog: * tst-fmon.sh: Don't set LANGUAGE. * tst-locale.sh: Likewise.
2014-06-06Move NPTL public ABI headers for SH to sysdeps/sh/nptl/.Roland McGrath
2014-06-06PowerPC: Fix optimized strncat strlen callAdhemerval Zanella
This patch fixes the optimized ppc64/power7 strncat strlen call for static build without ifunc enabled. The strlen symbol to call in such situation is just strlen, instead of __GI_strlen (since the __GI_ alias is just created for shared objects).
2014-06-05Fix memory overrun in getifaddrs_internal. Fixes bug 15698.Ondřej Bílka
2014-06-03aarch64: Remove nptl/vfork.SRichard Henderson
2014-06-03S/390: Regenerate ULPs.Stefan Liebler
2014-06-03aarch64: Consolidate NPTL/non versions of vforkRichard Henderson
At the same time, incorporate the 0 -> 0x80000000 mapping of the pid expected by raise.c.
2014-06-03aarch64: Consolidate NPTL/non versions of cloneRichard Henderson
At the same time, rely on non-clobbered registers across syscall so that we eliminate the stack frame that we previously ignored in the unwind info.
2014-06-03[AArch64] Regenerate libm-test-ulpsMarcus Shawcroft
2014-06-03[AArch64] Switch from FE_TOWARDZERO to _FPU_FPCR_RM_MASKWilco
2014-06-03[AArch64] Cleanup declarations in math_private.h.Wilco
2014-06-02SH: Consolidate NPTL/non versions of vforkRoland McGrath
2014-06-02[AArch64] Remove ISB after FPCR write.Wilco
2014-06-02[AArch64] Rewrite feupdateenv (BZ 17009).Wilco
2014-06-01Update Sparc ULPS.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2014-05-31Fix excessive ULP for y1_upward (0x2p+0) in test-float and test-ifloat.David S. Miller
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations to occur in round to nearest mode when |x| >= 2.0
2014-05-30aarch64: Remove PSEUDO_RETRichard Henderson
2014-05-30aarch64: Fix error return from __ioctlRichard Henderson
Forgotten in ca3cfa40c16ef34c74951a07a57cfcbcd58898b1 where the error branch was moved from PSEUDO_RET.
2014-05-30Replace __int128 with __int128_tMarko Myllynen
* sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128 with __int128_t.
2014-05-30m68k: Convert fork.c to arch-fork.hRoland McGrath
2014-05-29aarch64: Rely on syscalls preserving registersRichard Henderson
In several cases we've had asm routines rely on syscalls not clobbering call-clobbered registers, and that's now deemed ABI. So take advantage of this in the INLINE_SYSCALL path as well. Shrinks libc.so by about 1k.
2014-05-29aarch64: Use tpidr_el0 rather than __errno_location in librtRichard Henderson
2014-05-29aarch64: Use tpidr_el0 rather than __read_tp in librtRichard Henderson
2014-05-29aarch64: Improve syscall-cancel stack frameRichard Henderson
One push instead of N; use stp/ldp to halve the insns.
2014-05-29aarch64: Pass regno parameter to SINGLE_THREAD_PRichard Henderson
Use cbz instead of cmp+b.eq.
2014-05-29aarch64: Share code in syscall-cancel.hRichard Henderson
Fold nocancel and error handling paths.
2014-05-29aarch64: Tabify sysdep-cancel.hRichard Henderson
2014-05-29Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)Eric Wong
Delay the use of stat/fstat until stat data is required. When the kernel returns ST_VALID, stat data is not used by __internal_statvfs.
2014-05-28SH: Consolidate NPTL/non versions of cloneRoland McGrath
2014-05-28tile: Convert fork.c to arch-fork.hRoland McGrath
2014-05-27IA64: Convert fork.c to arch-fork.hRoland McGrath
2014-05-27SH: Convert fork.c to arch-fork.hRoland McGrath
2014-05-27Remove second argument from TLS_INIT_TP macroAndreas Schwab