external/glibc.git
14 years agoUse correct register for fourth parameter of x86-64 strncasecmp_l.
Ulrich Drepper [Mon, 16 Aug 2010 00:42:12 +0000 (17:42 -0700)]
Use correct register for fourth parameter of x86-64 strncasecmp_l.

14 years agoUndo inccorect change.
Ulrich Drepper [Sun, 15 Aug 2010 17:34:33 +0000 (10:34 -0700)]
Undo inccorect change.

14 years agoWhitespace fixes.
Ulrich Drepper [Sun, 15 Aug 2010 17:33:58 +0000 (10:33 -0700)]
Whitespace fixes.

14 years agoAdd optimized strncasecmp versions for x86-64.
Ulrich Drepper [Sun, 15 Aug 2010 05:04:01 +0000 (22:04 -0700)]
Add optimized strncasecmp versions for x86-64.

14 years agoFix x86-64 build without multiarch.
Ulrich Drepper [Sat, 14 Aug 2010 21:56:32 +0000 (14:56 -0700)]
Fix x86-64 build without multiarch.

14 years agoFix compilation
Andreas Schwab [Sat, 14 Aug 2010 11:16:04 +0000 (13:16 +0200)]
Fix compilation

14 years agoDefine EXTPROC for Linux.
Ulrich Drepper [Fri, 13 Aug 2010 03:39:44 +0000 (20:39 -0700)]
Define EXTPROC for Linux.

14 years agoPowerPC64 ABI fixes
Alan Modra [Thu, 12 Aug 2010 16:19:19 +0000 (09:19 -0700)]
PowerPC64 ABI fixes

14 years agoProperly quote output of locale
Andreas Schwab [Thu, 12 Aug 2010 16:05:50 +0000 (09:05 -0700)]
Properly quote output of locale

14 years agof_flags in Linux statfs implementation.
Ulrich Drepper [Wed, 11 Aug 2010 21:07:28 +0000 (14:07 -0700)]
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.

14 years agoDefine IN_EXCL_UNLINK
Ulrich Drepper [Wed, 11 Aug 2010 19:46:03 +0000 (12:46 -0700)]
Define IN_EXCL_UNLINK

14 years agoAdd support for Linux fanotify_init and fanotify_mask syscalls.
Ulrich Drepper [Wed, 11 Aug 2010 19:41:48 +0000 (12:41 -0700)]
Add support for Linux fanotify_init and fanotify_mask syscalls.

14 years agoAdd support for prlimit and prlimit64 on Linux.
Ulrich Drepper [Wed, 11 Aug 2010 18:18:52 +0000 (11:18 -0700)]
Add support for prlimit and prlimit64 on Linux.

14 years agoFix IPTOS_CLASS definition.
Ulrich Drepper [Wed, 11 Aug 2010 14:44:03 +0000 (07:44 -0700)]
Fix IPTOS_CLASS definition.

14 years agoAdd self-contained test for NSS.
Ulrich Drepper [Wed, 11 Aug 2010 14:25:02 +0000 (07:25 -0700)]
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.

14 years agoAvoid too much stack use in fnmatch.
Ulrich Drepper [Tue, 10 Aug 2010 04:09:37 +0000 (21:09 -0700)]
Avoid too much stack use in fnmatch.

14 years agox86: Add support for frame pointer less mcount
Andi Kleen [Sun, 8 Aug 2010 04:24:05 +0000 (21:24 -0700)]
x86: Add support for frame pointer less mcount

14 years agoCL
Ulrich Drepper [Sat, 7 Aug 2010 02:19:06 +0000 (19:19 -0700)]
CL

