Commit Graph

12461 Commits

Author SHA1 Message Date
Samuel Thibault ece2984070 Fix generic bits/sched.h for #define __need_schedparam uses. 2010-09-01 18:11:31 -07:00
Mike Frysinger fdc0c10d9b Update sparc epoll.h from epoll_create2 to epoll_create1 2010-09-01 12:45:02 -07:00
Mike Frysinger e53a31fe57 Fix typo in x86-64 epoll.h. 2010-09-01 12:42:48 -07:00
Andreas Schwab a726d7960e Fix array overflow in floating point parser 2010-09-01 12:38:44 -07:00
Ulrich Drepper f2933da978 More copyright changes. 2010-09-01 05:10:04 -07:00
Ulrich Drepper 2f3e3dc75f Remove duplicate version of pmap_getport from NIS code. 2010-09-01 04:12:55 -07:00
Andreas Schwab f3dcc2f9a5 Support fanotify_mark syscall on powerpc32 2010-08-31 09:46:57 +02:00
Roland McGrath 6d34eb5b45 Add missing i686/multiarch/Makefile bit for shared x86_64 code. 2010-08-27 17:11:38 -07:00
Ulrich Drepper c96d23fcaa Fixup x86 after x86-64 varshift change. 2010-08-27 12:10:11 -07:00
Ulrich Drepper 9ea3de11f1 Move slow Atom code to separate section. 2010-08-26 22:17:03 -07:00
H.J. Lu 623aac7f84 Unroll x86-64 strlen 2010-08-26 22:09:34 -07:00
Roland McGrath 8b2b771538 Clean up warnings in new x86_64/multiarch code. 2010-08-25 12:13:08 -07:00
H.J. Lu e73015f2d6 Unroll 32bit SSE strlen and handle slow bsf 2010-08-25 10:07:37 -07:00
Ulrich Drepper df24a73ecd Missing server address again leads to localhost being used 2010-08-25 07:43:53 -07:00
Roland McGrath 090555538d Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
Roland McGrath f2ac4868b7 Avoid nested comment. 2010-08-24 11:56:51 -07:00
Richard Henderson 73f27d5e72 Clean up SSE variable shifts 2010-08-24 11:35:01 -07:00
Mike Frysinger 84b9230c40 Remove multiarch dirs when gnu indirect is not supported 2010-08-23 07:51:49 -07:00
Petr Baudis 9bbd0ddc99 Update the LICENSES file. 2010-08-23 05:53:52 -07:00
Ulrich Drepper a7ab6ec83e Once again change RPC copyright notices.
According to email from Wim Coekaerts.
2010-08-19 10:38:55 -07:00
Ulrich Drepper 9da4bb316f Fix two typos in x86-64 SSE4.2 strncasecmp implementation. 2010-08-19 09:20:44 -07:00
Andreas Schwab bdaa77bc20 Fix ifunc thunk for strspn on x86 in static libc 2010-08-19 07:42:16 -07:00
Luis Machado fe2f79db99 powerpc: Various P7-optimized string functions 2010-08-19 07:38:41 -07:00
Anton Blanchard b9b42ee01c Replace divide and multiply with mask in sYSTRIm 2010-08-16 23:06:55 -07:00
Ulrich Drepper 004c737f7b Merge branch 'master' of ssh://sourceware.org/git/glibc 2010-08-16 07:07:05 -07:00
Ulrich Drepper 1c06ba3100 Simplify fanotify_init definition. 2010-08-16 07:06:38 -07:00
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