Ulrich Drepper
6fb2dde3f1
Make complete getcwd work in rtld
2011-05-08 14:53:20 -04:00
Ulrich Drepper
7fb90fb89b
Fix Linux getcwd for long paths
...
The getcwd syscall (so far?) can only handle path up to one page
in size. There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this. In that case fall
back to the generic getcwd.
Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
Ulrich Drepper
28377d1bf5
Optimize fdopendir a bit.
...
Don't call fcntl(F_SETFD) unnecessarily.
2011-05-08 00:48:30 -04:00
Jonathan Nieder
9572119174
Actually undefine ARG_MAX from <linux/limits.h>
2011-05-07 13:20:33 -04:00
Ulrich Drepper
d08055417d
Misplaced new line in last patch
2011-05-07 09:13:43 -04:00
Paul Pluzhnikov
8a35c9120f
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
2011-05-07 09:03:36 -04:00
Ulrich Drepper
1bfbe0d335
Better use of open in pathconf.
2011-05-02 21:34:34 -04:00
Maciej Babinski
0b592a30f5
getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-05-02 21:11:17 -04:00
Ulrich Drepper
6e04cbbe79
Fix pathconf(_PC_BUF_SIZE).
2011-05-02 20:59:51 -04:00
Ulrich Drepper
7a41d99a35
Fix whitespaces.
2011-04-22 21:38:13 -04:00
Jim Meyering
ded5b9b7c7
Remove doubled words.
2011-04-22 21:34:32 -04:00
Mike Frysinger
4c559bcdf3
Fix static linking with checking x86/x86-64 memcpy.
2011-04-17 22:20:47 -04:00
Andreas Schwab
4420675c9d
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
2011-04-17 22:03:53 -04:00
Ulrich Drepper
75ea32abcd
Fix FPU context handling in getcontext on x86-64.
...
fnstenv on x86-64 seems to clear the state. Work around.
2011-04-17 21:51:26 -04:00
Justin P. Mattock
94409c736b
Typo fix appproximated.
2011-04-17 20:56:07 -04:00
Andreas Krebbel
2739047682
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
2011-04-17 20:43:59 -04:00
Andreas Krebbel
1044270502
Skip extra zeroes when searching auxv on s390
2011-04-17 20:41:45 -04:00
Ulrich Drepper
e6c6149412
Fix memory leak in TLS of loaded objects.
2011-04-10 22:43:01 -04:00
Andreas Schwab
f12a32e6f0
Make ppc sync_file_range cancelable.
2011-04-09 11:07:18 -04:00
Ulrich Drepper
38a7d692fc
Fix typo in comment.
2011-04-09 11:01:37 -04:00
Andreas Schwab
e451d22b22
Maintain stack alignment in ____longjmp_chk on x86_64
2011-04-07 16:23:52 -04:00
Ulrich Drepper
dedc7c7b05
Fix typo in cache information table for x86-{32,64}.
2011-04-03 09:32:31 -04:00
Ulrich Drepper
94521213b6
Define CLOCK_BOOTTIME.
2011-04-02 15:27:07 -04:00
H.J. Lu
0354e35501
Work around old buggy program which cannot cope with memcpy semantics.
2011-04-01 19:38:21 -04:00
Andreas Schwab
81a5726bd2
Add syncfs syscall.
2011-04-01 13:08:28 -04:00
Andreas Schwab
00e5419f8e
Rename open_by_handle to open_by_handle_at.
2011-04-01 13:05:15 -04:00
Ulrich Drepper
658e451d8b
Define O_PATH.
2011-04-01 11:46:10 -04:00
Ulrich Drepper
3167dad07c
Also make x86 sync_file_range a cancellation point.
2011-04-01 11:33:14 -04:00
Ulrich Drepper
748876bf1c
Really implement fallocate{,64} and sync_file_range as cancellation points.
2011-04-01 11:15:08 -04:00
Andreas Schwab
6e63d5e1ae
Install bits/timex.h header.
2011-04-01 10:40:53 -04:00
Ulrich Drepper
158648c0bd
Add support for name_to_handle_at and open_by_handle.
2011-04-01 10:33:37 -04:00
Ulrich Drepper
034c4e1503
Export new symbol.
2011-03-31 06:30:18 -04:00
Ulrich Drepper
83fe108b0a
Add clock_adjtime syscall.
2011-03-30 22:00:57 -04:00
Ulrich Drepper
bb2420590c
Last change caused infinite loops because of missing loop increment.
2011-03-22 01:52:43 -04:00
H.J. Lu
c97a1282a4
Handle page boundaries in x86 SSE4.2 strncmp.
2011-03-21 05:35:38 -04:00
Ulrich Drepper
2a11560107
Implement x86 cpuid handling of leaf4 for cache information.
2011-03-20 08:14:30 -04:00
Ryan S. Arnold
ccfe366e6f
PowerPC: Fix POWER6 s_isnanf.S: END(__isnan) to END(__isnanf)
2011-03-18 05:15:00 -04:00
Ulrich Drepper
f6ce0f974b
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-03-10 12:53:39 -05:00
Ulrich Drepper
908ea63341
Regenerate.
2011-03-10 05:27:54 -05:00
Mike Frysinger
03592fc7ea
sparc64: Relax tls linking test.
2011-03-10 00:38:59 -08:00
Harsha Jagasia
7e4ba49cd3
Enable SSE2 memset for AMD'supcoming Orochi processor.
...
This patch enables SSE2 memset for AMD's upcoming Orochi processor.
This patch also fixes the following bug:
For misaligned blocks larger than > 144 Bytes, memset branches into
the integer code path depending on the value of misalignment even if
the startup code chooses the SSE2 code path upfront, when multiarch
is enabled.
2011-03-04 23:30:08 -05:00
David S. Miller
012d35f761
Fix sparc64 bzero on non-Niagara systems.
2011-03-03 13:25:36 -08:00
Samuel Thibault
6c8a2e88d1
Fix __if_freereq crash: Unlike the generic version which uses free, Hurd needs munmap.
2011-02-21 16:53:10 -08:00
Ulrich Drepper
baa6c69a57
Work around empty line at end file generated by autoconf.
2011-02-17 01:26:07 -05:00
Ulrich Drepper
be6bd0b7ab
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-02-17 01:22:52 -05:00
Ryan S. Arnold
d55fd7a557
Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int.
2011-02-17 01:21:08 -05:00
Ryan S. Arnold
2206397e1c
Disable VSX usage in rtld.c to prevent TOC ref before relocs are resolved.
2011-02-17 00:59:15 -05:00
Samuel Thibault
8e31c82dbd
Add multiple inclusion protection to some Mach/i386 internal headers.
2011-02-16 15:16:33 -08:00
Ulrich Drepper
e943389325
Remove use of ranlib.
2011-02-15 14:52:29 -05:00
Andreas Schwab
edf9294e7a
Update sysdeps/unix/sysv/linux/sparc/bits/socket.h
2011-02-07 22:48:55 -05:00