external/glibc.git
13 years agoFix test of non-ASCII locales in x86-64 strcasecmp et.al.
Ulrich Drepper [Tue, 1 Nov 2011 20:46:23 +0000 (16:46 -0400)]
Fix test of non-ASCII locales in x86-64 strcasecmp et.al.

13 years agoFix tst-rfc3484 build failures
Ulrich Drepper [Tue, 1 Nov 2011 14:55:29 +0000 (10:55 -0400)]
Fix tst-rfc3484 build failures

13 years agounsigned long it better for the size arguments
Ulrich Drepper [Tue, 1 Nov 2011 14:38:00 +0000 (10:38 -0400)]
unsigned long it better for the size arguments

The new syscalls should use unsigned long not size_t.  The parameters
are not a direct measure of memory size.

13 years agoNew Linux syscalls process_vm_readv and process_vm_writev
Ulrich Drepper [Tue, 1 Nov 2011 13:59:32 +0000 (09:59 -0400)]
New Linux syscalls process_vm_readv and process_vm_writev

13 years agoUse kernel headers for netlink definitions
Ulrich Drepper [Tue, 1 Nov 2011 12:43:33 +0000 (08:43 -0400)]
Use kernel headers for netlink definitions

13 years agoUse extend_alloca in _dl_map_object_deps.
Paul Pluzhnikov [Mon, 31 Oct 2011 23:27:54 +0000 (16:27 -0700)]
Use extend_alloca in _dl_map_object_deps.

13 years agoUnify getent output for initgroups database
Ulrich Drepper [Mon, 31 Oct 2011 20:48:45 +0000 (16:48 -0400)]
Unify getent output for initgroups database

Requests for other fail if iteration is not supported and no parameters
are given.  Do this for initgroups as well.

13 years agoFix typo in CL
Ulrich Drepper [Mon, 31 Oct 2011 13:18:21 +0000 (09:18 -0400)]
Fix typo in CL

13 years agoCache network interface information
Ulrich Drepper [Mon, 31 Oct 2011 05:51:16 +0000 (01:51 -0400)]
Cache network interface information

Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time.  The
problem is that this information can change at any time.

The patch implements monitoring of the network interfaces through
nscd.  If no change is detected the previously read information can
be reused (which is the norm).  This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.

13 years agoFix potential double close in __check_fd if OOM
Ulrich Drepper [Sun, 30 Oct 2011 18:22:57 +0000 (14:22 -0400)]
Fix potential double close in __check_fd if OOM

13 years agoAdd bug number
Ulrich Drepper [Sat, 29 Oct 2011 20:39:47 +0000 (16:39 -0400)]
Add bug number

13 years agoAvoid assertion in processes with VM in bad shape
Ulrich Drepper [Sat, 29 Oct 2011 20:39:03 +0000 (16:39 -0400)]
Avoid assertion in processes with VM in bad shape

13 years agoMark a few more functions with __THROWNL.
Ulrich Drepper [Sat, 29 Oct 2011 19:56:44 +0000 (15:56 -0400)]
Mark a few more functions with __THROWNL.

13 years agoAdd missing register initialization in x86-64 pthread_cond_timedwait
Ulrich Drepper [Sat, 29 Oct 2011 19:50:01 +0000 (15:50 -0400)]
Add missing register initialization in x86-64 pthread_cond_timedwait

13 years agoFix accuracy problem in generic sin
Ulrich Drepper [Sat, 29 Oct 2011 18:08:56 +0000 (14:08 -0400)]
Fix accuracy problem in generic sin

13 years agoTypo in last checkin
Ulrich Drepper [Sat, 29 Oct 2011 18:05:49 +0000 (14:05 -0400)]
Typo in last checkin

13 years agoCorrectly NUL-terminate link name in sprof
Ulrich Drepper [Sat, 29 Oct 2011 16:51:53 +0000 (12:51 -0400)]
Correctly NUL-terminate link name in sprof

13 years agoCleanups in ldconfig's chroot handling
Ulrich Drepper [Sat, 29 Oct 2011 16:43:18 +0000 (12:43 -0400)]
Cleanups in ldconfig's chroot handling

