external/glibc.git
14 years agomemcpy for ppc/cell.
Ulrich Drepper [Mon, 18 Jan 2010 20:40:29 +0000 (12:40 -0800)]
memcpy for ppc/cell.

14 years agoRemove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.
Andreas Schwab [Mon, 18 Jan 2010 16:38:18 +0000 (08:38 -0800)]
Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.

14 years agoUse correct type when casting d_tag.
Andreas Schwab [Mon, 18 Jan 2010 15:24:09 +0000 (07:24 -0800)]
Use correct type when casting d_tag.

14 years agoIgnore negative dynamic entry types.
Andreas Schwab [Mon, 18 Jan 2010 15:23:23 +0000 (07:23 -0800)]
Ignore negative dynamic entry types.

14 years agosysdeps/ieee754/ldbl-128/ fixes
Jakub Jelinek [Sun, 17 Jan 2010 01:55:37 +0000 (17:55 -0800)]
sysdeps/ieee754/ldbl-128/ fixes

14 years agoFix pthread_cond_*wait with requeue-PI on i386.
Michal Schmidt [Sat, 16 Jan 2010 02:09:14 +0000 (18:09 -0800)]
Fix pthread_cond_*wait with requeue-PI on i386.

14 years agoOne forgotten checkin from regex changes.
Ulrich Drepper [Fri, 15 Jan 2010 20:20:55 +0000 (12:20 -0800)]
One forgotten checkin from regex changes.

14 years agoFix a few more cases of ignored return values in regex.
Ulrich Drepper [Fri, 15 Jan 2010 20:03:16 +0000 (12:03 -0800)]
Fix a few more cases of ignored return values in regex.

14 years agoFix _XOPEN_SOURCE_EXTENDED handling.
Ulrich Drepper [Fri, 15 Jan 2010 19:03:44 +0000 (11:03 -0800)]
Fix _XOPEN_SOURCE_EXTENDED handling.

14 years ago/390: Add runtime check for the highgprs kernel feature.
Andreas Krebbel [Fri, 15 Jan 2010 17:10:44 +0000 (09:10 -0800)]
/390: Add runtime check for the highgprs kernel feature.

14 years agold.so: Adjust the auxv if ld.so is directly invoked.
Andreas Krebbel [Fri, 15 Jan 2010 17:09:35 +0000 (09:09 -0800)]
ld.so: Adjust the auxv if ld.so is directly invoked.

If a binary gets invoked by passing it as argument to ld.so the stack
still holds the auxiliary vector of ld.so when entering the _start
routine of the executable.  So the invocation via ld.so is not fully
transparent to the executable.  This causes problems if the executable
wants to scan the auxv itself.

14 years agoUpdate wording for gcc requirement.
Ulrich Drepper [Fri, 15 Jan 2010 08:10:14 +0000 (00:10 -0800)]
Update wording for gcc requirement.

14 years agoDefine IPTOS_CLASS_* macros according to RFC 2474.
Philip Prindeville [Fri, 15 Jan 2010 07:28:05 +0000 (23:28 -0800)]
Define IPTOS_CLASS_* macros according   to RFC 2474.

14 years agoAlways use IPv4 sockets for IPv4 addresses.
Ulrich Drepper [Fri, 15 Jan 2010 06:34:28 +0000 (22:34 -0800)]
Always use IPv4 sockets for IPv4 addresses.

14 years agoregcomp.c: do not ignore memory allocation failure
Paul Eggert [Fri, 15 Jan 2010 05:35:15 +0000 (21:35 -0800)]
regcomp.c: do not ignore memory allocation failure

14 years agoMake unistd.h pre-c((-safe.
Ulrich Drepper [Fri, 15 Jan 2010 01:03:42 +0000 (17:03 -0800)]
Make unistd.h pre-c((-safe.

14 years agoActually define and export pthread_mutexattr_[sg]etrobust.
Ulrich Drepper [Fri, 15 Jan 2010 00:46:32 +0000 (16:46 -0800)]
Actually define and export pthread_mutexattr_[sg]etrobust.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Fri, 15 Jan 2010 00:25:15 +0000 (16:25 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

14 years agoRelax conditions in unistd.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:23:47 +0000 (16:23 -0800)]
Relax conditions in unistd.h.

14 years agoRelax onditions in strings.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:16:21 +0000 (16:16 -0800)]
Relax onditions in strings.h.

14 years agoelax some conditions in stdlib.h.
Ulrich Drepper [Fri, 15 Jan 2010 00:07:58 +0000 (16:07 -0800)]
elax some conditions in stdlib.h.

14 years agoPass $(sysdep-LDFLAGS) when using --print-file-name.
Ryan S. Arnold [Thu, 14 Jan 2010 23:59:02 +0000 (15:59 -0800)]
Pass $(sysdep-LDFLAGS) when using --print-file-name.

14 years agoActually define pthread_mutex_consistent.
Ulrich Drepper [Thu, 14 Jan 2010 23:52:46 +0000 (15:52 -0800)]
Actually define pthread_mutex_consistent.

14 years agoFix malloc_info without prioor allocations.
Ulrich Drepper [Thu, 14 Jan 2010 21:32:58 +0000 (13:32 -0800)]
Fix malloc_info without prioor allocations.

14 years agoRelax visibility of some more declaration.
Ulrich Drepper [Thu, 14 Jan 2010 21:22:06 +0000 (13:22 -0800)]
Relax visibility of some more declaration.

14 years agoRelax condition for resolver constant definition.
Ulrich Drepper [Thu, 14 Jan 2010 18:05:36 +0000 (10:05 -0800)]
Relax condition for resolver constant definition.

14 years agoDeclare getpagesize in _GNU_SOURCE mode again.
Ulrich Drepper [Thu, 14 Jan 2010 17:14:12 +0000 (09:14 -0800)]
Declare getpagesize in _GNU_SOURCE mode again.

14 years agoPrevent silent errors should x86-64 strncmp be needed outside libc.
Ulrich Drepper [Thu, 14 Jan 2010 16:09:32 +0000 (08:09 -0800)]
Prevent silent errors should x86-64 strncmp be needed outside libc.

14 years agoAdd nonnull attribute to unsetenv declaration.
Ulrich Drepper [Thu, 14 Jan 2010 07:06:59 +0000 (23:06 -0800)]
Add nonnull attribute to unsetenv declaration.

14 years agoUnroll the loop x86-64 SSE4.2 strlen.
H.J. Lu [Wed, 13 Jan 2010 15:51:48 +0000 (07:51 -0800)]
Unroll the loop x86-64 SSE4.2 strlen.

14 years agoBe a bit more relaxed about obsoleted mktemp symbol.
Ulrich Drepper [Wed, 13 Jan 2010 15:15:17 +0000 (07:15 -0800)]
Be a bit more relaxed about obsoleted mktemp symbol.

14 years agoMore test suite fixes.
Ulrich Drepper [Wed, 13 Jan 2010 04:11:10 +0000 (20:11 -0800)]
More test suite fixes.

14 years agoFix up grp.h for XPG7.
Ulrich Drepper [Wed, 13 Jan 2010 04:01:46 +0000 (20:01 -0800)]
Fix up grp.h for XPG7.

14 years agoFix up netdb.h for XPG7.
Ulrich Drepper [Wed, 13 Jan 2010 00:43:00 +0000 (16:43 -0800)]
Fix up netdb.h for XPG7.

14 years agoFix thinko in last patch.
Ulrich Drepper [Tue, 12 Jan 2010 20:20:15 +0000 (12:20 -0800)]
Fix thinko in last patch.

14 years agoInternal namespace test improvements.
Ulrich Drepper [Tue, 12 Jan 2010 20:18:08 +0000 (12:18 -0800)]
Internal namespace test improvements.

14 years agoFix up pthread.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 20:13:04 +0000 (12:13 -0800)]
Fix up pthread.h for XPG7.

14 years agoFix up sched.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 19:48:45 +0000 (11:48 -0800)]
Fix up sched.h for XPG7.

14 years agoFix whitespace problems.
Ulrich Drepper [Tue, 12 Jan 2010 19:28:17 +0000 (11:28 -0800)]
Fix whitespace problems.

14 years agoOptimize 32bit memset/memcpy with SSE2/SSSE3.
H.J. Lu [Tue, 12 Jan 2010 19:22:03 +0000 (11:22 -0800)]
Optimize 32bit memset/memcpy with SSE2/SSSE3.

14 years agoFix up sys/select.h test for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 15:49:10 +0000 (07:49 -0800)]
Fix up sys/select.h test for XPG7.

