Commit Graph

12435 Commits

Author SHA1 Message Date
Ulrich Drepper
1feccb6caf Fix fourth parameter of SSE4.2 strcmp for x86-64. 2010-08-15 20:46:09 -07:00
H.J. Lu
f8392f4004 Add -fno-asynchronous-unwind-tables to initfini.s for i386 2010-08-15 20:09:23 -07:00
Andreas Schwab
3162f12e58 Remove third argument from fanotify_init function 2010-08-15 20:07:32 -07:00
Ulrich Drepper
28c90b2cf5 Use correct register for fourth parameter of x86-64 strncasecmp_l. 2010-08-15 17:42:12 -07:00
Ulrich Drepper
e9f82e0d1d Add optimized strncasecmp versions for x86-64. 2010-08-14 22:04:01 -07:00
Ulrich Drepper
ca6bb004eb Fix x86-64 build without multiarch. 2010-08-14 14:56:32 -07:00
Andreas Schwab
052fa7b33e Fix compilation 2010-08-14 13:19:25 +02:00
Ulrich Drepper
962dba7828 Define EXTPROC for Linux. 2010-08-12 20:39:44 -07:00
Alan Modra
bebff237c5 PowerPC64 ABI fixes 2010-08-12 09:19:19 -07:00
Andreas Schwab
026373745e Properly quote output of locale 2010-08-12 09:05:50 -07:00
Ulrich Drepper
3cdaa6adb1 f_flags in Linux statfs implementation.
The 2.6.36 kernel provides an additional field in the statfs results.
Use this value in the statvfs emulation to avoid filling in f_flag
the hard way.
2010-08-11 14:07:28 -07:00
Ulrich Drepper
754f7da38b Define IN_EXCL_UNLINK 2010-08-11 12:46:03 -07:00
Ulrich Drepper
10b3bedcb0 Add support for Linux fanotify_init and fanotify_mask syscalls. 2010-08-11 12:41:48 -07:00
Ulrich Drepper
c08fb0d7bb Add support for prlimit and prlimit64 on Linux. 2010-08-11 11:18:52 -07:00
Ulrich Drepper
15bac72bac Fix IPTOS_CLASS definition. 2010-08-11 07:44:03 -07:00
Ulrich Drepper
c3e2f19bb9 Add self-contained test for NSS.
While at it fix interaction between __nss_configure_lookup and nscd.
Otherwise the test fails if nscd is runnung.
2010-08-11 07:25:02 -07:00
Ulrich Drepper
f15ce4d8dc Avoid too much stack use in fnmatch. 2010-08-09 21:09:37 -07:00
Andi Kleen
d22e4cc939 x86: Add support for frame pointer less mcount 2010-08-07 21:24:05 -07:00
Ulrich Drepper
805bc17d68 CL 2010-08-06 19:19:06 -07:00
Samuel Thibault
fd3ebedafc Hurd: fix ttyname{,_r} errno result for non-ttys 2010-08-03 09:54:22 -07:00
Samuel Thibault
5a42321d43 Hurd: fix timeout rounding in select 2010-08-02 16:46:12 -07:00
Ulrich Drepper
73507d3ae0 Add support for SSSE3 and SSE4.2 versions of strcasecmp on x86-64. 2010-07-31 21:41:09 -07:00
Ulrich Drepper
66f6765a47 Pretty printing x86-64 SSE4.3 strcmp. 2010-07-30 12:54:37 -07:00
Ulrich Drepper
42e08a5438 Implement optimized strcaecmp for x86-64. 2010-07-30 00:14:04 -07:00
Ulrich Drepper
fe36dd025e Fix tolower operation in strcasestr. 2010-07-30 00:09:07 -07:00
Ulrich Drepper
76e6d6bca7 Cleanup. 2010-07-29 12:55:43 -07:00
Roland McGrath
48cbc0d6d0 BZ 11856: fix manual nit 2010-07-29 10:49:42 -07:00
Ulrich Drepper
02b7acedbb Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-07-27 21:15:07 -07:00
Ulrich Drepper
880113d91e Avoid compiling unneeded file in ld.so. 2010-07-27 21:12:59 -07:00
Andreas Schwab
deb9cabbf4 Document M_PERTURB 2010-07-27 13:24:49 +02:00
Roland McGrath
1c7570ff36 BZ #11840: Fix config.cache usage for -fgnu89-inline check. 2010-07-26 12:45:17 -07:00
Ulrich Drepper
24fb0f88ed Add optimized x86-64 implementation of strnlen.
While at it, beef up the test suite for strnlen and add performance
tests for it, too.
2010-07-26 08:37:08 -07:00
Ulrich Drepper
8e96b93aa7 Speed up x86-64 strcasestr a bit moew.
Using the new SSE4.2 instructions is cool but not really the fastest.
Some older SSE instructions can do the trick faster.
2010-07-24 08:34:44 -07:00
Ulrich Drepper
dbc676d4ff Add performance tests for strstr and strcasestr. 2010-07-23 22:27:53 -07:00
Andreas Schwab
f6a31e0eb6 Add strcasestr-nonascii to i386 build 2010-07-21 07:26:18 -07:00
Emilio Pozuelo Monfort
23d101d8ee Hurd: fix sendmsg memory leak in error paths 2010-07-20 19:19:34 -07:00
Roland McGrath
5dbc3b6cc0 Fix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching. 2010-07-20 19:09:50 -07:00
Ulrich Drepper
cc9f2e47a0 Speed up SSE4.2 strcasestr by avoiding indirect function call. 2010-07-16 15:37:38 -07:00
Luis Machado
77c1b06986 POWER6/7 optimizations for copysign 2010-07-15 08:24:40 -07:00
Ulrich Drepper
440566c3f4 Avoid namespace pollution. 2010-07-09 19:25:23 -07:00
Andreas Schwab
5be9d05d31 Don't pass NULL occation to dl_signal_cerror 2010-07-06 08:09:54 -07:00
Ulrich Drepper
eb5e79feb7 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2010-07-06 07:49:58 -07:00
Ulrich Drepper
8a492a675e Implement _PC_PIPE_BUF.
Now that the kernel has appropriate support we can implement this
fpathconf command correctly.
2010-07-06 07:48:23 -07:00
Roland McGrath
713df3d547 Manual wording fix for round{,f,l}. 2010-07-05 18:28:24 -07:00
Ulrich Drepper
702e8f1450 More linking issues fixed. 2010-07-02 09:49:05 -07:00
Andreas Schwab
52ed8be98e Fix dlfcn/Makefile cleanup 2010-07-01 23:02:50 -07:00
Luis Machado
f47c9a11ad powerpc: Re-work the Implies structure
This patch tries to organize the implies files for ppc, since there are
a number of processors and most of them are compatible with each other
(backwards compatible).