13 years agoAvoid warning in dl-lookup.c
Ulrich Drepper [Sat, 29 Oct 2011 16:40:55 +0000 (12:40 -0400)]
Avoid warning in dl-lookup.c

13 years agoFix readlink call in ldconfig's chroot handling
Thomas Jarosch [Sat, 29 Oct 2011 16:24:38 +0000 (12:24 -0400)]
Fix readlink call in ldconfig's chroot handling

13 years agoAdd strchrnul performance test
Ulrich Drepper [Sat, 29 Oct 2011 15:54:15 +0000 (11:54 -0400)]
Add strchrnul performance test

13 years agoUpdate Spanish translation
Ulrich Drepper [Sat, 29 Oct 2011 15:41:55 +0000 (11:41 -0400)]
Update Spanish translation

13 years agoUpdate Italian translation
Ulrich Drepper [Sat, 29 Oct 2011 15:40:55 +0000 (11:40 -0400)]
Update Italian translation

13 years agoMore cleanups of x86-64 strstr
Ulrich Drepper [Fri, 28 Oct 2011 23:01:48 +0000 (19:01 -0400)]
More cleanups of x86-64 strstr

13 years agoClean up x86-64 strcasestr
Ulrich Drepper [Fri, 28 Oct 2011 22:18:04 +0000 (18:18 -0400)]
Clean up x86-64 strcasestr

Actually describe in the C code what is going on.

13 years agoRemove code without too much effects
Ulrich Drepper [Fri, 28 Oct 2011 20:55:01 +0000 (16:55 -0400)]
Remove code without too much effects

Some of the AVX-specific code is not giving enough speed-up to
justify the extra code.

13 years agoFix some warning nits
Andreas Schwab [Fri, 28 Oct 2011 09:45:12 +0000 (11:45 +0200)]
Fix some warning nits

13 years agoMove wide char related routines to wcsmbs subdir
Andreas Schwab [Fri, 28 Oct 2011 09:39:07 +0000 (11:39 +0200)]
Move wide char related routines to wcsmbs subdir

13 years agoDon't mark memory synchronisation functions as leaf
Andreas Schwab [Thu, 27 Oct 2011 14:52:22 +0000 (16:52 +0200)]
Don't mark memory synchronisation functions as leaf

13 years agoBZ#13349: Missing BZ tag for last change.
Roland McGrath [Wed, 26 Oct 2011 23:53:40 +0000 (16:53 -0700)]
BZ#13349: Missing BZ tag for last change.

13 years agoRemove mention of open_obstack_stream, which has never existed in libio.
Roland McGrath [Wed, 26 Oct 2011 23:53:02 +0000 (16:53 -0700)]
Remove mention of open_obstack_stream, which has never existed in libio.

13 years agoFix uses of math_force_eval
Andreas Schwab [Wed, 26 Oct 2011 09:37:08 +0000 (11:37 +0200)]
Fix uses of math_force_eval

13 years agoMake math_force_eval accept non-addressable arguments
Andreas Schwab [Wed, 26 Oct 2011 09:19:35 +0000 (11:19 +0200)]
Make math_force_eval accept non-addressable arguments

13 years agoAdd AVX optimized versions for some x86-64 math functions
Ulrich Drepper [Wed, 26 Oct 2011 01:34:55 +0000 (21:34 -0400)]
Add AVX optimized versions for some x86-64 math functions

13 years agoTypo in CL
Ulrich Drepper [Tue, 25 Oct 2011 19:11:32 +0000 (15:11 -0400)]
Typo in CL

13 years agoOptimize x86-64 SSE4.2+ strcmp a bit more
Ulrich Drepper [Tue, 25 Oct 2011 18:50:31 +0000 (14:50 -0400)]
Optimize x86-64 SSE4.2+ strcmp a bit more

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 25 Oct 2011 15:09:55 +0000 (11:09 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoUse math_force_eval in more places
Ulrich Drepper [Tue, 25 Oct 2011 14:52:45 +0000 (10:52 -0400)]
Use math_force_eval in more places

13 years agoUse correct signedness in default implementations of wcscmp and wmemcmp
Andreas Schwab [Tue, 25 Oct 2011 13:06:34 +0000 (15:06 +0200)]
Use correct signedness in default implementations of wcscmp and wmemcmp

13 years agoFix strchr test
Andreas Schwab [Tue, 25 Oct 2011 12:55:08 +0000 (14:55 +0200)]
Fix strchr test

13 years agoUse VEX encoding in inline math functions on x86-64 when possible
Ulrich Drepper [Tue, 25 Oct 2011 12:17:57 +0000 (08:17 -0400)]
Use VEX encoding in inline math functions on x86-64 when possible

13 years agoSmall optimization of dependency sorting
Andreas Schwab [Tue, 25 Oct 2011 11:30:44 +0000 (13:30 +0200)]
Small optimization of dependency sorting

13 years agoCleanup FMA4 patch
Ulrich Drepper [Tue, 25 Oct 2011 04:56:33 +0000 (00:56 -0400)]
Cleanup FMA4 patch

Move the FMA4 code into its own section.  Avoid some of the duplication
of data resulting from the double use of source files.

13 years agoBetter DLA_FMS
Ulrich Drepper [Tue, 25 Oct 2011 02:11:21 +0000 (22:11 -0400)]
Better DLA_FMS

It's better to use __builtin_fma if it works.  Use it for gcc 4.6 and
higher.  Move the x86-64 dla.h to the correct place.

13 years agoRemove warnings in NPTL tests
Ulrich Drepper [Tue, 25 Oct 2011 01:43:33 +0000 (21:43 -0400)]
Remove warnings in NPTL tests

13 years agoUse inline asm for DLA_FMS because of broken old compilers
Ulrich Drepper [Tue, 25 Oct 2011 01:17:10 +0000 (21:17 -0400)]
Use inline asm for DLA_FMS because of broken old compilers

13 years agoOptimize accurate 64-bit routines for FMA4 on x86-64
Ulrich Drepper [Tue, 25 Oct 2011 00:19:17 +0000 (20:19 -0400)]
Optimize accurate 64-bit routines for FMA4 on x86-64

13 years agoFinish renamed DLA_FMA -> DLA_FMS
Ulrich Drepper [Mon, 24 Oct 2011 18:21:18 +0000 (14:21 -0400)]
Finish renamed DLA_FMA -> DLA_FMS

13 years agoFix lost wcslen symbol
Andreas Schwab [Mon, 24 Oct 2011 09:46:19 +0000 (11:46 +0200)]
Fix lost wcslen symbol

13 years agoOptimized remquo for 64-bit platforms
Ulrich Drepper [Mon, 24 Oct 2011 01:31:21 +0000 (21:31 -0400)]
Optimized remquo for 64-bit platforms

13 years agoOptimize f_mod
Ulrich Drepper [Mon, 24 Oct 2011 00:55:26 +0000 (20:55 -0400)]
Optimize f_mod

Branch prediction for the 32-bit implementation and a new optimized
64-bit implementation.

13 years agoRemove unnecessary include from x86-32 tls.h
Ulrich Drepper [Sun, 23 Oct 2011 20:31:09 +0000 (16:31 -0400)]
Remove unnecessary include from x86-32 tls.h

13 years agoFix strnlen change
Ulrich Drepper [Sun, 23 Oct 2011 20:30:40 +0000 (16:30 -0400)]
Fix strnlen change

13 years agoAdd optimized wcslen and strnlen for x86-32
Liubov Dmitrieva [Sun, 23 Oct 2011 19:17:23 +0000 (15:17 -0400)]
Add optimized wcslen and strnlen for x86-32

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:57:28 +0000 (14:57 -0400)]
Fix WS

13 years agoOptimized strnlen and wcscmp for x86-64
Liubov Dmitrieva [Sun, 23 Oct 2011 18:56:04 +0000 (14:56 -0400)]
Optimized strnlen and wcscmp for x86-64

13 years agoMore WS
Ulrich Drepper [Sun, 23 Oct 2011 18:42:59 +0000 (14:42 -0400)]
More WS

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:42:16 +0000 (14:42 -0400)]
Fix WS

13 years agoRegnerate with modern bison
Ulrich Drepper [Sun, 23 Oct 2011 18:41:45 +0000 (14:41 -0400)]
Regnerate with modern bison

13 years agoImprove x86-32 SSSE3 memcpy
Michael Zolotukhin [Sun, 23 Oct 2011 18:28:26 +0000 (14:28 -0400)]
Improve x86-32 SSSE3 memcpy

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 18:15:06 +0000 (14:15 -0400)]
Fix WS

13 years agoAdd wcschr test cases
Liubov Dmitrieva [Sun, 23 Oct 2011 18:14:26 +0000 (14:14 -0400)]
Add wcschr test cases

13 years agoAdd wcslen test cases
Liubov Dmitrieva [Sun, 23 Oct 2011 18:11:50 +0000 (14:11 -0400)]
Add wcslen test cases

13 years agoUpdate Italian translation
Ulrich Drepper [Sun, 23 Oct 2011 18:08:08 +0000 (14:08 -0400)]
Update Italian translation

13 years agoMore WS fixes
Ulrich Drepper [Sun, 23 Oct 2011 17:35:48 +0000 (13:35 -0400)]
More WS fixes

13 years agoFix WS
Ulrich Drepper [Sun, 23 Oct 2011 17:35:24 +0000 (13:35 -0400)]
Fix WS

13 years agoFix signedness in wcscmp comparison
Liubov Dmitrieva [Sun, 23 Oct 2011 17:34:15 +0000 (13:34 -0400)]
Fix signedness in wcscmp comparison

13 years agoClean up FMA use
Ulrich Drepper [Sun, 23 Oct 2011 17:31:01 +0000 (13:31 -0400)]
Clean up FMA use

The macro's name should reflect that subtraction is being done.  And
use __builtin_fma, it seems to work after all.

13 years agoClean up last dla.h change
Ulrich Drepper [Sun, 23 Oct 2011 16:50:28 +0000 (12:50 -0400)]
Clean up last dla.h change

13 years agoAdd missing _finite aliases
Andreas Schwab [Sun, 23 Oct 2011 13:20:16 +0000 (15:20 +0200)]
Add missing _finite aliases

13 years agoFix typo in last change
Ulrich Drepper [Sun, 23 Oct 2011 00:09:58 +0000 (20:09 -0400)]
Fix typo in last change

13 years agoUpdate ULPs for x86-64
Ulrich Drepper [Sun, 23 Oct 2011 00:06:23 +0000 (20:06 -0400)]
Update ULPs for x86-64

13 years agoImprove DLA_FMA for FMA4
Ulrich Drepper [Sat, 22 Oct 2011 23:53:33 +0000 (19:53 -0400)]
Improve DLA_FMA for FMA4

