external/glibc.git
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.

12 years agoMore optimizations of nss_files
Ulrich Drepper [Sat, 20 Aug 2011 19:55:44 +0000 (15:55 -0400)]
More optimizations of nss_files

12 years agoMinor optimizatin in alias lookup in files NSS module
Ulrich Drepper [Sat, 20 Aug 2011 19:25:16 +0000 (15:25 -0400)]
Minor optimizatin in alias lookup in files NSS module

12 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sat, 20 Aug 2011 19:17:30 +0000 (15:17 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

12 years agoPrint message that there is no scope instead of being silent
Ulrich Drepper [Sat, 20 Aug 2011 19:16:42 +0000 (15:16 -0400)]
Print message that there is no scope instead of being silent

12 years agoMerge branch 'roland/x86-tcb-align'
Roland McGrath [Sat, 20 Aug 2011 17:02:54 +0000 (10:02 -0700)]
Merge branch 'roland/x86-tcb-align'

12 years agoFurther improve printing os ELF symbol lookup scope information
Ulrich Drepper [Sat, 20 Aug 2011 16:59:45 +0000 (12:59 -0400)]
Further improve printing os ELF symbol lookup scope information

12 years agoAdd test for BZ 13114
Ulrich Drepper [Sat, 20 Aug 2011 13:22:16 +0000 (09:22 -0400)]
Add test for BZ 13114

12 years agoFix fopen (non-existing-file, "re") errno
Andreas Jaeger [Sat, 20 Aug 2011 13:12:49 +0000 (09:12 -0400)]
Fix fopen (non-existing-file, "re") errno

12 years agoFix CL entry
Ulrich Drepper [Sat, 20 Aug 2011 13:01:33 +0000 (09:01 -0400)]
Fix CL entry

12 years agoFix minor CFI problem in regular x86-64 trampoline
Ulrich Drepper [Sat, 20 Aug 2011 12:58:44 +0000 (08:58 -0400)]
Fix minor CFI problem in regular x86-64 trampoline

12 years agoFix CFI info in x86-64 trampolines for non-AVX code
Ulrich Drepper [Sat, 20 Aug 2011 12:56:30 +0000 (08:56 -0400)]
Fix CFI info in x86-64 trampolines for non-AVX code

12 years agoAdjust libm test ulps for powerpc
Andreas Schwab [Sat, 20 Aug 2011 12:39:39 +0000 (08:39 -0400)]
Adjust libm test ulps for powerpc

12 years agoRemove the file<
Andreas Schwab [Sat, 20 Aug 2011 12:38:58 +0000 (08:38 -0400)]
Remove the file<

12 years agoUse correct scandir64 implementation on ppc64
Andreas Schwab [Sat, 20 Aug 2011 12:33:42 +0000 (08:33 -0400)]
Use correct scandir64 implementation on ppc64

12 years agoFix tst-writev on non-4K page size
David S. Miller [Thu, 18 Aug 2011 01:51:21 +0000 (21:51 -0400)]
Fix tst-writev on non-4K page size

12 years agoAdd rules to build libresolv with SSP flags
Ulrich Drepper [Thu, 18 Aug 2011 01:36:23 +0000 (21:36 -0400)]
Add rules to build libresolv with SSP flags

12 years agoAvoid executable stack in makedb
Andreas Schwab [Wed, 17 Aug 2011 14:32:59 +0000 (10:32 -0400)]
Avoid executable stack in makedb

12 years agoFix some problem of 32-bit pldd on 64-bit platforms
Ulrich Drepper [Wed, 17 Aug 2011 14:31:15 +0000 (10:31 -0400)]
Fix some problem of 32-bit pldd on 64-bit platforms

12 years agoPrevent possible race conditions by attaching pldd to all threads
Ulrich Drepper [Wed, 17 Aug 2011 13:41:23 +0000 (09:41 -0400)]
Prevent possible race conditions by attaching pldd to all threads

12 years agoImprove printing of lookup scopes
Ulrich Drepper [Tue, 16 Aug 2011 20:11:03 +0000 (16:11 -0400)]
Improve printing of lookup scopes

The scope of a new object should be printed earlier and when the scope
of an already loaded object is extended only the changes should be
printed.

12 years agoAvoid warning from last change
Ulrich Drepper [Tue, 16 Aug 2011 16:35:28 +0000 (12:35 -0400)]
Avoid warning from last change

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

12 years agoFix printing of scope number
Ulrich Drepper [Tue, 16 Aug 2011 15:17:15 +0000 (11:17 -0400)]
Fix printing of scope number

12 years agoAlign x86 TCB to 64 bytes (cache line size), important for Atom.
Roland McGrath [Sun, 14 Aug 2011 22:46:52 +0000 (15:46 -0700)]
Align x86 TCB to 64 bytes (cache line size), important for Atom.

12 years agoMore warning patrol, in dead code (sigh).
Roland McGrath [Mon, 15 Aug 2011 02:26:36 +0000 (19:26 -0700)]
More warning patrol, in dead code (sigh).

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

Conflicts:
ChangeLog

12 years agoAdd missing initialization in service cache in nscd
Ulrich Drepper [Mon, 15 Aug 2011 02:20:09 +0000 (22:20 -0400)]
Add missing initialization in service cache in nscd

12 years agoMore warning patrol.
Roland McGrath [Sun, 14 Aug 2011 23:42:06 +0000 (16:42 -0700)]
More warning patrol.

12 years agoClean up locale/Makefile variables for -D switches.
Roland McGrath [Sun, 14 Aug 2011 23:08:37 +0000 (16:08 -0700)]
Clean up locale/Makefile variables for -D switches.

12 years agoWarning patrol.
Roland McGrath [Sun, 14 Aug 2011 22:59:11 +0000 (15:59 -0700)]
Warning patrol.

12 years ago * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
David S. Miller [Sun, 14 Aug 2011 11:07:50 +0000 (04:07 -0700)]
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.

12 years agoImplement LD_DEBUG=scopes
Ulrich Drepper [Sun, 14 Aug 2011 02:24:08 +0000 (22:24 -0400)]
Implement LD_DEBUG=scopes

12 years agoFix caller information of NSS modules
Ulrich Drepper [Sat, 13 Aug 2011 16:47:47 +0000 (12:47 -0400)]
Fix caller information of NSS modules

12 years agoFix compile problem
Ulrich Drepper [Sat, 13 Aug 2011 16:21:10 +0000 (12:21 -0400)]
Fix compile problem

l10nflist compiles for localedef now.  Optimize a bit.

12 years agoBetter check for last patch
Ulrich Drepper [Fri, 12 Aug 2011 17:32:10 +0000 (13:32 -0400)]
Better check for last patch

Don't indicate that dependencies of dynamically loaded objects are
also dynamically loaded.

12 years agoBetter debug information from ld.so
Ulrich Drepper [Fri, 12 Aug 2011 17:20:11 +0000 (13:20 -0400)]
Better debug information from ld.so

Differentiate between loading as a dependency and loading on request.

12 years agoMinor optimization of popcount in l10nflist
Ulrich Drepper [Thu, 11 Aug 2011 18:07:04 +0000 (14:07 -0400)]
Minor optimization of popcount in l10nflist