Having in mind that we start the search for processor-specific files in
the sysdeps/unix/sysv/linux tree
(sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be
exact), we would like to grab any linux-specific code from that tree
prior to going through the other tree (sysdeps/powerpc/...).

For that, i removed the Implies files that were originally inside the
fpu directories and placed then in the non-fpu directories (still inside
the unix/sysv/linux tree). If no processor-specific/linux-specific files
could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu
directory for that specific processor AND also the non-fpu directory for
that same tree.

If, again, no processor-specific code is found, we read another Implies
file that will point to the most compatible processor that we should
grab code from, and so on, until we reach the power4 processor.

So, in summary, the Implies files will live inside these directories
now:

* sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]
* sysdeps/powerpc/powerpc[32|64]/[processor]

Practical example of the order we will use to pick power6-specific code
with the new structure.

sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power6/fpu ->
sysdeps/powerpc/powerpc[32|64]/power6 ->
sysdeps/powerpc/powerpc[32|64]/power5+/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5+ ->
sysdeps/powerpc/powerpc[32|64]/power5/fpu ->
sysdeps/powerpc/powerpc[32|64]/power5 ->
sysdeps/powerpc/powerpc[32|64]/power4/fpu ->
sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the
generic path as usual)
2010-06-30 09:57:38 -07:00
H.J. Lu
6fb8cbcb58 Improve 64bit memcpy/memmove for Atom, Core 2 and Core i7
This patch includes optimized 64bit memcpy/memmove for Atom, Core 2 and
Core i7.  It improves memcpy by up to 3X on Atom, up to 4X on Core 2 and
up to 1X on Core i7.  It also improves memmove by up to 3X on Atom, up to
4X on Core 2 and up to 2X on Core i7.
2010-06-30 08:26:11 -07:00
Ulrich Drepper
4e733bacce Whitespace fix in CL. 2010-06-27 19:31:18 -07:00
Andreas Schwab
e35fcef8b7 More fixes to error handling in getlogin_r. 2010-06-21 07:57:12 -07:00
Ulrich Drepper
ac2b484c02 Correct checking loop in group_member. 2010-06-19 11:38:04 -07:00
Ulrich Drepper
63c4ed22b5 Fix error handling in Linux getlogin*. 2010-06-19 09:54:28 -07:00
Andreas Schwab
765ade4b29 dlfcn/Makefile cleanup 2010-06-14 17:32:36 -07:00
Kirill A. Shutemov
80da2e093c Flush cache after solving TEXTRELs if arch requires it. 2010-06-14 17:23:01 -07:00
Luis Machado
158db12267 power7 string compare optimizations 2010-06-14 17:13:24 -07:00
Andreas Schwab
caa78cf824 Fix use of extend_alloca in NIS 2010-06-14 16:54:43 -07:00
Ulrich Drepper
46658a1cbc Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
	ChangeLog
