aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2012-09-25Add optimized sincosf for SSE2 for x86 and x86-64Liubov Dmitrieva
2012-09-25Remove various _G_*_t type names.Joseph Myers
2012-09-25Shrink heap on linux when overcommit_memory == 2Siddhesh Poyarekar
Using madvise with MADV_DONTNEED to release memory back to the kernel is not sufficient to change the commit charge accounted against the process on Linux. It is OK however, when overcommit is enabled or is heuristic. However, when overcommit is restricted to a percentage of memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it makes a difference since memory requests will fail. Hence, we do what we do with secure exec binaries, which is to call mmap on the region to be dropped with MAP_FIXED. This internally unmaps the pages in question and reduces the amount of memory accounted against the process.
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin
2012-09-25Add copyright notices to testsuite shell scriptsDmitry V. Levin
2012-09-21Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.Joseph Myers
2012-09-20Remove _G_NEED_STDARG_H.Joseph Myers
2012-09-18Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile.Joseph Myers
2012-09-17Remove _G_HAVE_IO_GETLINE_INFO.Joseph Myers
2012-09-13Remove unused __rtld_lock_init_recursive macroH.J. Lu
2012-09-13Remove _G_HAVE_PRINTF_FP.Joseph Myers
2012-09-12Make strtod respect the rounding mode (bug 14518).Joseph Myers
2012-09-12Update i386 ULPs for recently added math testsAllan McRae
2012-09-11Remove unused typedefs and macros from _G_config.h.Joseph Myers
2012-09-10Remove _G_USING_THUNKS.Joseph Myers
2012-09-10Remove libio C++ vtable definitions.Joseph Myers
2012-09-10Fix x86 SSE cosf, sinf issuesLiubov Dmitrieva
* sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix unwind info if defined PIC. Fix special cases description. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise. * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix DP_HI_MASK entry. * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
2012-09-06S/390: Fix optimized mem* running on 31 bit kernels.Andreas Krebbel
2012-09-05Recognize new sparc hwcap bits.David S. Miller
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE, HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new entries.
2012-09-05Update sparc ULPs for recently added math tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-04Use sparcv8 GMP routines when building 32-bit sparcv9.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2012-09-03Update libm-test-ulpsAndreas Jaeger
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva
* sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): Add s_sinf-sse2, s_conf-sse2. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros for using routine as __sinf_ia32. Use macro for function declaration and weak_alias. * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros for using routine as __cosf_ia32. Use macro for function declaration and weak_alias. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. * sysdeps/x86_64/fpu/s_sinf.S: New file. * sysdeps/x86_64/fpu/s_cosf.S: New file. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
2012-09-03S/390: Make IFUNC optimized mem* functions hidden.Andreas Krebbel
2012-09-02Use the first element of GOT for ld.so addressesH.J. Lu
[BZ #14538] * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the first element of the GOT. (elf_machine_load_address): Return the difference between the runtime address of _DYNAMIC and elf_machine_dynamic ().
2012-09-01Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers
2012-08-29Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar
The ttyname and ttyname_r functions on Linux now fall back to searching for the tty file descriptor in /dev/pts or /dev if /proc is not available. This allows creation of chroots without the procfs mounted on /proc. Fixes BZ #14516.
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers
2012-08-23Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath
2012-08-22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_rJeff Law
if the family is PF_UNSPEC.
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt
Initially based on the versions found in wcsmbs/* ; these files have been changed by hand unrolling, and adding some additional variables to allow some read-ahead to occur, which then relieves some of the wait-for-increment/wait-for-load/wait-for-compare-results pressure that was slowing down every iteration through the while-loop. For 64-bit Power7, These changes give an approx 20% throughput boost for the wcschr and wcsrchr functions; and approx 40% boost for the wcscpy function. 32-bit improvements appear to be slightly better with ~ %30 and ~ %45 respectively. Results for Power6 closely match those for power7.
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers
2012-08-21[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.Will Schmidt
Assorted tweaking, twisting and tuning to squeeze a few additional cycles out of the memchr code. Changes include bypassing the shift pairs (sld,srd) when they are not required, and unrolling the small_loop that handles short and trailing strings. Per scrollpipe data measuring aligned strings for 64-bit, these changes save between five and eight cycles (9-13% overall) for short strings (<32), Longer aligned strings see slight improvement of 1-3% due to bypassing the shifts and the instruction rearranging.
2012-08-20Remove __ASSUME_SWAPCONTEXT_SYSCALL.Joseph Myers
2012-08-20Define __ASSUME_UTIMES for s390.Joseph Myers
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers
2012-08-20S/390: Remove 32 bit getrlimit.c.Andreas Krebbel
2012-08-17update linux nice.c include path too after recent file shuffleMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17Quash warning in s_sincosl.Marek Polacek
2012-08-17Adjust old #include's of sysdeps/unix/time.c to point to ↵Roland McGrath
sysdeps/posix/time.c instead.
2012-08-17Move some things from sysdeps/unix to sysdeps/posix.Roland McGrath
2012-08-17Merge unix/inet/syscalls.list into unix/syscalls.list.Roland McGrath
2012-08-17Fix typo in last change.Roland McGrath
2012-08-17Fix getaddrinfo for [!_STATBUF_ST_NSEC] case.Roland McGrath
2012-08-17Make malloc build for no-threads configurations.Roland McGrath
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath
2012-08-16Fifth argument of la_pltenter() is not constant.Carlos O'Donell
The original runtime linker auditing interface described by Solaris allows the 5th argument of la_pltenter() to be modified. This patch cleans up the ldsodefs.h definitions such that the 5th argument is not constant. At one point the 5th argument *was* constant but this was changed with commit 2413fdba7a02ba8916f75d17199a6e9133a8f7b0. This patch updates alpha, ia64, mips, sh and sparc with similar changes.
2012-08-16Remove __ASSUME_POSIX_TIMERS.Joseph Myers