platform/upstream/glibc.git
13 years agoSmall optimization of alloca handling.
Ulrich Drepper [Fri, 3 Sep 2010 11:42:44 +0000 (04:42 -0700)]
Small optimization of alloca handling.

13 years agoUpdate x86-64 mpn routines from GMP 5.0.1.
Ulrich Drepper [Fri, 3 Sep 2010 06:36:25 +0000 (23:36 -0700)]
Update x86-64 mpn routines from GMP 5.0.1.

13 years agoFix generic bits/sched.h for #define __need_schedparam uses.
Samuel Thibault [Thu, 2 Sep 2010 01:11:31 +0000 (18:11 -0700)]
Fix generic bits/sched.h for #define __need_schedparam uses.

13 years agoUpdate sparc epoll.h from epoll_create2 to epoll_create1
Mike Frysinger [Wed, 1 Sep 2010 19:45:02 +0000 (12:45 -0700)]
Update sparc epoll.h from epoll_create2 to epoll_create1

13 years agoFix typo in x86-64 epoll.h.
Mike Frysinger [Wed, 1 Sep 2010 19:42:48 +0000 (12:42 -0700)]
Fix typo in x86-64 epoll.h.

13 years agoFix array overflow in floating point parser
Andreas Schwab [Wed, 1 Sep 2010 19:38:44 +0000 (12:38 -0700)]
Fix array overflow in floating point parser

13 years agoMore copyright changes.
Ulrich Drepper [Wed, 1 Sep 2010 12:10:04 +0000 (05:10 -0700)]
More copyright changes.

13 years agoRemove duplicate version of pmap_getport from NIS code.
Ulrich Drepper [Wed, 1 Sep 2010 11:12:55 +0000 (04:12 -0700)]
Remove duplicate version of pmap_getport from NIS code.

13 years agoSupport fanotify_mark syscall on powerpc32
Andreas Schwab [Sat, 14 Aug 2010 16:06:10 +0000 (18:06 +0200)]
Support fanotify_mark syscall on powerpc32

13 years agoAdd missing i686/multiarch/Makefile bit for shared x86_64 code.
Roland McGrath [Sat, 28 Aug 2010 00:11:38 +0000 (17:11 -0700)]
Add missing i686/multiarch/Makefile bit for shared x86_64 code.

13 years agoFixup x86 after x86-64 varshift change.
Ulrich Drepper [Fri, 27 Aug 2010 19:10:11 +0000 (12:10 -0700)]
Fixup x86 after x86-64 varshift change.

13 years agoFix typo in last commit.
Ulrich Drepper [Fri, 27 Aug 2010 05:35:42 +0000 (22:35 -0700)]
Fix typo in last commit.

13 years agoMove slow Atom code to separate section.
Ulrich Drepper [Fri, 27 Aug 2010 05:17:03 +0000 (22:17 -0700)]
Move slow Atom code to separate section.

13 years agoShorten x86-64 strlen a bit.
Ulrich Drepper [Fri, 27 Aug 2010 05:12:16 +0000 (22:12 -0700)]
Shorten x86-64 strlen a bit.

13 years agoUnroll x86-64 strlen
H.J. Lu [Fri, 27 Aug 2010 05:09:34 +0000 (22:09 -0700)]
Unroll x86-64 strlen

13 years agoMissing comma in last commit.
H.J. Lu [Thu, 26 Aug 2010 20:18:46 +0000 (13:18 -0700)]
Missing comma in last commit.

13 years agoClean up warnings in new x86_64/multiarch code.
Roland McGrath [Wed, 25 Aug 2010 19:13:08 +0000 (12:13 -0700)]
Clean up warnings in new x86_64/multiarch code.

13 years agoUnroll 32bit SSE strlen and handle slow bsf
H.J. Lu [Wed, 25 Aug 2010 17:07:37 +0000 (10:07 -0700)]
Unroll 32bit SSE strlen and handle slow bsf

13 years agoNEWS udpate.
Ulrich Drepper [Wed, 25 Aug 2010 14:47:17 +0000 (07:47 -0700)]
NEWS udpate.

13 years agoMissing server address again leads to localhost being used
Ulrich Drepper [Wed, 25 Aug 2010 14:43:53 +0000 (07:43 -0700)]
Missing server address again leads to localhost being used