13 years agoStart using fma in the libm implementation
Ulrich Drepper [Sat, 22 Oct 2011 23:02:20 +0000 (19:02 -0400)]
Start using fma in the libm implementation

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 22 Oct 2011 17:18:08 +0000 (13:18 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoAdd branch predictions to complex math code
Ulrich Drepper [Sat, 22 Oct 2011 17:17:30 +0000 (13:17 -0400)]
Add branch predictions to complex math code

13 years agoFix compilation due to __nan defines
Andreas Schwab [Sat, 22 Oct 2011 11:49:49 +0000 (13:49 +0200)]
Fix compilation due to __nan defines

13 years agoOptimization to some complex math functions
Ulrich Drepper [Sat, 22 Oct 2011 04:32:39 +0000 (00:32 -0400)]
Optimization to some complex math functions

Also, change last reference to __sqrt into __sqrt to easily.

13 years agoFix compilation problems in x86-64 init-arch
Ulrich Drepper [Sat, 22 Oct 2011 00:47:20 +0000 (20:47 -0400)]
Fix compilation problems in x86-64 init-arch

13 years agoAdd some __builtin_expect to generic __ieee754_log
Ulrich Drepper [Fri, 21 Oct 2011 16:28:42 +0000 (12:28 -0400)]
Add some __builtin_expect to generic __ieee754_log

13 years agoDon't use NULL in last s_fma{,f} change
Ulrich Drepper [Fri, 21 Oct 2011 11:39:28 +0000 (07:39 -0400)]
Don't use NULL in last s_fma{,f} change

13 years agoCheck for FMA4 support and generate appropriate fma functions
Ulrich Drepper [Fri, 21 Oct 2011 02:43:15 +0000 (22:43 -0400)]
Check for FMA4 support and generate appropriate fma functions

13 years agoMove fma routines to right place
Ulrich Drepper [Fri, 21 Oct 2011 01:55:41 +0000 (21:55 -0400)]
Move fma routines to right place

13 years agoCL is for code changes
Ulrich Drepper [Fri, 21 Oct 2011 01:33:37 +0000 (21:33 -0400)]
CL is for code changes

13 years agoDocument copyright year range notation in README.
Carlos O'Donell [Thu, 20 Oct 2011 21:46:24 +0000 (17:46 -0400)]
Document copyright year range notation in README.

The FSF now allows year range notation for copyright years.

See `6.5 Copyright Notices' from:
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html

We comply with the FSF requirements for the use of range
notation by documenting the usage in our README.

13 years agoPreserve link time dependencies over relocation dependencies
Andreas Schwab [Wed, 19 Oct 2011 15:13:56 +0000 (17:13 +0200)]
Preserve link time dependencies over relocation dependencies

13 years agoOptimize x86-64 rawmemchr and add test
Ulrich Drepper [Thu, 20 Oct 2011 02:22:29 +0000 (22:22 -0400)]
Optimize x86-64 rawmemchr and add test

13 years agoAdd optimized str{,n}casecmp for AVX on x86-64
Ulrich Drepper [Wed, 19 Oct 2011 16:42:38 +0000 (12:42 -0400)]
Add optimized str{,n}casecmp for AVX on x86-64

13 years agoFix PLT use for feraiseexcept on x86_64
Andreas Schwab [Wed, 19 Oct 2011 09:16:57 +0000 (11:16 +0200)]
Fix PLT use for feraiseexcept on x86_64

13 years agoUse new internal libc_fe* interfaces in more functions
Ulrich Drepper [Tue, 18 Oct 2011 19:11:31 +0000 (15:11 -0400)]
Use new internal libc_fe* interfaces in more functions

13 years agoProvide combined internal feholdexcept/fesetround interface
Ulrich Drepper [Tue, 18 Oct 2011 13:59:04 +0000 (09:59 -0400)]
Provide combined internal feholdexcept/fesetround interface

13 years agoPretty print last change to x86-64 mathinline.h
Ulrich Drepper [Tue, 18 Oct 2011 13:38:47 +0000 (09:38 -0400)]
Pretty print last change to x86-64 mathinline.h

13 years agoAdd optimized nearbyint{,f} for x86-64
Ulrich Drepper [Tue, 18 Oct 2011 13:13:23 +0000 (09:13 -0400)]
Add optimized nearbyint{,f} for x86-64

13 years agoStart optimizing the use of the fenv interfaces in libm itself
Ulrich Drepper [Tue, 18 Oct 2011 13:00:46 +0000 (09:00 -0400)]
Start optimizing the use of the fenv interfaces in libm itself

13 years agoFix last change
Andreas Schwab [Tue, 18 Oct 2011 12:11:02 +0000 (14:11 +0200)]
Fix last change

13 years agoFix linkage conflict with feraiseexcept
Andreas Schwab [Tue, 18 Oct 2011 08:37:56 +0000 (10:37 +0200)]
Fix linkage conflict with feraiseexcept

13 years agoSmall optimization of generic exp2
Ulrich Drepper [Tue, 18 Oct 2011 03:16:34 +0000 (23:16 -0400)]
Small optimization of generic exp2

13 years agoAdd optimized 64-bit frexp
Ulrich Drepper [Tue, 18 Oct 2011 02:30:44 +0000 (22:30 -0400)]
Add optimized 64-bit frexp

13 years agoRelax asm requirements for recently added x86-64 math interfaces
Ulrich Drepper [Tue, 18 Oct 2011 00:30:52 +0000 (20:30 -0400)]
Relax asm requirements for recently added x86-64 math interfaces

13 years agoMakr x86-64 math_private.h more robust
Ulrich Drepper [Mon, 17 Oct 2011 20:00:39 +0000 (16:00 -0400)]
Makr x86-64 math_private.h more robust