aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-29Use LD_SO to set $ld_so_name/$ld_so_versionH.J. Lu4-2/+18
2012-08-29Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar4-13/+12
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 Myers22-402/+81
2012-08-27update NEWSMike Frysinger2-4/+9
2012-08-27mips: clear condition bit 23 in fpu tooGuido Guenther2-1/+5
We've been carrying this in Gentoo for quite a long time to fix some test failures that people hit. Original message: > make[4]: *** [/glibc/glibc-package-2.3/mips-linux/obj/math/test-fpucw.out] Error 1 This test fails since the read back fpu control word is 0x80000 instead of 0x0. I wonder if this patch is correct: ... which additionally masks out the condition bit 23 - note that the other condition bits (25-31) are masked out too? URL: http://sourceware.org/ml/libc-alpha/2002-10/msg00392.html Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-27alpha: add conditional fdatasync supportMike Frysinger4-0/+79
While most arches have had the fdatasync syscall for a long time, the alpha port didn't add it until the 2.6.22 release. This is heavily based on Aurelien Jarno's initial work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-27Fix sign of zero on strtod underflow (bug 14519).Joseph Myers5-2/+117
2012-08-27Fix strtod rounding (bug 3479).Joseph Myers10-42/+7634
2012-08-27Fix strtod integer/buffer overflow (bug 14459).Joseph Myers5-33/+178
2012-08-25Fix some typos in comments.Marek Polacek2-3/+7
2012-08-23Fix tst-rfc3484* build failures from USE_NSCD move to config.h.Roland McGrath4-0/+9
2012-08-23Check floating-point ABI in ARM VALID_ELF_HEADER.Steve McIntyre4-3/+29
2012-08-23Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers2-1/+6
2012-08-22Fix shadow, gshadow, networks, protocols, rpc, aliases, and nscd routines ↵Roland McGrath40-38/+195
for USE_NSCD case.
2012-08-22Clean up MIPS stat64 handling.Joseph Myers5-0/+149
2012-08-22Add --disable-build-nscd configure option.Roland McGrath6-1/+37
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath17-48/+163
2012-08-22Fix sed configure check for newer sed --version output.Dmitry V. Levin3-2/+8
2012-08-22Fix libc-start change for IRELless machines.Roland McGrath2-7/+13
2012-08-22Move bug number to correct section of NEWS.Joseph Myers1-2/+2
2012-08-22 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_rJeff Law3-3/+14
if the family is PF_UNSPEC.
2012-08-22rename V variable to lib-versionMike Frysinger2-2/+7
Due to the rise of kbuild type build systems (as the Linux kernel is a popularly emulated environment), the V variable has become common as a knob for controlling verbosity. Unfortunately, if you run `make V=1` with glibc during install, it fails with weird errors due to the glibc build already using this variable for versioning information. Granted, overriding this variable in the glibc context makes no sense so people shouldn't be doing it, but when paired with build frameworks that like to use one set of options for all packages, glibc starts to stick out as an oddball (in that it fails). Considering it's easy enough to rename (it's used in just one place), let's do so. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-22Leading-tabify ChangeLog.Roland McGrath1-2/+2
2012-08-22Fix ChangeLog format.Roland McGrath1-5/+2
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt8-2/+298
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-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