2010-06-14 14:48:37 -07:00
Ulrich Drepper
b2ef2c014b Define F_SETPIPE_SZ and F_GETPIPE_SZ. 2010-06-14 14:47:34 -07:00
Roland McGrath
fbd643b662 Change manual license to GFDL v1.3. 2010-06-14 11:15:00 -07:00
Jakub Jelinek
f32f28695d Fix a couple of __REDIRECT () __THROW occurrences
This patch fixes some cases which fail to parse with C++.
2010-06-14 08:18:26 -07:00
Emilio Pozuelo Monfort
2a50c07836 Hurd: Fix linkat symlink handling. 2010-06-02 10:25:56 -07:00
Luis Machado
eb5ad2eb0d Small fix to POWER7 32-bit memcpy 2010-05-28 14:19:21 -07:00
H.J. Lu
3c88fe1e3a Incorrect x86 CPU family and model check. 2010-05-27 11:14:18 -07:00
Takashi Yoshii
d2f7315176 Fix iov[] size in SH register_dump() 2010-05-26 07:01:43 -07:00
Luis Machado
ebd2e13d67 Small fix to POWER7 32-bit memset 2010-05-24 17:56:44 -07:00
Ulrich Drepper
b32b8b451b Don't crash on unresolved weak symbol reference when auditing. 2010-05-21 23:51:18 -07:00
Andreas Schwab
9acbe24da8 Don't crash on unresolved weak symbol reference 2010-05-21 12:51:43 -07:00
Andreas Schwab
3d04ff3a5d Implement recvmmsg also as socketcall 2010-05-21 12:11:28 -07:00
Andreas Schwab
f0ccf6ea41 sunrpc: Fix spurious fall-through 2010-05-21 11:52:20 -07:00
Andreas Schwab
5b08ac571f Make <sys/timex.h> compatible with C++ 2010-05-21 11:45:17 -07:00
Luis Machado
4828935d38 POWER7 optimized memset. 2010-05-19 00:47:37 -07:00
Ulrich Drepper
373d545e3a Beginning of 2.13 release. 2010-05-19 00:39:18 -07:00
Andrew Stubbs
21a2b1aeeb Fix FP exception control. 2010-05-12 10:18:26 -07:00
Roland McGrath
3f7dcb2b0f Fix a const warning in ldconfig. 2010-05-07 16:23:03 -07:00
Ulrich Drepper
265bb1ce94 Refer to old CL file. 2010-05-07 01:18:34 -07:00
Ulrich Drepper
a160f8d808 Enable IDN support in getent. 2010-05-06 22:23:13 -07:00
Ulrich Drepper
5f24d53acb Fix race in free sanity check. 2010-05-06 04:42:46 -07:00
Andreas Schwab
d84acf388e Fix lookup of collation sequence value during regexp matching 2010-05-05 09:59:25 -07:00
Ulrich Drepper
5d05c55424 Merge branch 'master' of ssh://sources.redhat.com/git/glibc 2010-05-05 09:48:21 -07:00
Ulrich Drepper
5ae958d741 Handle too-small buffers in Linux getlogin_r. 2010-05-05 09:44:50 -07:00
Andreas Schwab
70c9476e83 Regenerate INSTALL 2010-05-05 10:24:31 +02:00
Ulrich Drepper
3155f06621 Remove unnecessary Alpha support. 2010-05-05 00:26:14 -07:00
Ulrich Drepper
5fece6304c Fix CL. 2010-05-03 21:44:07 -07:00
Ulrich Drepper
e28c88707e Prepare for release. 2010-05-03 14:11:14 -07:00
Ulrich Drepper
7dee26605b Fix ldconfig to handle symlinks in chroot correctly. 2010-05-03 14:04:52 -07:00
Ulrich Drepper
f297602394 Simplify OOM handling in ldconfig. 2010-05-03 13:33:13 -07:00
Ulrich Drepper
49bd556d43 One more bug in ldconfig -r handling. 2010-05-03 10:40:30 -07:00
Andreas Schwab
5a2a1d7504 Don't deadlock in __dl_iterate_phdr while (un)loading objects. 2010-05-03 08:08:28 -07:00
Ulrich Drepper
c739ec3d81 Code cleanup in __dl_iterate_phdr. 2010-05-03 06:34:56 -07:00
Ulrich Drepper
ab00f4eac8 Fix handling if newline in addmntent. 2010-05-02 12:12:55 -07:00
Bruno Haible
8c0677fe5d BZ #11538: Fix ttyname_r callers not to expect errno was set. 2010-04-28 15:00:14 -07:00
Bruno Haible
6cffee3611 BZ #11537: Hurd: Fix ttyname_r error return value. 2010-04-26 10:07:15 -07:00
Emilio Pozuelo Monfort
67481400c5 Hurd: Fix file_name_lookup_at error case return value. 2010-04-26 09:59:30 -07:00
Ulrich Drepper
85071980b3 Update vi translation file. 2010-04-22 07:10:28 -07:00
Ulrich Drepper
93ac578256 Update bg translation file. 2010-04-21 16:51:41 -07:00
Roland McGrath
1d4bf3155f Link elf/noload test against -ldl. 2010-04-19 15:38:48 -07:00
Roland McGrath
7e2b0c8562 Link as-needed against ld.so. 2010-04-19 15:31:43 -07:00
Roland McGrath
c98d4212d0 tst-fmemopen: Do not write test file in $srcdir. 2010-04-19 13:48:00 -07:00
H.J. Lu
1cdb2151fb Missing CL. 2010-04-15 07:50:47 -07:00
H.J. Lu
a11ec63713 Add x86-32 FMA support 2010-04-14 22:27:59 -07:00
H.J. Lu
df87f54923 Check DATA_CACHE_SIZE_HALF 2010-04-14 22:18:27 -07:00
Andreas Schwab
18a26b301b Don't crash in trace mode when dependencies are missing 2010-04-14 22:16:06 -07:00
H.J. Lu
dd37cd1a12 Optimie x86-64 SSE4 memcmp for unaligned data. 2010-04-14 17:53:44 -07:00
H.J. Lu
404a6e3201 x86-64 SSE4 optimized memcmp
This is 64bit SSE4 optimized memcmp. It improves memcmp by upto 3X
on Intel Core i7.
2010-04-14 00:12:53 -07:00
Ulrich Drepper
bbbdd77809 Update x86-64 cpu multiarch selection header. 2010-04-13 19:17:10 -07:00
Matt Fleming
3d1020f0cc elf/elf.h: Add SH specific ELF header flags. 2010-04-13 12:10:31 -07:00
Andreas Schwab
0dabf204ef Fix makecontext on s390/s390x 2010-04-13 10:23:22 -07:00
Andreas Schwab
ef634a94c7 Fix use of ucontext_t objects in tst-makecontext3
Objects of type ucontext_t cannot be copied, only getcontext can
properly initialize them.  For example, on powerpc the structure
contains a pointer into itself, so makecontext modifies the original
object by side effect.
2010-04-13 07:13:00 -07:00
Ulrich Drepper
ea42a20cae Fix crash on reloading of gai data in nscd. 2010-04-09 21:38:20 -07:00
Roland McGrath
17ad387727 Use a stamp file for libc-abis.h rule. 2010-04-09 15:31:45 -07:00
Roland McGrath
4ae73ca00a Revert "Shorten build commands"
This reverts commit 59d9f1d698.
2010-04-09 15:18:58 -07:00
Roland McGrath
3aa6513708 Fix tst-chmod not to write into srcdir. 2010-04-09 13:59:34 -07:00
Ulrich Drepper
fc97f36d7f Add BZ to an older patch. 2010-04-09 07:56:29 -07:00
Ulrich Drepper
0a62a34919 Add BZ number. 2010-04-08 20:10:26 -07:00
Ulrich Drepper
d55d558b4e Print reload count in nscd statistics. 2010-04-08 19:58:29 -07:00
Ulrich Drepper
aa6436d6ad Fix reading loginuid file in getlogin{,_r}. 2010-04-08 19:04:33 -07:00
Ulrich Drepper
ad3d3e8f20 Fix possibly uninitilized variable handling.
If malloc errors are ignored (which say aren't by default and never
should be) malloc in the old, slow form might use an uninitialized
variable.
2010-04-08 17:12:42 -07:00
Daniel Jacobowitz
59d9f1d698 Shorten build commands
This patch scratches an itch.  Each individual gcc command in the
glibc build is over 1K, which means it takes up a good chunk of my
terminal.  Most of that is include paths.  Any version of GCC new
enough to build glibc supports response files, which were added in
2005.  So use a response file for the static list of include paths.
Now the build commands are a lot shorter, and easier to use when
developing glibc.
2010-04-08 16:48:17 -07:00
Ulrich Drepper
85997fc3eb Merge remote branch 'origin/roland/hwcap_mask' 2010-04-08 16:06:54 -07:00
Ulrich Drepper
39be1d1f7b Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
	ChangeLog