13 years agoRejigger header generation for default uname implementation.
Roland McGrath [Tue, 24 Aug 2010 18:55:53 +0000 (11:55 -0700)]
Rejigger header generation for default uname implementation.

13 years agoAvoid nested comment.
Roland McGrath [Tue, 24 Aug 2010 18:52:12 +0000 (11:52 -0700)]
Avoid nested comment.

13 years agoAdd missing copyright year updated and pretty printing.
Ulrich Drepper [Tue, 24 Aug 2010 18:42:19 +0000 (11:42 -0700)]
Add missing copyright year updated and pretty printing.

13 years agoClean up SSE variable shifts
Richard Henderson [Tue, 24 Aug 2010 18:35:01 +0000 (11:35 -0700)]
Clean up SSE variable shifts

13 years agoRemove multiarch dirs when gnu indirect is not supported
Mike Frysinger [Mon, 23 Aug 2010 14:51:49 +0000 (07:51 -0700)]
Remove multiarch dirs when gnu indirect is not supported

13 years agoUpdate the LICENSES file.
Petr Baudis [Mon, 23 Aug 2010 12:53:52 +0000 (05:53 -0700)]
Update the LICENSES file.

13 years agoOnce again change RPC copyright notices.
Ulrich Drepper [Thu, 19 Aug 2010 17:38:55 +0000 (10:38 -0700)]
Once again change RPC copyright notices.

According to email from Wim Coekaerts.

13 years agoFix two typos in x86-64 SSE4.2 strncasecmp implementation.
Ulrich Drepper [Thu, 19 Aug 2010 16:20:44 +0000 (09:20 -0700)]
Fix two typos in x86-64 SSE4.2 strncasecmp implementation.

13 years agoFix ifunc thunk for strspn on x86 in static libc
Andreas Schwab [Thu, 19 Aug 2010 14:42:16 +0000 (07:42 -0700)]
Fix ifunc thunk for strspn on x86 in static libc

13 years agopowerpc: Various P7-optimized string functions
Luis Machado [Thu, 19 Aug 2010 14:38:41 +0000 (07:38 -0700)]
powerpc: Various P7-optimized string functions

13 years agoFix x86 pthread_cond_signal() FUTEX_WAKE_OP fallback
Dinakar Guniguntala [Thu, 19 Aug 2010 07:46:19 +0000 (00:46 -0700)]
Fix x86 pthread_cond_signal() FUTEX_WAKE_OP fallback

13 years agoReplace divide and multiply with mask in sYSTRIm
Anton Blanchard [Tue, 17 Aug 2010 06:06:55 +0000 (23:06 -0700)]
Replace divide and multiply with mask in sYSTRIm

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Mon, 16 Aug 2010 14:07:05 +0000 (07:07 -0700)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoSimplify fanotify_init definition.
Ulrich Drepper [Mon, 16 Aug 2010 14:06:38 +0000 (07:06 -0700)]
Simplify fanotify_init definition.

13 years agoFix last CL.
Ulrich Drepper [Mon, 16 Aug 2010 14:03:58 +0000 (07:03 -0700)]
Fix last CL.

13 years agoFix fourth parameter of SSE4.2 strcmp for x86-64.
Ulrich Drepper [Mon, 16 Aug 2010 03:46:09 +0000 (20:46 -0700)]
Fix fourth parameter of SSE4.2 strcmp for x86-64.

13 years agoAdd -fno-asynchronous-unwind-tables to initfini.s for i386
H.J. Lu [Mon, 16 Aug 2010 03:09:23 +0000 (20:09 -0700)]
Add -fno-asynchronous-unwind-tables to initfini.s for i386

13 years agoRemove third argument from fanotify_init function
Andreas Schwab [Mon, 16 Aug 2010 03:07:32 +0000 (20:07 -0700)]
Remove third argument from fanotify_init function

13 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.

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

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

13 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.

13 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.

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

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

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

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

13 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.

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

13 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.

13 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.

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

13 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.

13 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.

13 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

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

13 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.

13 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

13 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

13 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.

13 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.

13 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.

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

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

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

13 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

13 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.

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

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

13 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.

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

13 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.

13 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.

13 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.