platform/upstream/glibc.git
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.

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

13 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

13 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

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

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

13 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

14 years agoFix name of tt_RU.UTF-8@iqtelif locale.
Andreas Schwab [Wed, 5 May 2010 16:47:25 +0000 (09:47 -0700)]
Fix name of tt_RU.UTF-8@iqtelif locale.

14 years agoHandle too-small buffers in Linux getlogin_r.
Ulrich Drepper [Wed, 5 May 2010 16:44:50 +0000 (09:44 -0700)]
Handle too-small buffers in Linux getlogin_r.

14 years agoRegenerate INSTALL
Andreas Schwab [Wed, 5 May 2010 08:14:51 +0000 (10:14 +0200)]
Regenerate INSTALL

14 years agoRemove unnecessary Alpha support.
Ulrich Drepper [Wed, 5 May 2010 07:26:14 +0000 (00:26 -0700)]
Remove unnecessary Alpha support.

14 years agoMention more bugs which are fixed.
Ulrich Drepper [Tue, 4 May 2010 11:27:23 +0000 (04:27 -0700)]
Mention more bugs which are fixed.

14 years agoFix CL.
Ulrich Drepper [Tue, 4 May 2010 04:44:07 +0000 (21:44 -0700)]
Fix CL.

14 years agoPrepare for release. glibc-2.12
Ulrich Drepper [Mon, 3 May 2010 21:11:14 +0000 (14:11 -0700)]
Prepare for release.

14 years agoFix ldconfig to handle symlinks in chroot correctly.
Ulrich Drepper [Mon, 3 May 2010 21:04:52 +0000 (14:04 -0700)]
Fix ldconfig to handle symlinks in chroot correctly.

14 years agoSimplify OOM handling in ldconfig.
Ulrich Drepper [Mon, 3 May 2010 20:33:13 +0000 (13:33 -0700)]
Simplify OOM handling in ldconfig.

14 years agoOne more bug in ldconfig -r handling.
Ulrich Drepper [Mon, 3 May 2010 17:40:30 +0000 (10:40 -0700)]
One more bug in ldconfig -r handling.

14 years agoStart of week is wrong for Switzerland.
Ulrich Drepper [Mon, 3 May 2010 17:04:06 +0000 (10:04 -0700)]
Start of week is wrong for Switzerland.

14 years agoDon't deadlock in __dl_iterate_phdr while (un)loading objects.
Andreas Schwab [Mon, 3 May 2010 15:08:28 +0000 (08:08 -0700)]
Don't deadlock in __dl_iterate_phdr while (un)loading objects.

14 years agoCode cleanup in __dl_iterate_phdr.
Ulrich Drepper [Mon, 3 May 2010 13:34:56 +0000 (06:34 -0700)]
Code cleanup in __dl_iterate_phdr.

14 years agoFix handling if newline in addmntent.
Ulrich Drepper [Sun, 2 May 2010 19:12:55 +0000 (12:12 -0700)]
Fix handling if newline in addmntent.

14 years agoBZ #11538: Fix ttyname_r callers not to expect errno was set.
Bruno Haible [Wed, 28 Apr 2010 22:00:14 +0000 (15:00 -0700)]
BZ #11538: Fix ttyname_r callers not to expect errno was set.

14 years agoBZ #11537: Hurd: Fix ttyname_r error return value.
Bruno Haible [Mon, 26 Apr 2010 17:07:15 +0000 (10:07 -0700)]
BZ #11537: Hurd: Fix ttyname_r error return value.

14 years agoHurd: Fix file_name_lookup_at error case return value.
Emilio Pozuelo Monfort [Mon, 26 Apr 2010 16:59:30 +0000 (09:59 -0700)]
Hurd: Fix file_name_lookup_at error case return value.

14 years agoUpdate vi translation file.
Ulrich Drepper [Thu, 22 Apr 2010 14:10:28 +0000 (07:10 -0700)]
Update vi translation file.

14 years agoUpdate bg translation file.
Ulrich Drepper [Wed, 21 Apr 2010 23:51:41 +0000 (16:51 -0700)]
Update bg translation file.

14 years agoLink elf/noload test against -ldl.
Roland McGrath [Mon, 19 Apr 2010 22:38:48 +0000 (15:38 -0700)]
Link elf/noload test against -ldl.

14 years agoLink as-needed against ld.so.
Roland McGrath [Mon, 19 Apr 2010 22:31:43 +0000 (15:31 -0700)]
Link as-needed against ld.so.

14 years agotst-fmemopen: Do not write test file in $srcdir.
Roland McGrath [Mon, 19 Apr 2010 20:48:00 +0000 (13:48 -0700)]
tst-fmemopen: Do not write test file in $srcdir.

14 years agoMissing CL.
H.J. Lu [Thu, 15 Apr 2010 14:50:47 +0000 (07:50 -0700)]
Missing CL.

14 years agoFix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.S
H.J. Lu [Thu, 15 Apr 2010 14:49:30 +0000 (07:49 -0700)]
Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.S

14 years agoWhitespace fix.
Ulrich Drepper [Thu, 15 Apr 2010 05:29:51 +0000 (22:29 -0700)]
Whitespace fix.

14 years agoAdd x86-32 FMA support
H.J. Lu [Thu, 15 Apr 2010 05:27:59 +0000 (22:27 -0700)]
Add x86-32 FMA support

14 years agoCheck DATA_CACHE_SIZE_HALF
H.J. Lu [Thu, 15 Apr 2010 05:18:27 +0000 (22:18 -0700)]
Check DATA_CACHE_SIZE_HALF

14 years agoDon't crash in trace mode when dependencies are missing
Andreas Schwab [Thu, 15 Apr 2010 05:16:06 +0000 (22:16 -0700)]
Don't crash in trace mode when dependencies are missing

14 years agoRemove unintended change.
Ulrich Drepper [Thu, 15 Apr 2010 04:09:21 +0000 (21:09 -0700)]
Remove unintended change.

14 years agoOptimie x86-64 SSE4 memcmp for unaligned data.
H.J. Lu [Thu, 15 Apr 2010 00:53:44 +0000 (17:53 -0700)]
Optimie x86-64 SSE4 memcmp for unaligned data.

14 years agox86-64 SSE4 optimized memcmp
H.J. Lu [Wed, 14 Apr 2010 07:12:53 +0000 (00:12 -0700)]
x86-64 SSE4 optimized memcmp

This is 64bit SSE4 optimized memcmp. It improves memcmp by upto 3X
on Intel Core i7.