14 years agoFix compile error with sys/wait.h.
Jakub Jelinek [Tue, 12 Jan 2010 13:41:52 +0000 (05:41 -0800)]
Fix compile error with sys/wait.h.

14 years agoFix up sys/stat.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 05:11:29 +0000 (21:11 -0800)]
Fix up sys/stat.h for XPG7.

14 years agoFix up termios.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 05:00:23 +0000 (21:00 -0800)]
Fix up termios.h for XPG7.

14 years agoFix up tests of math.h and tgmath.h for XPG[67].
Ulrich Drepper [Tue, 12 Jan 2010 04:54:12 +0000 (20:54 -0800)]
Fix up tests of math.h and tgmath.h for XPG[67].

14 years agoFix time.h POSIX test.
Ulrich Drepper [Tue, 12 Jan 2010 04:12:53 +0000 (20:12 -0800)]
Fix time.h POSIX test.

14 years agoFix up wchar.h for XPG7.
Ulrich Drepper [Tue, 12 Jan 2010 04:07:47 +0000 (20:07 -0800)]
Fix up wchar.h for XPG7.

14 years agoFix typo in wordexp.h tests.
Ulrich Drepper [Tue, 12 Jan 2010 03:06:15 +0000 (19:06 -0800)]
Fix typo in wordexp.h tests.

14 years agoFix up unistd.h tests.
Ulrich Drepper [Tue, 12 Jan 2010 02:37:42 +0000 (18:37 -0800)]
Fix up unistd.h tests.

14 years agoFix handling symbols removed in XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 22:49:17 +0000 (14:49 -0800)]
Fix handling symbols removed in XPG7.

14 years agoFix up unistd.h for XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 22:43:46 +0000 (14:43 -0800)]
Fix up unistd.h for XPG7.

14 years agoFix double-inclusion problem of bits/stat.h.
Ulrich Drepper [Mon, 11 Jan 2010 19:03:27 +0000 (11:03 -0800)]
Fix double-inclusion problem of bits/stat.h.

14 years agoFix compile error.
Ulrich Drepper [Mon, 11 Jan 2010 11:41:22 +0000 (03:41 -0800)]
Fix compile error.

14 years agoFIx up signal.h for XPG7.
Ulrich Drepper [Mon, 11 Jan 2010 02:43:30 +0000 (18:43 -0800)]
FIx up signal.h for XPG7.

14 years agoFix up sys/wait.h header for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 19:06:06 +0000 (11:06 -0800)]
Fix up sys/wait.h header for XPG7.

14 years agoFix up sys/types.h for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 15:16:54 +0000 (07:16 -0800)]
Fix up sys/types.h for XPG7.

Also fix a test.

14 years agoFix glob.h for XPG7.
Ulrich Drepper [Sun, 10 Jan 2010 14:37:41 +0000 (06:37 -0800)]
Fix glob.h for XPG7.

14 years agoCleanup strings.h.
Ulrich Drepper [Sun, 10 Jan 2010 10:08:32 +0000 (02:08 -0800)]
Cleanup strings.h.

Cleanup the strings.h header for XPG7 and update the tests.

14 years agoMissing CLs.
Ulrich Drepper [Sun, 10 Jan 2010 08:46:27 +0000 (00:46 -0800)]
Missing CLs.