14 years ago(__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL.
Ulrich Drepper [Sat, 7 Aug 2010 02:18:05 +0000 (19:18 -0700)]
(__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL.

14 years agoHurd: fix ttyname{,_r} errno result for non-ttys
Samuel Thibault [Tue, 3 Aug 2010 16:54:22 +0000 (09:54 -0700)]
Hurd: fix ttyname{,_r} errno result for non-ttys

14 years agoHurd: fix timeout rounding in select
Samuel Thibault [Mon, 2 Aug 2010 23:46:12 +0000 (16:46 -0700)]
Hurd: fix timeout rounding in select

14 years agoAdd support for SSSE3 and SSE4.2 versions of strcasecmp on x86-64.
Ulrich Drepper [Sun, 1 Aug 2010 04:41:09 +0000 (21:41 -0700)]
Add support for SSSE3 and SSE4.2 versions of strcasecmp on x86-64.

14 years agoPretty printing x86-64 SSE4.3 strcmp.
Ulrich Drepper [Fri, 30 Jul 2010 19:54:37 +0000 (12:54 -0700)]
Pretty printing x86-64 SSE4.3 strcmp.

14 years agoImplement optimized strcaecmp for x86-64.
Ulrich Drepper [Fri, 30 Jul 2010 07:14:04 +0000 (00:14 -0700)]
Implement optimized strcaecmp for x86-64.

14 years agoFix tolower operation in strcasestr.
Ulrich Drepper [Fri, 30 Jul 2010 07:09:07 +0000 (00:09 -0700)]
Fix tolower operation in strcasestr.

14 years agoCleanup.
Ulrich Drepper [Thu, 29 Jul 2010 19:55:43 +0000 (12:55 -0700)]
Cleanup.

14 years agoBZ 11856: fix manual nit
Roland McGrath [Thu, 29 Jul 2010 17:49:42 +0000 (10:49 -0700)]
BZ 11856: fix manual nit

14 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 28 Jul 2010 04:15:07 +0000 (21:15 -0700)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

14 years agoAvoid compiling unneeded file in ld.so.
Ulrich Drepper [Wed, 28 Jul 2010 04:12:59 +0000 (21:12 -0700)]
Avoid compiling unneeded file in ld.so.

14 years agoDocument M_PERTURB
Andreas Schwab [Mon, 26 Jul 2010 13:28:15 +0000 (15:28 +0200)]
Document M_PERTURB

14 years agoAdd missing BZ.
Ulrich Drepper [Mon, 26 Jul 2010 20:52:13 +0000 (13:52 -0700)]
Add missing BZ.

14 years agoBZ #11840: Fix config.cache usage for -fgnu89-inline check.
Roland McGrath [Mon, 26 Jul 2010 19:45:17 +0000 (12:45 -0700)]
BZ #11840: Fix config.cache usage for -fgnu89-inline check.

14 years agoNEWS update
Ulrich Drepper [Mon, 26 Jul 2010 15:50:27 +0000 (08:50 -0700)]
NEWS update

14 years agoAdd optimized x86-64 implementation of strnlen.
Ulrich Drepper [Mon, 26 Jul 2010 15:37:08 +0000 (08:37 -0700)]
Add optimized x86-64 implementation of strnlen.

While at it, beef up the test suite for strnlen and add performance
tests for it, too.

14 years agoSpeed up x86-64 strcasestr a bit moew.
Ulrich Drepper [Sat, 24 Jul 2010 15:34:44 +0000 (08:34 -0700)]
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.

14 years agoAdd performance tests for strstr and strcasestr.
Ulrich Drepper [Sat, 24 Jul 2010 05:27:53 +0000 (22:27 -0700)]
Add performance tests for strstr and strcasestr.

14 years agoAdd missing file from last commit.
Andreas Schwab [Wed, 21 Jul 2010 15:44:35 +0000 (08:44 -0700)]
Add missing file from last commit.

14 years agoAdd strcasestr-nonascii to i386 build
Andreas Schwab [Wed, 21 Jul 2010 14:26:18 +0000 (07:26 -0700)]
Add strcasestr-nonascii to i386 build

14 years agoHurd: fix sendmsg memory leak in error paths
Emilio Pozuelo Monfort [Wed, 21 Jul 2010 02:19:34 +0000 (19:19 -0700)]
Hurd: fix sendmsg memory leak in error paths

14 years agoFix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching.
Roland McGrath [Wed, 21 Jul 2010 02:09:50 +0000 (19:09 -0700)]
Fix vDSO synthetic hwcap handling so they are not masked out from ld.so.cache matching.

14 years agoFix non-ASCII case of SSE4.2 strcasstr.
Ulrich Drepper [Fri, 16 Jul 2010 23:00:22 +0000 (16:00 -0700)]
Fix non-ASCII case of SSE4.2 strcasstr.

14 years agoSpeed up SSE4.2 strcasestr by avoiding indirect function call.
Ulrich Drepper [Fri, 16 Jul 2010 22:37:38 +0000 (15:37 -0700)]
Speed up SSE4.2 strcasestr by avoiding indirect function call.

14 years agoWhitespace fixes.
Ulrich Drepper [Thu, 15 Jul 2010 15:39:26 +0000 (08:39 -0700)]
Whitespace fixes.

14 years agoPOWER6/7 optimizations for copysign
Luis Machado [Thu, 15 Jul 2010 15:24:40 +0000 (08:24 -0700)]
POWER6/7 optimizations for copysign

14 years agoUse newer autoconf.
Ulrich Drepper [Sat, 10 Jul 2010 02:25:39 +0000 (19:25 -0700)]
Use newer autoconf.

14 years agoAvoid namespace pollution.
Ulrich Drepper [Sat, 10 Jul 2010 02:25:23 +0000 (19:25 -0700)]
Avoid namespace pollution.

14 years agoDon't pass NULL occation to dl_signal_cerror
Andreas Schwab [Tue, 6 Jul 2010 15:09:54 +0000 (08:09 -0700)]
Don't pass NULL occation to dl_signal_cerror

14 years agoFix type mismatch
Andreas Schwab [Tue, 6 Jul 2010 15:08:46 +0000 (08:08 -0700)]
Fix type mismatch

14 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 6 Jul 2010 14:49:58 +0000 (07:49 -0700)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

14 years agoImplement _PC_PIPE_BUF.
Ulrich Drepper [Tue, 6 Jul 2010 14:48:23 +0000 (07:48 -0700)]
Implement _PC_PIPE_BUF.

Now that the kernel has appropriate support we can implement this
fpathconf command correctly.

14 years agoManual wording fix for round{,f,l}.
Roland McGrath [Tue, 6 Jul 2010 01:28:24 +0000 (18:28 -0700)]
Manual wording fix for round{,f,l}.

14 years agoCleanup new tst-abstime program some more.
Ulrich Drepper [Sat, 3 Jul 2010 21:05:02 +0000 (14:05 -0700)]
Cleanup new tst-abstime program some more.

14 years agoMore linking issues fixed.
Ulrich Drepper [Fri, 2 Jul 2010 16:49:05 +0000 (09:49 -0700)]
More linking issues fixed.

14 years agoImprove new tst-abstime test.
Ulrich Drepper [Fri, 2 Jul 2010 14:08:07 +0000 (07:08 -0700)]
Improve new tst-abstime test.

14 years agoAdd missing file
Andreas Schwab [Wed, 30 Jun 2010 13:56:48 +0000 (15:56 +0200)]
Add missing file

14 years agoFix dlfcn/Makefile cleanup
Andreas Schwab [Fri, 2 Jul 2010 06:02:50 +0000 (23:02 -0700)]
Fix dlfcn/Makefile cleanup

14 years agoWork around kernel rejecting valid absolute timestamps
Andreas Schwab [Fri, 2 Jul 2010 02:07:14 +0000 (19:07 -0700)]
Work around kernel rejecting valid absolute timestamps

14 years agoFix build with newer linker.
Ulrich Drepper [Fri, 2 Jul 2010 02:03:29 +0000 (19:03 -0700)]
Fix build with newer linker.

14 years agopowerpc: Re-work the Implies structure
Luis Machado [Wed, 30 Jun 2010 16:57:38 +0000 (09:57 -0700)]
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)

14 years agoImprove 64bit memcpy/memmove for Atom, Core 2 and Core i7
H.J. Lu [Wed, 30 Jun 2010 15:26:11 +0000 (08:26 -0700)]
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.

14 years agoRevert unwanted patch. Again.
Ulrich Drepper [Mon, 28 Jun 2010 02:52:51 +0000 (19:52 -0700)]
Revert unwanted patch.  Again.

14 years agoFix whitespaces.
Ulrich Drepper [Mon, 28 Jun 2010 02:39:01 +0000 (19:39 -0700)]
Fix whitespaces.

14 years agoRevert "Sun agreed to a change of the license for the RPC code to a BSD-like license."
Ulrich Drepper [Mon, 28 Jun 2010 02:34:03 +0000 (19:34 -0700)]
Revert "Sun agreed to a change of the license for the RPC code to a BSD-like license."

This reverts commit ab09b221594f12d90a63d29cbf5488d91f39d3f3.

The lawyers now say the copy in glibc isn't contained in the
agreement.

14 years agoWhitespace fix in CL.
Ulrich Drepper [Mon, 28 Jun 2010 02:31:18 +0000 (19:31 -0700)]
Whitespace fix in CL.

14 years agoMore fixes to error handling in getlogin_r.
Andreas Schwab [Mon, 21 Jun 2010 14:57:12 +0000 (07:57 -0700)]
More fixes to error handling in getlogin_r.

14 years agoCorrect checking loop in group_member.
Ulrich Drepper [Sat, 19 Jun 2010 18:38:04 +0000 (11:38 -0700)]
Correct checking loop in group_member.

14 years agoFix error handling in Linux getlogin*.
Ulrich Drepper [Sat, 19 Jun 2010 16:54:28 +0000 (09:54 -0700)]
Fix error handling in Linux getlogin*.

14 years agodlfcn/Makefile cleanup
Andreas Schwab [Tue, 15 Jun 2010 00:32:36 +0000 (17:32 -0700)]
dlfcn/Makefile cleanup

14 years agoFlush cache after solving TEXTRELs if arch requires it.
Kirill A. Shutemov [Tue, 15 Jun 2010 00:23:01 +0000 (17:23 -0700)]
Flush cache after solving TEXTRELs if arch requires it.

14 years agoMore whitespace fixes.
Ulrich Drepper [Tue, 15 Jun 2010 00:16:23 +0000 (17:16 -0700)]
More whitespace fixes.

14 years agoFix whitespaces.
Ulrich Drepper [Tue, 15 Jun 2010 00:15:33 +0000 (17:15 -0700)]
Fix whitespaces.

14 years agopower7 string compare optimizations
Luis Machado [Tue, 15 Jun 2010 00:13:24 +0000 (17:13 -0700)]
power7 string compare optimizations

14 years ago[sh] Fix incorrect location of ifndef for __ASSUME_FUTEX_CLOCK_REALTIME.
Takashi Yoshii [Mon, 14 Jun 2010 23:56:22 +0000 (16:56 -0700)]
[sh] Fix incorrect location of ifndef for __ASSUME_FUTEX_CLOCK_REALTIME.

14 years agoFix use of extend_alloca in NIS
Andreas Schwab [Mon, 14 Jun 2010 23:54:43 +0000 (16:54 -0700)]
Fix use of extend_alloca in NIS

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Mon, 14 Jun 2010 21:48:37 +0000 (14:48 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

14 years agoDefine F_SETPIPE_SZ and F_GETPIPE_SZ.
Ulrich Drepper [Mon, 14 Jun 2010 21:47:34 +0000 (14:47 -0700)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ.

14 years agoChange manual license to GFDL v1.3.
Roland McGrath [Mon, 14 Jun 2010 18:15:00 +0000 (11:15 -0700)]
Change manual license to GFDL v1.3.

14 years agoFix a couple of __REDIRECT () __THROW occurrences
Jakub Jelinek [Mon, 14 Jun 2010 15:18:26 +0000 (08:18 -0700)]
Fix a couple of __REDIRECT () __THROW occurrences

This patch fixes some cases which fail to parse with C++.

14 years agoHurd: Fix linkat symlink handling.
Emilio Pozuelo Monfort [Wed, 2 Jun 2010 17:24:59 +0000 (10:24 -0700)]
Hurd: Fix linkat symlink handling.

14 years agoSmall fix to POWER7 32-bit memcpy
Luis Machado [Fri, 28 May 2010 21:19:21 +0000 (14:19 -0700)]
Small fix to POWER7 32-bit memcpy

14 years agoIncorrect x86 CPU family and model check.
H.J. Lu [Thu, 27 May 2010 18:14:18 +0000 (11:14 -0700)]
Incorrect x86 CPU family and model check.

14 years agoFix iov[] size in SH register_dump()
Takashi Yoshii [Wed, 26 May 2010 14:01:43 +0000 (07:01 -0700)]
Fix iov[] size in SH register_dump()

14 years agoSmall fix to POWER7 32-bit memset
Luis Machado [Tue, 25 May 2010 00:56:44 +0000 (17:56 -0700)]
Small fix to POWER7 32-bit memset

14 years agoDon't crash on unresolved weak symbol reference when auditing.
Ulrich Drepper [Sat, 22 May 2010 06:51:18 +0000 (23:51 -0700)]
Don't crash on unresolved weak symbol reference when auditing.

14 years agoDon't crash on unresolved weak symbol reference
Andreas Schwab [Fri, 21 May 2010 19:51:43 +0000 (12:51 -0700)]
Don't crash on unresolved weak symbol reference

14 years agoImplement recvmmsg also as socketcall
Andreas Schwab [Fri, 21 May 2010 19:11:28 +0000 (12:11 -0700)]
Implement recvmmsg also as socketcall

14 years agosunrpc: Fix spurious fall-through
Andreas Schwab [Fri, 21 May 2010 18:52:20 +0000 (11:52 -0700)]
sunrpc: Fix spurious fall-through

14 years agoMake <sys/timex.h> compatible with C++
Andreas Schwab [Fri, 21 May 2010 18:45:17 +0000 (11:45 -0700)]
Make <sys/timex.h> compatible with C++

14 years agoAdd missing files.
Luis Machado [Thu, 20 May 2010 11:35:05 +0000 (04:35 -0700)]
Add missing files.

14 years agoPOWER7 optimized memset.
Luis Machado [Wed, 19 May 2010 07:47:37 +0000 (00:47 -0700)]
POWER7 optimized memset.

14 years agoBeginning of 2.13 release.
Ulrich Drepper [Wed, 19 May 2010 07:39:18 +0000 (00:39 -0700)]
Beginning of 2.13 release.

14 years agoFix typo in es_CR locale.
Andreas Schwab [Wed, 19 May 2010 06:47:09 +0000 (23:47 -0700)]
Fix typo in es_CR locale.

14 years agoFix FP exception control.
Andrew Stubbs [Wed, 12 May 2010 17:18:26 +0000 (10:18 -0700)]
Fix FP exception control.

14 years agoFix a const warning in ldconfig.
Roland McGrath [Fri, 7 May 2010 23:23:03 +0000 (16:23 -0700)]
Fix a const warning in ldconfig.

14 years agoRefer to old CL file.
Ulrich Drepper [Fri, 7 May 2010 08:18:34 +0000 (01:18 -0700)]
Refer to old CL file.

14 years agoEnable IDN support in getent.
Ulrich Drepper [Fri, 7 May 2010 05:23:13 +0000 (22:23 -0700)]
Enable IDN support in getent.

14 years agoWS fixes
Ulrich Drepper [Thu, 6 May 2010 11:44:06 +0000 (04:44 -0700)]
WS fixes

14 years agoFix race in free sanity check.
Ulrich Drepper [Thu, 6 May 2010 11:42:46 +0000 (04:42 -0700)]
Fix race in free sanity check.

14 years agoFix lookup of collation sequence value during regexp matching
Andreas Schwab [Wed, 5 May 2010 16:59:25 +0000 (09:59 -0700)]
Fix lookup of collation sequence value during regexp matching

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Wed, 5 May 2010 16:48:21 +0000 (09:48 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc