about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* AArch64: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-112-23/+3
|
* PowerPC: Optimized strcmp for PPC64/POWER7Vidya Ranganathan2014-06-116-1/+317
| | | | | | 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.
* tile: move sysdeps/unix/sysv/linux/tile nptl files.Chris Metcalf2014-06-1053-2/+5
|
* Fix log2 (1) in round-downward mode (bug 17042).Joseph Myers2014-06-108-4/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* hppa: Remove lowlevellock.c.Bernard Ogden2014-06-091-126/+0
| | | | | | 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.
* m68k: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-092-24/+3
|
* HPPA: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-092-22/+3
|
* MIPS: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-092-23/+4
|
* ARM: Define TLS_DEFINE_INIT_TPRoland McGrath2014-06-092-22/+2
|
* Start cleaning up TLS initial value for pthread_create.Roland McGrath2014-06-091-48/+0
|
* Remove redundant C locale settings.Joseph Myers2014-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move NPTL public ABI headers for SH to sysdeps/sh/nptl/.Roland McGrath2014-06-062-0/+222
|
* PowerPC: Fix optimized strncat strlen callAdhemerval Zanella2014-06-061-1/+5
| | | | | | | 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).
* Fix memory overrun in getifaddrs_internal. Fixes bug 15698.Ondřej Bílka2014-06-051-2/+2
|
* aarch64: Remove nptl/vfork.SRichard Henderson2014-06-031-37/+0
|
* S/390: Regenerate ULPs.Stefan Liebler2014-06-031-0/+85
|
* aarch64: Consolidate NPTL/non versions of vforkRichard Henderson2014-06-033-44/+74
| | | | | At the same time, incorporate the 0 -> 0x80000000 mapping of the pid expected by raise.c.
* aarch64: Consolidate NPTL/non versions of cloneRichard Henderson2014-06-032-53/+24
| | | | | | 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.
* [AArch64] Regenerate libm-test-ulpsMarcus Shawcroft2014-06-031-0/+85
|
* [AArch64] Switch from FE_TOWARDZERO to _FPU_FPCR_RM_MASKWilco2014-06-032-6/+6
|
* [AArch64] Cleanup declarations in math_private.h.Wilco2014-06-031-8/+22
|
* SH: Consolidate NPTL/non versions of vforkRoland McGrath2014-06-022-29/+33
|
* [AArch64] Remove ISB after FPCR write.Wilco2014-06-021-5/+2
|
* [AArch64] Rewrite feupdateenv (BZ 17009).Wilco2014-06-021-5/+54
|
* Update Sparc ULPS.David S. Miller2014-06-011-0/+85
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix excessive ULP for y1_upward (0x2p+0) in test-float and test-ifloat.David S. Miller2014-05-311-0/+1
| | | | | * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations to occur in round to nearest mode when |x| >= 2.0
* aarch64: Remove PSEUDO_RETRichard Henderson2014-05-301-20/+3
|
* aarch64: Fix error return from __ioctlRichard Henderson2014-05-301-6/+7
| | | | | Forgotten in ca3cfa40c16ef34c74951a07a57cfcbcd58898b1 where the error branch was moved from PSEUDO_RET.
* Replace __int128 with __int128_tMarko Myllynen2014-05-301-1/+1
| | | | | * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128 with __int128_t.
* m68k: Convert fork.c to arch-fork.hRoland McGrath2014-05-301-3/+2
|
* aarch64: Rely on syscalls preserving registersRichard Henderson2014-05-291-24/+12
| | | | | | | | 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.
* aarch64: Use tpidr_el0 rather than __errno_location in librtRichard Henderson2014-05-292-15/+5
|
* aarch64: Use tpidr_el0 rather than __read_tp in librtRichard Henderson2014-05-291-11/+3
|
* aarch64: Improve syscall-cancel stack frameRichard Henderson2014-05-291-86/+26
| | | | One push instead of N; use stp/ldp to halve the insns.
* aarch64: Pass regno parameter to SINGLE_THREAD_PRichard Henderson2014-05-291-10/+8
| | | | Use cbz instead of cmp+b.eq.
* aarch64: Share code in syscall-cancel.hRichard Henderson2014-05-291-14/+14
| | | | Fold nocancel and error handling paths.
* aarch64: Tabify sysdep-cancel.hRichard Henderson2014-05-291-51/+51
|
* Avoid stat/fstat in statvfs/fstatvfs (BZ #15132)Eric Wong2014-05-295-27/+18
| | | | | 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.
* SH: Consolidate NPTL/non versions of cloneRoland McGrath2014-05-281-6/+1
|
* tile: Convert fork.c to arch-fork.hRoland McGrath2014-05-281-4/+2
|
* IA64: Convert fork.c to arch-fork.hRoland McGrath2014-05-271-0/+29
|
* SH: Convert fork.c to arch-fork.hRoland McGrath2014-05-271-0/+28
|
* Remove second argument from TLS_INIT_TP macroAndreas Schwab2014-05-2711-62/+38
|
* ARM: Fix handling of concurrent TLS descriptor resolutionWill Newton2014-05-271-19/+12
| | | | | | | | | | | | | | | | | | | | The current code for handling concurrent resolution says that the ABI for _dl_tlsdesc_resolve_hold is the same as that of _dl_tlsdesc_lazy_resolver. However _dl_tlsdesc_resolve_hold is called from the trampoline directly rather than the lazy resolver stub so, for example, r2 has not been pushed so does not needed to be restored. This fixes an intermittent failure in nptl/tst-tls3 when building glibc for arm-linux-gnueabihf with -mtls-dialect=gnu2. ChangeLog: 2014-05-27 Will Newton <will.newton@linaro.org> [BZ #16990] * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore r2 rather than just restoring.
* Update powerpc-fpu ULPs.Adhemerval Zanella2014-05-261-0/+24
|
* PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files.Adhemerval Zanella2014-05-2613-0/+944
|
* PowerPC: Move NPTL ABI headers to sysdeps.Adhemerval Zanella2014-05-262-0/+266
|
* PowerPC: Move powerpc64 timer_*.c out of nptl/Adhemerval Zanella2014-05-266-0/+13
|
* PowerPC: Consolidate NPTL/non versions of cloneAdhemerval Zanella2014-05-262-27/+2
|
* PowerPC: Consolidate NPTL/non versions of vforkAdhemerval Zanella2014-05-262-0/+59
|