platform/upstream/glibc.git
12 years agoOptimize logb code for 64-bit machines
Ulrich Drepper [Mon, 12 Sep 2011 20:21:24 +0000 (16:21 -0400)]
Optimize logb code for 64-bit machines

12 years agoRevert "Remove last use of USE___THREAD"
Ulrich Drepper [Mon, 12 Sep 2011 20:20:40 +0000 (16:20 -0400)]
Revert "Remove last use of USE___THREAD"

This reverts commit de82006d43e198fd162807c9adc720c7ebd728a3.

Conflicts:

ChangeLog

12 years agoFix invalid conversion in __cmsg_nxthdr
Andreas Schwab [Mon, 12 Sep 2011 12:44:02 +0000 (14:44 +0200)]
Fix invalid conversion in __cmsg_nxthdr

12 years agoRemove last use of USE___THREAD
Andreas Schwab [Mon, 12 Sep 2011 08:57:21 +0000 (10:57 +0200)]
Remove last use of USE___THREAD

12 years agoCleanup CL
Ulrich Drepper [Sun, 11 Sep 2011 19:04:13 +0000 (15:04 -0400)]
Cleanup CL

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sun, 11 Sep 2011 19:02:32 +0000 (15:02 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoRemove --wth-tls option, TLS support is required
Ulrich Drepper [Sun, 11 Sep 2011 19:02:01 +0000 (15:02 -0400)]
Remove --wth-tls option, TLS support is required

12 years agoPrepend $(..) to $(ldd-rewrite-script) if non-absolute
Andreas Schwab [Sun, 11 Sep 2011 18:33:24 +0000 (20:33 +0200)]
Prepend $(..) to $(ldd-rewrite-script) if non-absolute

12 years agoAvoid cast in non-gcc obstack_free
Ulrich Drepper [Sun, 11 Sep 2011 17:04:17 +0000 (13:04 -0400)]
Avoid cast in non-gcc obstack_free

12 years agoFix use of AC_INIT
Ulrich Drepper [Sun, 11 Sep 2011 16:14:48 +0000 (12:14 -0400)]
Fix use of AC_INIT

12 years agoProvide static initializer for _dl_pagesize in statically linked code
Ulrich Drepper [Sun, 11 Sep 2011 15:25:51 +0000 (11:25 -0400)]
Provide static initializer for _dl_pagesize in statically linked code

12 years agoRemove MALLOC_FAILURE_ACTION use in malloc
Ulrich Drepper [Sun, 11 Sep 2011 02:12:38 +0000 (22:12 -0400)]
Remove MALLOC_FAILURE_ACTION use in malloc

12 years agoSimplify malloc initialization
Ulrich Drepper [Sun, 11 Sep 2011 01:47:36 +0000 (21:47 -0400)]
Simplify malloc initialization

Singificantly reduce the code needed at malloc initialization.  In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).

12 years agoSimplify malloc code
Ulrich Drepper [Sat, 10 Sep 2011 22:10:17 +0000 (18:10 -0400)]
Simplify malloc code

Remove all kinds of unused configuration options and dead code.

12 years agoRemove support for !USE___THREAD
Ulrich Drepper [Sat, 10 Sep 2011 20:50:28 +0000 (16:50 -0400)]
Remove support for !USE___THREAD

12 years agoCleanup of configuration options
Ulrich Drepper [Sat, 10 Sep 2011 18:34:15 +0000 (14:34 -0400)]
Cleanup of configuration options

Make several tool features mandatory and simplify the code.

12 years agoFix jn precision
Petr Baudis [Sat, 10 Sep 2011 02:16:10 +0000 (22:16 -0400)]
Fix jn precision

12 years agoUse (void*) instead of 0 for return value pointer in __cmsg_nexthdr
Ulrich Drepper [Sat, 10 Sep 2011 01:46:08 +0000 (21:46 -0400)]
Use (void*) instead of 0 for return value pointer in __cmsg_nexthdr

12 years agoFix boundary conditions in scanf
Ulrich Drepper [Sat, 10 Sep 2011 01:26:05 +0000 (21:26 -0400)]
Fix boundary conditions in scanf

