aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-21Micro-optimize critical path of strstr, strcase and memmem.Maxim Kuvyrkov4-1/+18
2012-08-21Use pointers for traversing arrays in strstr, strcasestr and memmem.Maxim Kuvyrkov3-18/+55
2012-08-21Detect EOL on-the-fly in strstr, strcasestr and memmem.Maxim Kuvyrkov7-15/+108
2012-08-21Optimize first-character loop of strstr, strcasestr and memmem.Maxim Kuvyrkov2-1/+20
2012-08-21Support static IFUNC calls irrespective of USE_MULTIARCH.Roland McGrath3-46/+43
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers10-152/+50
2012-08-21[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.Will Schmidt3-44/+125
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-20Fix typos in manual wrt syslog.Roland McGrath2-2/+6
2012-08-20Fix conditional on using DSOCAPS to match condition on defining it.Roland McGrath2-1/+6
2012-08-20Remove __ASSUME_SWAPCONTEXT_SYSCALL.Joseph Myers5-21/+14
2012-08-20Define __ASSUME_UTIMES for s390.Joseph Myers2-2/+7
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers15-185/+69
2012-08-20S/390: Remove 32 bit getrlimit.c.Andreas Krebbel2-1/+4
2012-08-19Add bug number to NEWS.Joseph Myers1-3/+3
2012-08-18Fix last patch: Add missing DUMMY variableAndreas Jaeger2-2/+6
2012-08-18add attribute_hidden to __have_{sock_cloexec,pipe2,dup3Mike Frysinger3-4/+11
These internal knobs are not exposed as part of the public ABI, so mark them hidden to avoid generating relocations against them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-18split assume pipe2/dup3/sock_cloexec knobsMike Frysinger3-6/+21
We can't assume sock_cloexec and pipe2 are bound together as the former defines are found in glibc only while the latter are a combo of kernel headers and glibc. So if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub inside of glibc, we hit a problem. For example: main() { getgrnam("portage"); if (!popen("ls", "r")) perror("popen()"); } getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both __have_sock_cloexec and __have_pipe2 to true. But if glibc was built against older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS stub for it. So popen() will always fail as glibc assumes pipe2() works. While this isn't too much of an issue for some arches as they added the functionality to the kernel at the same time, not all arches are that lucky. Since the code already has dedicated names for each feature, delete the defines wiring these three features together and make each one a proper dedicated knob. We've been carrying this in Gentoo since glibc-2.9. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17update linux nice.c include path too after recent file shuffleMike Frysinger2-1/+5
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17Quash warning in s_sincosl.Marek Polacek2-2/+7
2012-08-17Adjust old #include's of sysdeps/unix/time.c to point to ↵Roland McGrath3-3/+5
sysdeps/posix/time.c instead.
2012-08-17Make sysheaders available in config.make.Roland McGrath4-0/+8
2012-08-17Move some things from sysdeps/unix to sysdeps/posix.Roland McGrath7-0/+17
2012-08-17Fix rule dependency in last change.Roland McGrath2-2/+6
2012-08-172012-08-17 Jeff Law <law@redhat.com>Jeff Law5-133/+31
* intl/Makefile (codeset_mo): New variable. ($(codeset_mo)): New target. (tst-codeset.out): Depend on that. Remove explicit rule. (tst-gettext3.out, tst-gettext5.out): Likewise. (LOCPATH-ENV, tst-codeset-ENV): New variables. (tst-gettext3-ENV, tst-gettext5-ENV): Likewise. * intl/tst-codeset.sh: Remove. * intl/tst-gettext3.sh: Likewise. * intl/tst-gettext5.sh: Likewise.
2012-08-17Merge unix/inet/syscalls.list into unix/syscalls.list.Roland McGrath3-23/+24
2012-08-17Fix typo in last change.Roland McGrath1-1/+1
2012-08-17Fix getaddrinfo for [!_STATBUF_ST_NSEC] case.Roland McGrath2-2/+42
2012-08-17Make malloc build for no-threads configurations.Roland McGrath4-12/+25
2012-08-17Change type of constant to avoid a warning.Roland McGrath2-2/+7
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath8-163/+144
2012-08-17Add a cast to silence a warning.Roland McGrath2-2/+9
2012-08-17Make libio compile without _IO_MTSAFE_IO.Roland McGrath6-3/+31
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath18-61/+111
2012-08-17Also set r->r_map when unmapping the first object in a namespace.Gary Benson2-1/+6
When unmapping the first object in a namespace, the runtime linker did not update the externally visible pointer. This resulted in debuggers seeing pointers to memory that had been freed.
2012-08-16Do not pollute name space with internal_*netgrent functions.Roland McGrath3-29/+39
2012-08-16Update longlong.h from GCC.Joseph Myers2-27/+21
2012-08-16Suppress -Wunused-but-set warnings in GMP code.Roland McGrath6-15/+32
2012-08-16Fifth argument of la_pltenter() is not constant.Carlos O'Donell9-8/+32
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 Myers20-865/+326
2012-08-15Fix dl-load.c for [!_LIBC_REENTRANT] case.Roland McGrath2-0/+5
2012-08-15Define __rtld_lock_initialize in stub bits/libc-lock.h file.Roland McGrath2-0/+3
2012-08-15Add a missing #include to dl-sym.c.Roland McGrath2-1/+4
2012-08-15Optimize __libc_lock_lock and __libc_lock_trylock for MIPS.Maxim Kuvyrkov4-4/+57
2012-08-15Add generic versions of pthread_spin_lock and pthread_spin_trylock.Maxim Kuvyrkov14-166/+123
2012-08-15Suppress regcomp.c warnings in 32-bit builds.Roland McGrath2-2/+9
2012-08-15Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.Roland McGrath2-0/+7
2012-08-15Move stub lseek.c to the right directory.Roland McGrath2-0/+3
2012-08-15Fix stub clock_nanosleep #include.Roland McGrath2-3/+4
2012-08-15Fix last sha512.c change to avoid compiler warning.Roland McGrath2-1/+6
2012-08-15Remove executable permissions checked in by accidentAndreas Jaeger1-0/+0