external/glibc.git
15 years agoAdd ____longjmp_chk for sparc
David S. Miller [Wed, 14 Oct 2009 12:52:42 +0000 (14:52 +0200)]
Add ____longjmp_chk for sparc

tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because
of some limitations of kernel signal delivery on sparc that I need
to fix, it has nothing to do with the longjmp_chk implementation.

(The problem with tst-longjmp_chk2 is that it tries to do a stack
 fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel
 will refuse to setup the signal stack and deliver the signal if the
 register windows can't be written out to the stack first)

15 years agoFix USE_MULTIARCH conditional
Andreas Schwab [Tue, 13 Oct 2009 14:12:47 +0000 (16:12 +0200)]
Fix USE_MULTIARCH conditional

15 years agoRemove duplicate __set_errno call in random_r.c.
Ulrich Drepper [Thu, 8 Oct 2009 20:46:47 +0000 (13:46 -0700)]
Remove duplicate __set_errno call in random_r.c.

15 years agoTypo fix.
Ulrich Drepper [Thu, 8 Oct 2009 20:39:00 +0000 (13:39 -0700)]
Typo fix.

15 years agoNew Czech translation.
Ulrich Drepper [Thu, 8 Oct 2009 20:11:13 +0000 (13:11 -0700)]
New Czech translation.

15 years agoFix descriptor leak when calling dlopen with RTLD_NOLOAD
Andreas Schwab [Tue, 6 Oct 2009 11:43:26 +0000 (13:43 +0200)]
Fix descriptor leak when calling dlopen with RTLD_NOLOAD

15 years agoClean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.
Roland McGrath [Wed, 7 Oct 2009 03:01:23 +0000 (20:01 -0700)]
Clean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.

15 years agoClean up x86 multiarch HAS_FOO macros.
Roland McGrath [Wed, 7 Oct 2009 02:59:03 +0000 (19:59 -0700)]
Clean up x86 multiarch HAS_FOO macros.

15 years agoFix week-1stday in C locale
Andreas Schwab [Mon, 5 Oct 2009 08:52:22 +0000 (10:52 +0200)]
Fix week-1stday in C locale

15 years agoDefine F_SETOWN_EX and F_GETOWN_EX in Linux headers.
Ulrich Drepper [Thu, 1 Oct 2009 08:18:41 +0000 (01:18 -0700)]
Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Tue, 29 Sep 2009 13:13:11 +0000 (06:13 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

15 years agoCheck for integer overflows in formatting functions
Andreas Schwab [Tue, 29 Sep 2009 13:11:59 +0000 (06:11 -0700)]
Check for integer overflows in formatting functions

15 years agoFix Hurd mkdirat.
Samuel Thibault [Mon, 28 Sep 2009 18:36:23 +0000 (11:36 -0700)]
Fix Hurd mkdirat.

15 years agoFix locale program error handling
Ulrich Drepper [Mon, 28 Sep 2009 17:35:41 +0000 (10:35 -0700)]
Fix locale program error handling

If an unknown name is passed to locale, report it and fail.

15 years agoHandle future binutils versions correctly.
H.J. Lu [Mon, 28 Sep 2009 11:18:09 +0000 (04:18 -0700)]
Handle future binutils versions correctly.

15 years agoFix missing reloc dependency
Ulrich Drepper [Mon, 28 Sep 2009 10:19:58 +0000 (03:19 -0700)]
Fix missing reloc dependency

When DL_LOOKUP_ADD_DEPENDENCY was introduced a few callers of
_dl_lookup_versioned_symbol were not properly adjusted.  One of them
survived until now.

15 years agoFix IXANY feature macro conditions.
Samuel Thibault [Sun, 27 Sep 2009 23:26:59 +0000 (16:26 -0700)]
Fix IXANY feature macro conditions.

15 years agoFix typo in is646 gconv module
Andreas Schwab [Sun, 20 Sep 2009 07:42:48 +0000 (09:42 +0200)]
Fix typo in is646 gconv module

15 years agoHungarian and Vietnamese translation update.
Ulrich Drepper [Sun, 20 Sep 2009 07:21:30 +0000 (00:21 -0700)]
Hungarian and Vietnamese translation update.

15 years agoRemove some unused variables.
Roland McGrath [Sun, 20 Sep 2009 00:19:41 +0000 (17:19 -0700)]
Remove some unused variables.

15 years agoMention pthread_sigqueue
Roland McGrath [Fri, 18 Sep 2009 20:30:07 +0000 (13:30 -0700)]
Mention pthread_sigqueue

15 years agoconfigure tweaks, support $libc_add_on_config_subdirs
Roland McGrath [Tue, 15 Sep 2009 21:14:42 +0000 (14:14 -0700)]
configure tweaks, support $libc_add_on_config_subdirs

15 years agoHandle -- on getconf command line.
Ulrich Drepper [Thu, 10 Sep 2009 05:15:27 +0000 (22:15 -0700)]
Handle -- on getconf command line.

15 years agoSupport binutils 2.100 and 3.0.
H.J. Lu [Tue, 8 Sep 2009 23:04:30 +0000 (16:04 -0700)]
Support binutils 2.100 and 3.0.

15 years agoFix __longjmp_chk on s390/s390x.
Jakub Jelinek [Tue, 8 Sep 2009 23:00:25 +0000 (16:00 -0700)]
Fix __longjmp_chk on s390/s390x.

s390/s390x hasn't been updated to handle alternate stacks properly.

15 years agoFix malformed #pragma.
Andreas Schwab [Mon, 7 Sep 2009 15:31:52 +0000 (08:31 -0700)]
Fix malformed #pragma.

15 years agoFix endless loop in localedef.
Ulrich Drepper [Mon, 7 Sep 2009 09:32:29 +0000 (02:32 -0700)]
Fix endless loop in localedef.

localedef got into an endless loop in case order_start was used for
the unnamed_section twice and the first use didn't actually result
into any definition.

15 years agoHandle POSIX2_LINE_MAX in getconf.
Ulrich Drepper [Mon, 7 Sep 2009 07:18:06 +0000 (00:18 -0700)]
Handle POSIX2_LINE_MAX in getconf.

15 years agoSupport binutils 2.20.
H.J. Lu [Sat, 5 Sep 2009 14:06:19 +0000 (07:06 -0700)]
Support binutils 2.20.

15 years agoFix IA-32 strstr in multiarch configuration as well.
Ulrich Drepper [Thu, 3 Sep 2009 13:44:22 +0000 (06:44 -0700)]
Fix IA-32 strstr in multiarch configuration as well.

15 years agoFix whitespaces.
Ulrich Drepper [Thu, 3 Sep 2009 02:59:43 +0000 (19:59 -0700)]
Fix whitespaces.

15 years agoFix timer_create to initialize timer_t properly.
Suzuki Poulose [Thu, 3 Sep 2009 02:58:50 +0000 (19:58 -0700)]
Fix timer_create to initialize timer_t properly.

15 years agoFix lookup of group names in hesiod initgroups.
Andreas Schwab [Thu, 3 Sep 2009 02:48:39 +0000 (19:48 -0700)]
Fix lookup of group names in hesiod initgroups.

Resolving names from a grplist entry actually never worked.

15 years agoFix fsetpos on wide stream.
Andreas Schwab [Thu, 3 Sep 2009 02:45:33 +0000 (19:45 -0700)]
Fix fsetpos on wide stream.

15 years agoFix strstr/strcasestr/fma/fmaf on x86_64.
Jakub Jelinek [Thu, 3 Sep 2009 02:43:04 +0000 (19:43 -0700)]
Fix strstr/strcasestr/fma/fmaf on x86_64.

15 years agoCleanup _IO_wfile_seekoff.
Andreas Schwab [Tue, 1 Sep 2009 22:36:22 +0000 (15:36 -0700)]
Cleanup _IO_wfile_seekoff.

This reformulates the in-buffer optimisation check to match the code in
_IO_new_file_seekoff.  No functional changes, but easier to understand.

15 years agoFix use of 64-bit insn in 32-bit memcpy for POWER6.
Joshua W. Boyer [Tue, 1 Sep 2009 22:35:35 +0000 (15:35 -0700)]
Fix use of 64-bit insn in 32-bit memcpy for POWER6.

15 years agoAdd hidden alias for fflush.
Andreas Schwab [Tue, 1 Sep 2009 22:31:09 +0000 (15:31 -0700)]
Add hidden alias for fflush.

15 years agoFix x86_64 bits/mathinline.h for -m32 compilation.
Jakub Jelinek [Tue, 1 Sep 2009 22:30:12 +0000 (15:30 -0700)]
Fix x86_64 bits/mathinline.h for -m32 compilation.

15 years agoFix parse error in bits/mathinline.h with --std=c99
Andreas Schwab [Mon, 31 Aug 2009 09:52:17 +0000 (11:52 +0200)]
Fix parse error in bits/mathinline.h with --std=c99

15 years agoFix problems with memory allocation in assert.
Ulrich Drepper [Mon, 31 Aug 2009 11:56:07 +0000 (04:56 -0700)]
Fix problems with memory allocation in assert.

In case the allocator is corrupted and an assert triggers, we shouldn't
allocate any more memory.  Use a private assert definition which doesn't
use malloc.

15 years agoAdd local assert function to avoid problems with memory allocation in
Ulrich Drepper [Mon, 31 Aug 2009 11:55:10 +0000 (04:55 -0700)]
Add local assert function to avoid problems with memory allocation in
the real one.

15 years agoSH lowlevellock broken for FUTEX_CLOCK_REALTIME.
Andrew Stubbs [Fri, 28 Aug 2009 21:57:16 +0000 (14:57 -0700)]
SH lowlevellock broken for FUTEX_CLOCK_REALTIME.

15 years agoRemove ENABLE_SSSE3_ON_ATOM.
H.J. Lu [Fri, 28 Aug 2009 21:54:46 +0000 (14:54 -0700)]
Remove ENABLE_SSSE3_ON_ATOM.

It turns that SSSE3 isn't slow on Atom. The problem is bsf. This patch
removes ENABLE_SSSE3_ON_ATOM.

15 years agoMore strto{,u}l{,l} tests.
Ulrich Drepper [Fri, 28 Aug 2009 20:45:28 +0000 (13:45 -0700)]
More strto{,u}l{,l} tests.

15 years agoAdd isinf optimized for 64-bit.
Ulrich Drepper [Wed, 26 Aug 2009 07:51:45 +0000 (00:51 -0700)]
Add isinf optimized for 64-bit.

15 years agoOptimized isnan for 64-bit machines.
Ulrich Drepper [Wed, 26 Aug 2009 07:12:58 +0000 (00:12 -0700)]
Optimized isnan for 64-bit machines.

15 years agoMake llround an alias for lround on 64-bit machines.
Ulrich Drepper [Wed, 26 Aug 2009 06:53:23 +0000 (23:53 -0700)]
Make llround an alias for lround on 64-bit machines.

15 years agoOptimized nearbyint for 64-bit.
Ulrich Drepper [Wed, 26 Aug 2009 06:26:16 +0000 (23:26 -0700)]
Optimized nearbyint for 64-bit.

15 years agoOptimized rint implementation for x86-64.
Ulrich Drepper [Wed, 26 Aug 2009 05:44:34 +0000 (22:44 -0700)]
Optimized rint implementation for x86-64.

15 years agoAdd 64-bit optimized s_round.
Ulrich Drepper [Wed, 26 Aug 2009 00:28:50 +0000 (17:28 -0700)]
Add 64-bit optimized s_round.

15 years agoOptimize out duplicated scalbln code for x86-64.
Ulrich Drepper [Tue, 25 Aug 2009 23:46:34 +0000 (16:46 -0700)]
Optimize out duplicated scalbln code for x86-64.

15 years agoFix generic fdiml.
Joseph Myers [Tue, 25 Aug 2009 22:48:06 +0000 (15:48 -0700)]
Fix generic fdiml.

15 years agoAdd 64-bit optimized scalbln.
Ulrich Drepper [Tue, 25 Aug 2009 22:42:41 +0000 (15:42 -0700)]
Add 64-bit optimized scalbln.

15 years agoOptimized signbit{,f} for x86-64.
Ulrich Drepper [Tue, 25 Aug 2009 21:54:12 +0000 (14:54 -0700)]
Optimized signbit{,f} for x86-64.

15 years agoAdd 64-bit optimized version lround.
Ulrich Drepper [Tue, 25 Aug 2009 21:12:41 +0000 (14:12 -0700)]
Add 64-bit optimized version lround.

15 years agoUpdate the conformance description.
Joseph Myers [Tue, 25 Aug 2009 20:08:04 +0000 (13:08 -0700)]
Update the conformance description.

15 years ago64-bit optimized implementation of trunc.
Ulrich Drepper [Tue, 25 Aug 2009 19:02:13 +0000 (12:02 -0700)]
64-bit optimized implementation of trunc.

15 years agoHandle AVX saving on x86-64 in interrupted smbol lookups.
Ulrich Drepper [Tue, 25 Aug 2009 17:42:30 +0000 (10:42 -0700)]
Handle AVX saving on x86-64 in interrupted smbol lookups.

If a signal arrived during a symbol lookup and the signal handler also
required a symbol lookup, the end of the lookup in the signal handler reset
the flag whether restoring AVX/SSE registers is needed.  Resetting means
in this case that the tail part of the outer lookup code will try to
restore the registers and this can fail miserably.  We now restore to the
previous value which makes nesting calls possible.

15 years agoAdd ceil implementation for 64-bit machines.
Ulrich Drepper [Tue, 25 Aug 2009 01:05:48 +0000 (18:05 -0700)]
Add ceil implementation for 64-bit machines.

On 64-bit machines we should not split doubles into two 32 bit
integer and handle the words separately.  We have wide registers.
This patch implements a 64-bit ceil version.  Ideally all other
functions will be converted over time.

15 years agoHint to kernel that thread stack memory can be removed.
Ulrich Drepper [Mon, 24 Aug 2009 23:23:47 +0000 (16:23 -0700)]
Hint to kernel that thread stack memory can be removed.

15 years agoOptimize float construction/extraction on x86-64.
Ulrich Drepper [Mon, 24 Aug 2009 21:52:49 +0000 (14:52 -0700)]
Optimize float construction/extraction on x86-64.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Mon, 24 Aug 2009 19:07:27 +0000 (12:07 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

15 years agoFix overflow handling in fdim.
Ulrich Drepper [Mon, 24 Aug 2009 19:06:55 +0000 (12:06 -0700)]
Fix overflow handling in fdim.

15 years agoAdd sysdeps/unix/syscall-template.S; build syscall stubs with deps and -g pointing...
Roland McGrath [Mon, 24 Aug 2009 00:43:21 +0000 (17:43 -0700)]
Add sysdeps/unix/syscall-template.S; build syscall stubs with deps and -g pointing to it.

15 years agoDefine math_errhandling is possible.
Ulrich Drepper [Mon, 24 Aug 2009 17:33:57 +0000 (10:33 -0700)]
Define math_errhandling is possible.

15 years agoOptimize x86-64 signbit{,f} a bit.
Ulrich Drepper [Mon, 24 Aug 2009 17:20:58 +0000 (10:20 -0700)]
Optimize x86-64 signbit{,f} a bit.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Mon, 24 Aug 2009 03:43:53 +0000 (20:43 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

15 years agoFix td_ta_map_lwp2thr logging and early sanity check.
Roland McGrath [Sun, 23 Aug 2009 23:33:50 +0000 (16:33 -0700)]
Fix td_ta_map_lwp2thr logging and early sanity check.

15 years agoExtend last test case.
Ulrich Drepper [Sun, 23 Aug 2009 23:03:48 +0000 (16:03 -0700)]
Extend last test case.

15 years agoAdd test case for last fixed regex bug.
Ulrich Drepper [Sun, 23 Aug 2009 22:33:40 +0000 (15:33 -0700)]
Add test case for last fixed regex bug.

15 years agoRecognize ill-formed { } expressions in regcomp.
Ulrich Drepper [Sun, 23 Aug 2009 22:22:00 +0000 (15:22 -0700)]
Recognize ill-formed { } expressions in regcomp.

15 years agoAlso correct _POSIX2_* constants in case older standards are selected.
Ulrich Drepper [Sun, 23 Aug 2009 21:55:51 +0000 (14:55 -0700)]
Also correct _POSIX2_* constants in case older standards are selected.

15 years agoMore namespace cleanups.
Ulrich Drepper [Sun, 23 Aug 2009 20:59:41 +0000 (13:59 -0700)]
More namespace cleanups.

15 years agoDefine _POSIX_VERSION correctly when older POSIX versions are selected.
Ulrich Drepper [Sun, 23 Aug 2009 19:27:09 +0000 (12:27 -0700)]
Define _POSIX_VERSION correctly when older POSIX versions are selected.

15 years agoPrint sign of NaN values.
Ulrich Drepper [Sun, 23 Aug 2009 18:57:52 +0000 (11:57 -0700)]
Print sign of NaN values.

15 years agoThread-local locale handling part of XPG7.
Ulrich Drepper [Sun, 23 Aug 2009 17:56:08 +0000 (10:56 -0700)]
Thread-local locale handling part of XPG7.

I incorrectly enabled the definitions for XPG6.

15 years agoRvert accidental checkins.
Ulrich Drepper [Sun, 23 Aug 2009 00:58:04 +0000 (17:58 -0700)]
Rvert accidental checkins.

15 years agoAdd sigstack handling to Linux ____longjmp_chk on powerpc.
Andreas Schwab [Sat, 22 Aug 2009 09:01:51 +0000 (02:01 -0700)]
Add sigstack handling to Linux ____longjmp_chk on powerpc.

15 years agoImprove backtrace_symbols{,_fd} output when missing symbols.
Roland McGrath [Thu, 20 Aug 2009 22:31:08 +0000 (15:31 -0700)]
Improve backtrace_symbols{,_fd} output when missing symbols.

15 years agoFix 64-bit platform handling in test cases for generated headers with constants.
Ulrich Drepper [Sun, 16 Aug 2009 07:39:43 +0000 (00:39 -0700)]
Fix 64-bit platform handling in test cases for generated headers with constants.

15 years agoImprove test-skeleton.c to clean up after dead parent.
Ulrich Drepper [Fri, 14 Aug 2009 07:42:51 +0000 (00:42 -0700)]
Improve test-skeleton.c to clean up after dead parent.

15 years agoAdd CFI directives to x86-64 pthread_rwlock_unlock.
Ulrich Drepper [Wed, 12 Aug 2009 03:47:36 +0000 (20:47 -0700)]
Add CFI directives to x86-64 pthread_rwlock_unlock.

15 years agoAdd CFI directives to x86-64 pthread_rwlock_{rd,wr)lock.
Ulrich Drepper [Mon, 10 Aug 2009 18:26:16 +0000 (11:26 -0700)]
Add CFI directives to x86-64 pthread_rwlock_{rd,wr)lock.

15 years agoSH: fix clobber list in stdlib/longlong.h
SUGIOKA Toshinobu [Mon, 10 Aug 2009 15:12:49 +0000 (08:12 -0700)]
SH: fix clobber list in stdlib/longlong.h

15 years agoFix check for PI mutex in x86-64 pthread_cond_signal
Andreas Schwab [Mon, 10 Aug 2009 15:10:11 +0000 (08:10 -0700)]
Fix check for PI mutex in x86-64 pthread_cond_signal

Register eax contains the syscall number, use a different one instead.

15 years agoOptimize x86-64 version of sem_timedwait.
Ulrich Drepper [Sun, 9 Aug 2009 00:48:09 +0000 (17:48 -0700)]
Optimize x86-64 version of sem_timedwait.

15 years agoRemove duplicate NEWS entry.
Ulrich Drepper [Sat, 8 Aug 2009 18:01:04 +0000 (11:01 -0700)]
Remove duplicate NEWS entry.

15 years agoYet more news items.
Ulrich Drepper [Sat, 8 Aug 2009 17:57:59 +0000 (10:57 -0700)]
Yet more news items.

15 years agoSupport mixed SSE/AVX audit and check AVX only once.
H.J. Lu [Sat, 8 Aug 2009 17:54:42 +0000 (10:54 -0700)]
Support mixed SSE/AVX audit and check AVX only once.

This patch fixes mixed SSE/AVX audit and checks AVX only once in
_dl_runtime_profile. When an AVX or SSE register value in pltenter is
modified, we have to make sure that the SSE part value is the same in both
lr_xmm and lr_vector fields so that pltexit will get the correct value
from either lr_xmm or lr_vector fields. AVX-enabled pltenter should
update both lr_xmm and lr_vector fields to support stacked AVX/SSE
pltenter functions.

15 years agoUse PIC only if SHARED is defined.
H.J. Lu [Sat, 8 Aug 2009 17:29:29 +0000 (10:29 -0700)]
Use PIC only if SHARED is defined.

For ia32, we can avoid PIC in IFUNC functions in static library.

15 years agoSimplify cpuid.h configure test.
Jim Meyering [Sat, 8 Aug 2009 17:25:58 +0000 (10:25 -0700)]
Simplify cpuid.h configure test.

15 years agoAnother minor optimization of x86-64 pthread_cond_wait.
Ulrich Drepper [Sat, 8 Aug 2009 17:21:46 +0000 (10:21 -0700)]
Another minor optimization of x86-64 pthread_cond_wait.

15 years agoMove SSE4.2 functions together.
Ulrich Drepper [Sat, 8 Aug 2009 16:38:32 +0000 (09:38 -0700)]
Move SSE4.2 functions together.

15 years agoAdd some news items.
Ulrich Drepper [Sat, 8 Aug 2009 16:13:02 +0000 (09:13 -0700)]
Add some news items.

15 years agoAdd SSSE3-optimized implementation of str{,n}cmp for x86-64.
Ulrich Drepper [Sat, 8 Aug 2009 05:51:02 +0000 (22:51 -0700)]
Add SSSE3-optimized implementation of str{,n}cmp for x86-64.

15 years agoSmall optimizations to cancellable x86-64 code.
Ulrich Drepper [Sat, 8 Aug 2009 03:36:53 +0000 (20:36 -0700)]
Small optimizations to cancellable x86-64 code.

15 years agoAvoid warning through fake initialization.
Ulrich Drepper [Fri, 7 Aug 2009 23:19:54 +0000 (16:19 -0700)]
Avoid warning through fake initialization.

15 years agoFix whitespace in last patch.
Ulrich Drepper [Fri, 7 Aug 2009 17:41:54 +0000 (10:41 -0700)]
Fix whitespace in last patch.

15 years agoAdd the missing "; \".
H.J. Lu [Fri, 7 Aug 2009 17:40:45 +0000 (10:40 -0700)]
Add the missing "; \".