platform/upstream/glibc.git
12 years agomakecontext doens't need __THROWNL
Ulrich Drepper [Fri, 11 Nov 2011 17:57:31 +0000 (12:57 -0500)]
makecontext doens't need __THROWNL

12 years agoFix grouping and reuse other locales in various locales
Ulrich Drepper [Fri, 11 Nov 2011 16:25:45 +0000 (11:25 -0500)]
Fix grouping and reuse other locales in various locales

12 years agoFix db makefile rule for group.db
Andreas Schwab [Fri, 11 Nov 2011 13:43:36 +0000 (14:43 +0100)]
Fix db makefile rule for group.db

12 years agoMark setjmp and ucontext functions as non-leaf
Andreas Schwab [Fri, 11 Nov 2011 09:29:08 +0000 (10:29 +0100)]
Mark setjmp and ucontext functions as non-leaf

12 years agoCheck malloc arana limit atomically
Andreas Schwab [Wed, 9 Nov 2011 16:14:39 +0000 (17:14 +0100)]
Check malloc arana limit atomically

12 years agoUse strcasecmp_l instead of strcasecmp
Ulrich Drepper [Tue, 8 Nov 2011 14:26:08 +0000 (09:26 -0500)]
Use strcasecmp_l instead of strcasecmp

12 years agoRemove unnecessary code from x86-32 SSSE3 strncmp
Ulrich Drepper [Tue, 8 Nov 2011 12:50:20 +0000 (07:50 -0500)]
Remove unnecessary code from x86-32 SSSE3 strncmp

12 years agoFix locking in _IO_flush_all_lockp
Andreas Schwab [Mon, 7 Nov 2011 14:07:31 +0000 (15:07 +0100)]
Fix locking in _IO_flush_all_lockp

12 years agoFix buffer allocation in files initgroups handler
Andreas Schwab [Mon, 7 Nov 2011 10:43:13 +0000 (11:43 +0100)]
Fix buffer allocation in files initgroups handler

12 years agoAlways provide declarations of long double math functions when !_LIBC
Andreas Schwab [Fri, 4 Nov 2011 13:39:05 +0000 (14:39 +0100)]
Always provide declarations of long double math functions when !_LIBC

12 years agoFix off-by-one when reading link name in sprof
Andreas Schwab [Fri, 4 Nov 2011 09:21:15 +0000 (10:21 +0100)]
Fix off-by-one when reading link name in sprof

12 years agoDon't start AVC thread until credentials are installed
Andreas Schwab [Fri, 2 Sep 2011 09:13:39 +0000 (11:13 +0200)]
Don't start AVC thread until credentials are installed

12 years agoDon't fail in makedb if SELinux is disabled
Andreas Schwab [Thu, 3 Nov 2011 13:26:38 +0000 (14:26 +0100)]
Don't fail in makedb if SELinux is disabled

12 years agoFix _IOT_sgttyb definition.
Samuel Thibault [Wed, 2 Nov 2011 16:27:34 +0000 (09:27 -0700)]
Fix _IOT_sgttyb definition.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Wed, 2 Nov 2011 02:24:49 +0000 (22:24 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

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

12 years agoAccount for alloca size rounding in extend_alloca
Andreas Schwab [Tue, 1 Nov 2011 17:05:31 +0000 (18:05 +0100)]
Account for alloca size rounding in extend_alloca

12 years agoIgnore libaudit.h when checking for system header use
Andreas Schwab [Tue, 1 Nov 2011 09:49:13 +0000 (10:49 +0100)]
Ignore libaudit.h when checking for system header use

12 years agoProperly set extra-objs in nscd makefile
Andreas Schwab [Tue, 1 Nov 2011 09:40:53 +0000 (10:40 +0100)]
Properly set extra-objs in nscd makefile

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

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

12 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

12 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

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

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

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

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

12 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

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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

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

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

12 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

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

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

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

12 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

12 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

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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

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

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

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

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

12 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

12 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

12 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

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

12 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

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

12 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

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

12 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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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