summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2012-09-28Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.David S. Miller1-0/+2
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-28Add Niagara-4 optimized memcpy and mempcpy.David S. Miller5-4/+356
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New file. * sysdeps/sparc/sparc64/multiarch/Makefile: Add to sysdep_routines. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy and mempcpy when HWCAP_SPARC_CRYPTO is set.
2012-09-28Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.hH.J. Lu4-16/+6
2012-09-28aio_fsync: fix the access mode checkPino Toscano1-1/+1
Make use of O_ACCMODE and O_RDONLY instead of assuming details of the O_* flags.
2012-09-28 [BZ #11438]Jeff Law1-4/+0
* sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 * addresses to global scope. * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16 addresses are in the same scope as 192.0.2/24. * posix/gai.conf: Document new scope table defaults.
2012-09-27Update sparc ULPS for recent clog/clog10 activity.David S. Miller1-2/+176
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-27Fix sparc64 crashes with LD_BIND_NOW and --enable-bind-now.David S. Miller1-1/+8
[BZ #14376] * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not pass reloc->r_addend in as the 'high' argument to sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2012-09-27Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let buildsSteve Ellcey1-50/+0
use bits/huge_vall.h instead. There is no longer any need for the special huge_vall.h file.
2012-09-27Don't define x86-64 __strncmp_ssse3 in libc.aH.J. Lu1-4/+6
2012-09-26Update x86-64 ULPsMarkus Trippelsdorf1-12/+19
2012-09-25Add __ppc_get_timebase_freq to ppc.h.Tulio Magno Quites Machado Filho9-0/+136
2012-09-25Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers9-4/+777
2012-09-25Add optimized sincosf for SSE2 for x86 and x86-64Liubov Dmitrieva7-33/+1228
2012-09-25Remove various _G_*_t type names.Joseph Myers3-21/+0
2012-09-25Shrink heap on linux when overcommit_memory == 2Siddhesh Poyarekar2-0/+82
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. Levin2-2/+4
2012-09-25Add copyright notices to testsuite shell scriptsDmitry V. Levin1-0/+18
2012-09-21Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.Joseph Myers3-3/+0
2012-09-20Remove _G_NEED_STDARG_H.Joseph Myers3-3/+0
2012-09-18Don't set TIMEOUTFACTOR in sysdeps/wordsize-64/Makefile.Joseph Myers2-4/+4
2012-09-17Remove _G_HAVE_IO_GETLINE_INFO.Joseph Myers3-3/+0
2012-09-13Remove unused __rtld_lock_init_recursive macroH.J. Lu2-3/+0
2012-09-13Remove _G_HAVE_PRINTF_FP.Joseph Myers3-3/+0
2012-09-12Make strtod respect the rounding mode (bug 14518).Joseph Myers2-0/+161
2012-09-12Update i386 ULPs for recently added math testsAllan McRae1-0/+8
2012-09-11Remove unused typedefs and macros from _G_config.h.Joseph Myers3-30/+0
2012-09-10Remove _G_USING_THUNKS.Joseph Myers2-6/+0
2012-09-10Remove libio C++ vtable definitions.Joseph Myers3-13/+0
2012-09-10Fix x86 SSE cosf, sinf issuesLiubov Dmitrieva4-84/+56
* 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 Krebbel5-7/+8
2012-09-05Recognize new sparc hwcap bits.David S. Miller3-3/+6
* 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. Miller1-0/+12
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-04Use sparcv8 GMP routines when building 32-bit sparcv9.David S. Miller3-0/+3
* 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 Jaeger2-0/+9
2012-09-03Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva11-7/+2354
* 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 Krebbel2-6/+10
2012-09-02Use the first element of GOT for ld.so addressesH.J. Lu1-32/+8
[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 Myers5-272/+21
2012-08-29Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar2-12/+0
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 Myers11-387/+21
2012-08-23Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers1-1/+1
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath1-13/+25
2012-08-22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_rJeff Law1-2/+7
if the family is PF_UNSPEC.
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt6-0/+283
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 Myers5-150/+7
2012-08-21[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.Will Schmidt2-44/+119
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 Myers4-21/+2
2012-08-20Define __ASSUME_UTIMES for s390.Joseph Myers1-2/+4
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers6-180/+26
2012-08-20S/390: Remove 32 bit getrlimit.c.Andreas Krebbel1-1/+0