Allocate large buffers with realloc.  When returning error make sure
the stream is unlocked.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 9 Sep 2011 22:21:39 +0000 (18:21 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoDon't lock string streams in stream cleanup code
Ulrich Drepper [Fri, 9 Sep 2011 20:15:25 +0000 (16:15 -0400)]
Don't lock string streams in stream cleanup code

12 years agoDefine ELFOSABI_GNU.
Roland McGrath [Fri, 9 Sep 2011 17:11:49 +0000 (10:11 -0700)]
Define ELFOSABI_GNU.

12 years agostring/strncat.c: fix compilation for some architectures
Denis Zaitceff [Fri, 9 Sep 2011 16:45:03 +0000 (12:45 -0400)]
string/strncat.c: fix compilation for some architectures

12 years agoFix sotruss help messages
Ulrich Drepper [Fri, 9 Sep 2011 16:31:43 +0000 (12:31 -0400)]
Fix sotruss help messages

12 years agoFill in real information in __dl_iterate_phdr
Ulrich Drepper [Fri, 9 Sep 2011 13:43:43 +0000 (09:43 -0400)]
Fill in real information in __dl_iterate_phdr

12 years agoFix macro used in test
H.J. Lu [Fri, 9 Sep 2011 03:53:04 +0000 (23:53 -0400)]
Fix macro used in test

12 years agoFix warning in elf/sprof.c
Andreas Jaeger [Fri, 9 Sep 2011 03:41:41 +0000 (23:41 -0400)]
Fix warning in elf/sprof.c

12 years agoFix lround() loses precision
Paul Pluzhnikov [Fri, 9 Sep 2011 03:37:32 +0000 (23:37 -0400)]
Fix lround() loses precision

12 years agoRegenerated
Ulrich Drepper [Fri, 9 Sep 2011 03:20:47 +0000 (23:20 -0400)]
Regenerated

12 years agoRemove support for automatic cvs check-ins
Ulrich Drepper [Fri, 9 Sep 2011 03:19:04 +0000 (23:19 -0400)]
Remove support for automatic cvs check-ins

CVS use for glibc is long gone.

12 years agoAdd missing definition of LOCPATH for bug-regex32 run
John Stanley [Fri, 9 Sep 2011 02:57:23 +0000 (22:57 -0400)]
Add missing definition of LOCPATH for bug-regex32 run

12 years agoAdd range checking for FD_SET, FD_CLR, and FD_ISSET
Ulrich Drepper [Thu, 8 Sep 2011 23:48:47 +0000 (19:48 -0400)]
Add range checking for FD_SET, FD_CLR, and FD_ISSET

12 years agoMove wide char tests to wcsmbs directory
Ulrich Drepper [Thu, 8 Sep 2011 22:01:07 +0000 (18:01 -0400)]
Move wide char tests to wcsmbs directory

12 years agoNew comprehensive test for wmemcmp
Liubov Dmitrieva [Thu, 8 Sep 2011 21:51:50 +0000 (17:51 -0400)]
New comprehensive test for wmemcmp

12 years agoBZ#13153: Update manual last-edit info.
Roland McGrath [Thu, 8 Sep 2011 16:50:19 +0000 (09:50 -0700)]
BZ#13153: Update manual last-edit info.

12 years agosysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
Samuel Thibault [Thu, 8 Sep 2011 16:46:06 +0000 (09:46 -0700)]
sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.

12 years agoHurd: fix use of uninitialized value in fork port copying.
Roland McGrath [Thu, 8 Sep 2011 16:37:42 +0000 (09:37 -0700)]
Hurd: fix use of uninitialized value in fork port copying.

12 years agoFix crash during error handling
Andreas Schwab [Thu, 8 Sep 2011 10:02:26 +0000 (12:02 +0200)]
Fix crash during error handling

12 years agoUse O_CLOEXEC when loading objects in ld.so
Ulrich Drepper [Thu, 8 Sep 2011 04:00:01 +0000 (00:00 -0400)]
Use O_CLOEXEC when loading objects in ld.so

12 years agoPass back error code from dlerror_run
Ulrich Drepper [Thu, 8 Sep 2011 03:50:40 +0000 (23:50 -0400)]
Pass back error code from dlerror_run

12 years agoFix memory leak in case of failed dlopen
Ulrich Drepper [Thu, 8 Sep 2011 02:58:47 +0000 (22:58 -0400)]
Fix memory leak in case of failed dlopen

12 years agoRemove invalid BZ number
Ulrich Drepper [Thu, 8 Sep 2011 02:37:22 +0000 (22:37 -0400)]
Remove invalid BZ number

12 years agoFix up x86-32 section names for Atom code
Liubov Dmitrieva [Thu, 8 Sep 2011 02:28:44 +0000 (22:28 -0400)]
Fix up x86-32 section names for Atom code

12 years agoCheck for finite/infinity parms in IBM Long Double 128 fmal( )
Ulrich Drepper [Thu, 8 Sep 2011 02:17:33 +0000 (22:17 -0400)]
Check for finite/infinity parms in IBM Long Double 128 fmal( )

This patch addresses some IBM Long Double 128 fmal () test-ldouble.out
and test-ildoubl.out failures.  If the ‘x’ and ‘y’ parameters are
finite values and ‘z’ is infinity, the result of fmal () should be ‘z’
not NaN.

Conflicts:

ChangeLog

12 years agoFix whitespaces
Ulrich Drepper [Thu, 8 Sep 2011 02:12:47 +0000 (22:12 -0400)]
Fix whitespaces

12 years agoTrigonometric optimizations for POWER
Adhemerval Zanella [Thu, 8 Sep 2011 02:10:26 +0000 (22:10 -0400)]
Trigonometric optimizations for POWER

12 years agoFix profiling on powerpc32 secure-plt shared libs and PIEs
Alan Modra [Thu, 8 Sep 2011 02:02:42 +0000 (22:02 -0400)]
Fix profiling on powerpc32 secure-plt shared libs and PIEs

12 years agopower7 strncmp optimization
Will Schmidt [Thu, 8 Sep 2011 01:56:57 +0000 (21:56 -0400)]
power7 strncmp optimization

12 years agopower7 memcpy VSX optimizations
Will Schmidt [Thu, 8 Sep 2011 01:54:41 +0000 (21:54 -0400)]
power7 memcpy VSX optimizations

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 8 Sep 2011 01:52:39 +0000 (21:52 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoSimplify AVX check
H.J. Lu [Thu, 8 Sep 2011 01:38:23 +0000 (21:38 -0400)]
Simplify AVX check

12 years agoRevert "Fix semid_ds for x86-64"
Andreas Schwab [Wed, 7 Sep 2011 12:29:53 +0000 (14:29 +0200)]
Revert "Fix semid_ds for x86-64"

This reverts commit 2f0ad8f3a470fa5e9aeb9c5a41984f96ae58d7ba.

12 years agoRemove gettimeofday vsyscall use from x86-86 libpthread
Ulrich Drepper [Wed, 7 Sep 2011 04:14:06 +0000 (00:14 -0400)]
Remove gettimeofday vsyscall use from x86-86 libpthread

12 years agoMake sure __vdso_clock_gettime always contains a valid pointer
Ulrich Drepper [Wed, 7 Sep 2011 04:07:08 +0000 (00:07 -0400)]
Make sure __vdso_clock_gettime always contains a valid pointer

12 years agoFix handling of __vdso_clock_gettime
Ulrich Drepper [Wed, 7 Sep 2011 03:50:04 +0000 (23:50 -0400)]
Fix handling of __vdso_clock_gettime

12 years agoDon't call gettimeofday vsyscall in x86-64 sem_timedwait
Ulrich Drepper [Wed, 7 Sep 2011 03:17:53 +0000 (23:17 -0400)]
Don't call gettimeofday vsyscall in x86-64 sem_timedwait

12 years agoMove Atom-optimized code out of the way and together
Ulrich Drepper [Wed, 7 Sep 2011 01:53:03 +0000 (21:53 -0400)]
Move Atom-optimized code out of the way and together

12 years agoDon't unconditionally use clock_gettime vsyscall on x86-64
Ulrich Drepper [Wed, 7 Sep 2011 01:34:11 +0000 (21:34 -0400)]
Don't unconditionally use clock_gettime vsyscall on x86-64

12 years agoAvoid gettimeofday vsyscall
Ulrich Drepper [Wed, 7 Sep 2011 00:22:37 +0000 (20:22 -0400)]
Avoid gettimeofday vsyscall

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 6 Sep 2011 21:21:04 +0000 (17:21 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoRemove now-wrong comment
Ulrich Drepper [Tue, 6 Sep 2011 21:20:33 +0000 (17:20 -0400)]
Remove now-wrong comment

12 years agoFix missing declaration
Andreas Schwab [Tue, 6 Sep 2011 09:12:11 +0000 (11:12 +0200)]
Fix missing declaration

12 years agoPrefer real syscalls instead of vsyscalls on x86-64 outside libc.so
Ulrich Drepper [Tue, 6 Sep 2011 04:12:18 +0000 (00:12 -0400)]
Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so

12 years agoRemove unused parameter in pldd and simplify ELF handling
Ulrich Drepper [Tue, 6 Sep 2011 01:49:14 +0000 (21:49 -0400)]
Remove unused parameter in pldd and simplify ELF handling

12 years agoFix whitespaces
Ulrich Drepper [Tue, 6 Sep 2011 01:42:12 +0000 (21:42 -0400)]
Fix whitespaces

12 years agoAdd Atom-optimized strchr and strrchr for x86-64
Liubov Dmitrieva [Tue, 6 Sep 2011 01:34:03 +0000 (21:34 -0400)]
Add Atom-optimized strchr and strrchr for x86-64

12 years agoTry shell in posix_spawn* only in compat mode
Ulrich Drepper [Tue, 6 Sep 2011 00:24:50 +0000 (20:24 -0400)]
Try shell in posix_spawn* only in compat mode

12 years agoFix last checkin
Ulrich Drepper [Tue, 6 Sep 2011 00:06:01 +0000 (20:06 -0400)]
Fix last checkin

12 years agoFix glob.h header by removing gcc 1.x support
Ulrich Drepper [Mon, 5 Sep 2011 21:31:23 +0000 (17:31 -0400)]
Fix glob.h header by removing gcc 1.x support

12 years agoUse O_CLOEXEC when loading ld.so cache
Ulrich Drepper [Mon, 5 Sep 2011 21:18:38 +0000 (17:18 -0400)]
Use O_CLOEXEC when loading ld.so cache

12 years agoFix whitespaces
Ulrich Drepper [Mon, 5 Sep 2011 21:12:27 +0000 (17:12 -0400)]
Fix whitespaces

12 years agoOptimized strchr and strrchr with SSE2 on x86-32
Liubov Dmitrieva [Mon, 5 Sep 2011 21:11:11 +0000 (17:11 -0400)]
Optimized strchr and strrchr with SSE2 on x86-32

12 years agoAdd optimized x86-64 wcscmp
Ulrich Drepper [Mon, 5 Sep 2011 18:08:23 +0000 (14:08 -0400)]
Add optimized x86-64 wcscmp

12 years agoFix whitespaces
Ulrich Drepper [Mon, 5 Sep 2011 17:54:51 +0000 (13:54 -0400)]
Fix whitespaces

12 years agoAdd x86-32 optimized wcscmp
Ulrich Drepper [Mon, 5 Sep 2011 17:53:27 +0000 (13:53 -0400)]
Add x86-32 optimized wcscmp

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Mon, 5 Sep 2011 17:14:33 +0000 (13:14 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoUpdate Japanese translation
Ulrich Drepper [Mon, 5 Sep 2011 17:14:04 +0000 (13:14 -0400)]
Update Japanese translation

12 years agoFixes and optimizations for 32-bit sparc fabs*().
David S. Miller [Mon, 5 Sep 2011 17:06:15 +0000 (10:06 -0700)]
Fixes and optimizations for 32-bit sparc fabs*().

12 years agoFix nptl semaphore cleanup invocation.
David S. Miller [Mon, 5 Sep 2011 17:01:52 +0000 (10:01 -0700)]
Fix nptl semaphore cleanup invocation.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Mon, 5 Sep 2011 16:46:12 +0000 (12:46 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoFix semid_ds for x86-64
Ulrich Drepper [Mon, 5 Sep 2011 16:44:22 +0000 (12:44 -0400)]
Fix semid_ds for x86-64

12 years agoSanitize HWCAP_SPARC_* defines/usage, and add new entries.
David S. Miller [Thu, 1 Sep 2011 20:41:27 +0000 (13:41 -0700)]
Sanitize HWCAP_SPARC_* defines/usage, and add new entries.

12 years agoFix sparc localplt testcase failures.
David S. Miller [Thu, 1 Sep 2011 00:30:41 +0000 (17:30 -0700)]
Fix sparc localplt testcase failures.

12 years agoFix setxid race handling exiting threads
Andreas Schwab [Fri, 25 Jun 2010 08:41:17 +0000 (10:41 +0200)]
Fix setxid race handling exiting threads

12 years agoRelocate objects in dependency order
Andreas Schwab [Tue, 30 Aug 2011 13:37:54 +0000 (15:37 +0200)]
Relocate objects in dependency order

12 years agortld, i386: Fix cfi directive in audit trampoline code
Jiri Olsa [Mon, 29 Aug 2011 13:14:51 +0000 (09:14 -0400)]
rtld, i386: Fix cfi directive in audit trampoline code

_dl_runtime_profile function has wrong cfi directive when
rewinding stack back for the pltexit path.

Only 8 bytes - 2 'pop edx' instructions from the pltentry-only
code should be rewinded back.

With attached patch, I'm able to rewind stack correctly
throught the rtld code from audit library callback.

12 years agoRewritten v9/64-bit sparc strcmp.
David S. Miller [Wed, 24 Aug 2011 08:32:24 +0000 (01:32 -0700)]
Rewritten v9/64-bit sparc strcmp.

12 years agoFix scope handling during dl_close
Andreas Schwab [Wed, 24 Aug 2011 07:32:13 +0000 (09:32 +0200)]
Fix scope handling during dl_close

12 years agoFix nptl/tst-cancel17 and nptl/tst-cancelx17 with recent gcc.
David S. Miller [Wed, 24 Aug 2011 06:24:01 +0000 (23:24 -0700)]
Fix nptl/tst-cancel17 and nptl/tst-cancelx17 with recent gcc.

12 years agoFix jmpbuf unwind checks on sparc64.
David S. Miller [Wed, 24 Aug 2011 06:17:52 +0000 (23:17 -0700)]
Fix jmpbuf unwind checks on sparc64.

12 years agoFix spurious nop at start of __strspn_ia32
Andreas Schwab [Tue, 23 Aug 2011 13:53:51 +0000 (15:53 +0200)]
Fix spurious nop at start of __strspn_ia32

12 years agoFix duplicate definition of Elf64_FuncDesc
Aurelien Jarno [Sun, 3 Jul 2011 23:45:03 +0000 (01:45 +0200)]
Fix duplicate definition of Elf64_FuncDesc

12 years agoBug fixes for ____longjmp_chk on sparc.
David S. Miller [Mon, 22 Aug 2011 23:53:57 +0000 (16:53 -0700)]
Bug fixes for ____longjmp_chk on sparc.

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Mon, 22 Aug 2011 20:10:16 +0000 (16:10 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoCorrect cycle detection during dependency sorting
Andreas Schwab [Mon, 22 Aug 2011 20:08:16 +0000 (16:08 -0400)]
Correct cycle detection during dependency sorting

12 years agoFix missing declaration
Andreas Schwab [Mon, 22 Aug 2011 10:16:12 +0000 (12:16 +0200)]
Fix missing declaration

12 years agoRevert "Don't crash when dependencies are missing"
Andreas Schwab [Mon, 21 Mar 2011 14:00:21 +0000 (15:00 +0100)]
Revert "Don't crash when dependencies are missing"

This reverts commit f2092faf2b6bd491a1891d5d5e393a8bf85d01d7.

12 years agoFix testsuite link failure
Andreas Schwab [Fri, 24 Dec 2010 17:30:26 +0000 (18:30 +0100)]
Fix testsuite link failure

12 years agoUse ifuncs for time and gettimeofday on x86-64
Ulrich Drepper [Sun, 21 Aug 2011 17:52:28 +0000 (13:52 -0400)]
Use ifuncs for time and gettimeofday on x86-64

12 years agoFix typo in tst-cleanup0.out rule.
David S. Miller [Sun, 21 Aug 2011 04:19:28 +0000 (21:19 -0700)]
Fix typo in tst-cleanup0.out rule.