14 years agoFix standalone stdio.h inclusion.
Ulrich Drepper [Sun, 10 Jan 2010 08:39:22 +0000 (00:39 -0800)]
Fix standalone stdio.h inclusion.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Sat, 9 Jan 2010 18:59:13 +0000 (10:59 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

14 years agoAdd support for XPG7 testing.
Ulrich Drepper [Sat, 9 Jan 2010 18:56:41 +0000 (10:56 -0800)]
Add support for XPG7 testing.

The header conformance testing code needed extending for XPG7.  This
exposed a few bugs in the headers.  There are more changes to come.

14 years agoAdd new ELF constant PN_XNUM.
Roland McGrath [Fri, 8 Jan 2010 02:48:32 +0000 (18:48 -0800)]
Add new ELF constant PN_XNUM.

14 years agoUse NT_GNU_HWCAP instead of literal 2.
Roland McGrath [Thu, 7 Jan 2010 23:42:52 +0000 (15:42 -0800)]
Use NT_GNU_HWCAP instead of literal 2.

14 years agoFix typo in feature selection macro use.
Ulrich Drepper [Thu, 7 Jan 2010 06:47:31 +0000 (22:47 -0800)]
Fix typo in feature selection macro use.

14 years agoFix up ChangeLog.
Ulrich Drepper [Fri, 25 Dec 2009 17:49:07 +0000 (09:49 -0800)]
Fix up ChangeLog.

14 years agoRemove tst-sigcontext test.
Ulrich Drepper [Thu, 24 Dec 2009 21:34:05 +0000 (13:34 -0800)]
Remove tst-sigcontext test.

It's bogus in many places.

14 years agoAdditional setcontext(), etc. conformance tests.
Maciej W. Rozycki [Thu, 24 Dec 2009 21:22:33 +0000 (13:22 -0800)]
Additional setcontext(), etc. conformance tests.

14 years agoEnable multiarch whenever possible.
H.J. Lu [Thu, 24 Dec 2009 04:22:46 +0000 (20:22 -0800)]
Enable multiarch whenever possible.

14 years agoFix isomac test after recent header change.
Ulrich Drepper [Thu, 24 Dec 2009 03:31:50 +0000 (19:31 -0800)]
Fix isomac test after recent header change.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Thu, 24 Dec 2009 02:50:11 +0000 (18:50 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

14 years agoFix up ChangeLog.
Ulrich Drepper [Thu, 24 Dec 2009 02:46:03 +0000 (18:46 -0800)]
Fix up ChangeLog.

14 years agoHurd: Fix possibly uninitialized variable in _hurd_locked_install_cttyid.
Samuel Thibault [Tue, 22 Dec 2009 19:51:44 +0000 (11:51 -0800)]
Hurd: Fix possibly uninitialized variable in _hurd_locked_install_cttyid.

14 years agoHurd: Fix spurious mach_port_deallocate in getcwd.
Samuel Thibault [Tue, 22 Dec 2009 19:47:13 +0000 (11:47 -0800)]
Hurd: Fix spurious mach_port_deallocate in getcwd.

14 years agoFix s390 startup code in libpthread.
Thomas Schwinge [Tue, 22 Dec 2009 16:37:33 +0000 (08:37 -0800)]
Fix s390 startup code in libpthread.

14 years agoImplement handling of the needed S390 relocations.
Martin Schwidefsky [Tue, 22 Dec 2009 16:34:07 +0000 (08:34 -0800)]
Implement handling of the needed S390 relocations.

14 years agoHandle AT_FDCWD in futimens.
Ulrich Drepper [Mon, 21 Dec 2009 22:08:05 +0000 (14:08 -0800)]
Handle AT_FDCWD in futimens.

14 years agoSmall optimization of pthread_rwlock_init.
Ulrich Drepper [Thu, 17 Dec 2009 21:49:36 +0000 (13:49 -0800)]
Small optimization of pthread_rwlock_init.

14 years agoUpdate poll.h header for POSIX 2008.
Ulrich Drepper [Tue, 15 Dec 2009 21:05:14 +0000 (13:05 -0800)]
Update poll.h header for POSIX 2008.

14 years agoAvoid ELF lookup race.
Ulrich Drepper [Tue, 15 Dec 2009 20:32:27 +0000 (12:32 -0800)]
Avoid ELF lookup race.

On some architectures the update of the l_used field in the lookup
functions races with setting the other bits in the bitfield.  Simply
avoid this and optimize use of l_used in general.

14 years agoDefine bit_SSE2 and index_SSE2.
H.J. Lu [Sun, 13 Dec 2009 23:23:02 +0000 (15:23 -0800)]
Define bit_SSE2 and index_SSE2.

14 years agoMore whitespace fixes.
Ulrich Drepper [Sun, 13 Dec 2009 19:52:28 +0000 (11:52 -0800)]
More whitespace fixes.

14 years agoFix whitespaces.
Ulrich Drepper [Sun, 13 Dec 2009 19:51:54 +0000 (11:51 -0800)]
Fix whitespaces.

14 years agoAdd Requeue-PI support for x86 arch.
Dinakar Guniguntala [Sun, 13 Dec 2009 19:50:16 +0000 (11:50 -0800)]
Add Requeue-PI support for x86 arch.

14 years agoDefine bit_XXX and index_XXX.
H.J. Lu [Sun, 13 Dec 2009 17:47:02 +0000 (09:47 -0800)]
Define bit_XXX and index_XXX.

This patch defines bit_XXX and index_XXX and use them to check processor
feature in assembly code.  It can prevent typos in processor feature
check.

14 years agoUpdate sysdeps/sh/elf/initfini.c.
Kaz Kojima [Sun, 13 Dec 2009 17:43:51 +0000 (09:43 -0800)]
Update sysdeps/sh/elf/initfini.c.

14 years agoProvide a __set_fpscr prototype.
Mike Frysinger [Sun, 13 Dec 2009 17:42:52 +0000 (09:42 -0800)]
Provide a __set_fpscr prototype.

14 years agoInvalid timeouts in i386 sem_timedwait.
Ulrich Drepper [Sat, 12 Dec 2009 19:06:23 +0000 (11:06 -0800)]
Invalid timeouts in i386 sem_timedwait.

We adjusted nwaiters even though this isn't necessary.

14 years agoRedefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.
Ulrich Drepper [Sat, 12 Dec 2009 07:00:49 +0000 (23:00 -0800)]
Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.

14 years agoFix a few error cases in *name4_r lookup handling.
Ulrich Drepper [Thu, 10 Dec 2009 23:44:26 +0000 (15:44 -0800)]
Fix a few error cases in *name4_r lookup handling.

14 years agoFix kernel version check in recent ptsname change.
Ulrich Drepper [Wed, 9 Dec 2009 16:34:48 +0000 (08:34 -0800)]
Fix kernel version check in recent ptsname change.

14 years agoAdd more warnings to exec functions.
Bruno Haible [Wed, 9 Dec 2009 16:30:38 +0000 (08:30 -0800)]
Add more warnings to exec functions.

14 years agoAdd recvmmsg interface.
Ulrich Drepper [Wed, 9 Dec 2009 04:10:46 +0000 (20:10 -0800)]
Add recvmmsg interface.

14 years agoAdd even more cfi to s390 asm files.
Andreas Krebbel [Tue, 8 Dec 2009 01:27:45 +0000 (17:27 -0800)]
Add even more cfi to s390 asm files.

14 years agoIgnore *.rej and *.orig files in git operations.
Ulrich Drepper [Tue, 8 Dec 2009 01:00:43 +0000 (17:00 -0800)]
Ignore *.rej and *.orig files in git operations.

14 years agoRemove build related ignore patterns
Andreas Schwab [Wed, 2 Dec 2009 13:31:54 +0000 (14:31 +0100)]
Remove build related ignore patterns

14 years agoDefine SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
Ulrich Drepper [Mon, 30 Nov 2009 16:24:59 +0000 (08:24 -0800)]
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.

14 years agoSH calling __gmon_start__ from pt-initfini.c.
Thomas Schwinge [Mon, 30 Nov 2009 14:24:22 +0000 (06:24 -0800)]
SH calling __gmon_start__ from pt-initfini.c.

14 years agoFix infloop in __pthread_disable_asynccancel on x86_64
Andreas Schwab [Sat, 28 Nov 2009 05:37:30 +0000 (21:37 -0800)]
Fix infloop in __pthread_disable_asynccancel on x86_64

14 years agoAvoid handling long-obsolete old BSD PTY handling in ptsname.
Ulrich Drepper [Thu, 26 Nov 2009 16:47:56 +0000 (08:47 -0800)]
Avoid handling long-obsolete old BSD PTY handling in ptsname.

Support for this type of PTY was removed in the 2.1.115 kernel.  Just
use __LINUX_KERNEL_VERSION to determine when we can drop the compat code.