platform/upstream/glibc.git
13 years agoFix PLT uses in libm on powerpc
Andreas Schwab [Thu, 15 Sep 2011 09:16:03 +0000 (11:16 +0200)]
Fix PLT uses in libm on powerpc

13 years agoUse correct section to allow merging
Ulrich Drepper [Wed, 14 Sep 2011 17:43:24 +0000 (13:43 -0400)]
Use correct section to allow merging

13 years agoOptimized lrint and llrint for x86-64
Ulrich Drepper [Wed, 14 Sep 2011 16:58:43 +0000 (12:58 -0400)]
Optimized lrint and llrint for x86-64

13 years agoAlso relocate in dependency order when doing symbol dependency testing
Andreas Schwab [Wed, 14 Sep 2011 10:12:25 +0000 (12:12 +0200)]
Also relocate in dependency order when doing symbol dependency testing

13 years agoFix undefined symbol in powerpc64 dl-machine.h
Andreas Schwab [Tue, 13 Sep 2011 17:07:33 +0000 (19:07 +0200)]
Fix undefined symbol in powerpc64 dl-machine.h

13 years agoAvoid macro clash between <sys/select.h> and <linux/posix_types.h>
Andreas Schwab [Tue, 13 Sep 2011 12:41:37 +0000 (14:41 +0200)]
Avoid macro clash between <sys/select.h> and <linux/posix_types.h>

13 years agoFix pattern on $(ldd-rewrite-script) substitution
Andreas Schwab [Tue, 13 Sep 2011 08:29:43 +0000 (10:29 +0200)]
Fix pattern on $(ldd-rewrite-script) substitution

13 years agoOnly use USE___THREAD when defined
Andreas Schwab [Tue, 13 Sep 2011 08:20:44 +0000 (10:20 +0200)]
Only use USE___THREAD when defined

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

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

13 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

13 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

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

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

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

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

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

13 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

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

13 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

13 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

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

13 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

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

13 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

13 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

13 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

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

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

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

13 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

13 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

13 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

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

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

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

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

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

13 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

13 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

13 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

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

13 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

13 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

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

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

13 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

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

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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

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

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

13 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

13 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

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

13 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

13 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

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

13 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

13 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

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

13 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

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

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

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

13 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

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

13 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*().

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

13 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

13 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

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

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

13 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

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

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

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

13 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

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

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

13 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

13 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