2010-04-08 15:57:39 -07:00
Andreas Schwab
de240a05b3 Fix fallocate error return on i386. 2010-04-08 15:44:55 -07:00
Ulrich Drepper
88e236a627 Fix cproj implmentation. 2010-04-08 15:32:51 -07:00
Roland McGrath
df5efd61b0 Fix libc-abis rules to be correct for add-on ports. 2010-04-08 15:29:19 -07:00
Ulrich Drepper
e326768467 Add tests for recent getopt changes. 2010-04-07 22:59:40 -07:00
Eric Blake
66b93be793 getopt mishandles optstring of "+:" 2010-04-07 17:56:20 -07:00
Eric Blake
cf0b68196c getopt mistakenly allows '-;' as short option 2010-04-07 17:28:36 -07:00
Eric Blake
aa7f642769 Fix -W with optional parameters in getopt.
According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'.  But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.
2010-04-07 17:16:27 -07:00
Ulrich Drepper
71170aa0a9 Implement new mode for NIS passwd.adjunct.byname table.
The passwd.adjunct.byname table will not be used to fill in password fields
in the passwd.byname replies.  Instead it is used to synthesize the
shadow.byname table, should it be missing.  This is a useful mode in some
installations involving Solaris.
2010-04-07 07:37:39 -07:00
H.J. Lu
76b667f12d Fix non-add-on handling of libc-abis. 2010-04-07 06:38:35 -07:00
Joseph Myers
8824d4aa66 Fix libc-abis handling for add-ons. 2010-04-06 17:32:29 -07:00
Paul Pluzhnikov
2e7c805d5e Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS. 2010-04-05 20:17:37 -07:00
Joseph Myers
afd46a4c7d elf/elf.h (ELFOSABI_ARM_AEABI): Define. 2010-04-05 20:14:43 -07:00
Roland McGrath
f571a994ce Move unwind-resume code from NPTL to sysdeps/gnu. 2010-04-05 20:07:39 -07:00
Roland McGrath
7bfa311ff5 Obey LD_HWCAP_MASK in ld.so.cache lookups. 2010-04-05 19:47:27 -07:00
Roland McGrath
4dd019e3a1 elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. 2010-04-05 19:44:16 -07:00
Ulrich Drepper
e5c42595d0 Update dutch translation. 2010-04-05 13:10:56 -07:00
Ulrich Drepper
4535680d03 Handle DNS timeouts in old-style lookkup code. 2010-04-05 12:21:20 -07:00
Ulrich Drepper
4bc2bcba67 Fix aux cache handling in ldconfig with chroot. 2010-04-05 11:26:43 -07:00
Ulrich Drepper
247fdc8ee6 Fix printing error messages in getopt. 2010-04-04 22:48:55 -07:00
Ulrich Drepper
2cd9670885 Declare iruserok and iruserok_af. 2010-04-04 22:01:52 -07:00
Ulrich Drepper
7ebaec64a0 Add test case for last argp bug. 2010-04-04 11:28:36 -07:00
Sergey Poznyakoff
8c6de69d00 Fix option aliasing in argp. 2010-04-04 10:04:55 -07:00
Ulrich Drepper
cb652f30b0 Handle POSIX-compliant errno value of unlink in remove. 2010-04-04 02:08:37 -07:00
Ulrich Drepper
952df0afdc Fix definition and testing of S_ISSOCK. 2010-04-04 01:51:01 -07:00
Ulrich Drepper
9e37946dba Fix retrieving of kernel header version. 2010-04-04 01:02:09 -07:00
Ulrich Drepper
22f4f44b67 Fix concurrent handling of __cpu_features. 2010-04-04 00:25:46 -07:00
Ulrich Drepper
1a81139728 Handle unnecessary padding in getdents64.
The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition.  We have to
avoid copying those padding bytes in the readdir64_r function.
2010-04-03 23:51:40 -07:00
Ulrich Drepper
b8b14c4cc3 Fix changes to interface list during getifaddrs calls. 2010-04-03 20:36:59 -07:00
Ryan S. Arnold
3ed8e24122 Remove incorrect paring of /proc/stat etc. 2010-04-03 19:20:29 -07:00
Ulrich Drepper
ed08740859 Document problem with NATs in getaddrinfo. 2010-04-03 17:56:51 -07:00