aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
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
2014-05-27ARM: Fix handling of concurrent TLS descriptor resolutionWill Newton
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.
2014-05-26Update powerpc-fpu ULPs.Adhemerval Zanella
2014-05-26PowerPC: Move remaining nptl/sysdeps/unix/sysv/linux/powerpc/ files.Adhemerval Zanella
2014-05-26PowerPC: Move NPTL ABI headers to sysdeps.Adhemerval Zanella
2014-05-26PowerPC: Move powerpc64 timer_*.c out of nptl/Adhemerval Zanella
2014-05-26PowerPC: Consolidate NPTL/non versions of cloneAdhemerval Zanella
2014-05-26PowerPC: Consolidate NPTL/non versions of vforkAdhemerval Zanella
2014-05-26PowerPC: Remove 64 bits instructions in PPC32 codeAdhemerval Zanella
This patch replaces the insrdi by insrwi in powerpc32 assembly.
2014-05-26[AARCH64] correct alignment of TLS_TCB_ALIGN (BZ #16796)Kyle McMartin
This fixes a variety of testsuite failures for me: tststatic.out Error 1 tststatic2.out Error 1 tst-tls9-static.out Error 1 tst-audit8.out Error 127 tst-audit9.out Error 127 tst-audit1.out Error 127 and also has the added benefit of making LD_AUDIT/sotruss work on AArch64. Otherwise, we bail out early in _dl_try_allocate_static_tls as the alignment requirement of the PT_TLS section in libc is 16.
2014-05-25arm,aarch64: Remove SINGLE_THREAD_P_PICRichard Henderson
This macro was removed by 2005-11-16 Daniel Jacobowitz <dan@codesourcery.com> but not applied to the (still separate) eabi port so necro'd when the eabi port superceded the old abi. It was thence copied into the new AArch64 port.
2014-05-25aarch64: Tidy syscall error checkRichard Henderson
Move the error branch from the PSEUDO_RET macro to the PSEUDO macro. This is in line with other architectures, and will enable further improvments.
2014-05-25aarch64: Remove DOARGS/UNDOARGS macrosRichard Henderson
While they do something for AArch32, they're useless for AArch64.