platform/upstream/glibc.git
12 years agoFix access after end of search string in regex matcher
Andreas Schwab [Tue, 29 Nov 2011 09:52:22 +0000 (10:52 +0100)]
Fix access after end of search string in regex matcher

12 years agoHandle EAGAIN from FUTEX_WAIT_REQUEUE_PI
Andreas Schwab [Mon, 28 Nov 2011 12:38:19 +0000 (13:38 +0100)]
Handle EAGAIN from FUTEX_WAIT_REQUEUE_PI

12 years agoRemove handling of VCs other then git
Ulrich Drepper [Thu, 17 Nov 2011 17:33:33 +0000 (12:33 -0500)]
Remove handling of VCs other then git

12 years agoFix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg...
Andreas Schwab [Wed, 16 Nov 2011 08:36:15 +0000 (09:36 +0100)]
Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs

12 years agoUse O_CLOEXEC in a few more places
Ulrich Drepper [Tue, 15 Nov 2011 19:00:58 +0000 (14:00 -0500)]
Use O_CLOEXEC in a few more places

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 15 Nov 2011 18:29:11 +0000 (13:29 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
sysdeps/unix/sysv/linux/clock_gettime.c

12 years agoFix clock_gettime for assumed kernel >= 2.6.12
Andreas Schwab [Tue, 15 Nov 2011 14:04:26 +0000 (15:04 +0100)]
Fix clock_gettime for assumed kernel >= 2.6.12

12 years agoFix Linux SYSDEP_GETTIME_CPU for newer kernels
Ulrich Drepper [Tue, 15 Nov 2011 12:31:33 +0000 (07:31 -0500)]
Fix Linux SYSDEP_GETTIME_CPU for newer kernels

12 years agoPretty printing
Ulrich Drepper [Tue, 15 Nov 2011 12:18:15 +0000 (07:18 -0500)]
Pretty printing

12 years agoFix reference counting in network interface information cache
Andreas Schwab [Tue, 15 Nov 2011 09:32:18 +0000 (10:32 +0100)]
Fix reference counting in network interface information cache

12 years agoClean up internal fopen uses
Ulrich Drepper [Tue, 15 Nov 2011 09:24:42 +0000 (04:24 -0500)]
Clean up internal fopen uses

No need to ever not use c and e.

12 years agoUse O_CLOEXEC in tzfile handling
Ulrich Drepper [Mon, 14 Nov 2011 23:46:46 +0000 (18:46 -0500)]
Use O_CLOEXEC in tzfile handling

12 years agoUpdate NEWS
Ulrich Drepper [Mon, 14 Nov 2011 23:44:00 +0000 (18:44 -0500)]
Update NEWS

12 years agoMerge branch 'x32-strcase'
Ulrich Drepper [Mon, 14 Nov 2011 23:39:05 +0000 (18:39 -0500)]
Merge branch 'x32-strcase'

Conflicts:
ChangeLog

12 years agoAdd SSE4.2 support for strcasecmp and strncasecmp on x86-32
Ulrich Drepper [Mon, 14 Nov 2011 23:24:35 +0000 (18:24 -0500)]
Add SSE4.2 support for strcasecmp and strncasecmp on x86-32

12 years agoDon't call reused_arena when _int_new_arena failed
Andreas Schwab [Mon, 14 Nov 2011 10:41:52 +0000 (11:41 +0100)]
Don't call reused_arena when _int_new_arena failed

12 years agoSSSE3 optimized strcasecmp and strncasecmp for x86-32
Ulrich Drepper [Sun, 13 Nov 2011 14:50:13 +0000 (09:50 -0500)]
SSSE3 optimized strcasecmp and strncasecmp for x86-32

12 years agoFix wanings in clock_gettime
Ulrich Drepper [Sat, 12 Nov 2011 07:54:34 +0000 (02:54 -0500)]
Fix wanings in clock_gettime

12 years agoAvoid unused warning in getaddrinfo_a
Ulrich Drepper [Sat, 12 Nov 2011 07:30:01 +0000 (02:30 -0500)]
Avoid unused warning in getaddrinfo_a

12 years agoAvoid warnings about unused variable in 96-bit j0l and j1l
Ulrich Drepper [Sat, 12 Nov 2011 07:20:29 +0000 (02:20 -0500)]
Avoid warnings about unused variable in 96-bit j0l and j1l

12 years agoAvoid warnings about unused variables in 96-bit hypotl
Ulrich Drepper [Sat, 12 Nov 2011 07:15:07 +0000 (02:15 -0500)]
Avoid warnings about unused variables in 96-bit hypotl

12 years agoPrepare dwarf2.h for multiple inclusion
Ulrich Drepper [Sat, 12 Nov 2011 07:11:48 +0000 (02:11 -0500)]
Prepare dwarf2.h for multiple inclusion

12 years agoFix incomplete edit in last patch
Ulrich Drepper [Sat, 12 Nov 2011 07:10:45 +0000 (02:10 -0500)]
Fix incomplete edit in last patch

12 years agoAvoid redefinition of DWARF constants
Ulrich Drepper [Sat, 12 Nov 2011 07:06:05 +0000 (02:06 -0500)]
Avoid redefinition of DWARF constants

12 years agoFix warning in __dl_iterate_phdr
Ulrich Drepper [Sat, 12 Nov 2011 06:49:14 +0000 (01:49 -0500)]
Fix warning in __dl_iterate_phdr

12 years agoFix case value used in RPC cod
Ulrich Drepper [Sat, 12 Nov 2011 06:41:05 +0000 (01:41 -0500)]
Fix case value used in RPC cod

12 years agoAvoid warning from shifting
Ulrich Drepper [Sat, 12 Nov 2011 06:31:29 +0000 (01:31 -0500)]
Avoid warning from shifting

12 years agoFix warnings in regex
Ulrich Drepper [Sat, 12 Nov 2011 06:23:45 +0000 (01:23 -0500)]
Fix warnings in regex

12 years agoFix warnings in fallback C code of x86-32 wide memory functions
Ulrich Drepper [Sat, 12 Nov 2011 05:50:26 +0000 (00:50 -0500)]
Fix warnings in fallback C code of x86-32 wide memory functions

12 years agoFix warning in nis_table
Ulrich Drepper [Sat, 12 Nov 2011 05:18:19 +0000 (00:18 -0500)]
Fix warning in nis_table

12 years agoPowerPC: Arithmetic function optimizations for POWER
Adhemerval Zanella [Fri, 11 Nov 2011 18:33:38 +0000 (13:33 -0500)]
PowerPC: Arithmetic function optimizations for POWER

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 11 Nov 2011 18:29:12 +0000 (13:29 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoRemove unused variables
Marek Polacek [Fri, 11 Nov 2011 18:27:59 +0000 (13:27 -0500)]
Remove unused variables

12 years agoFix __readlink declaration.
Roland McGrath [Fri, 11 Nov 2011 18:02:42 +0000 (10:02 -0800)]
Fix __readlink declaration.

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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

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