platform/upstream/glibc.git
14 years agomanual: fix doubled-words and typos
Jim Meyering [Wed, 28 May 2008 09:37:21 +0000 (11:37 +0200)]
manual: fix doubled-words and typos

* manual/charset.texi (Selecting the Conversion): Likewise.
* manual/errno.texi (Error Messages): Likewise.
* manual/getopt.texi (Getopt Long Options): Likewise.
* manual/memory.texi (Resizing the Data Segment): Likewise.
* manual/message.texi (GUI program problems): Likewise.
* manual/resource.texi (CPU Affinity): Likewise.
* manual/stdio.texi (Streams and Threads): Likewise.
* manual/time.texi (High Accuracy Clock): Likewise.

14 years agosparc: Fix 32-bit makecontext arg passing.
David S. Miller [Sat, 20 Feb 2010 21:43:09 +0000 (13:43 -0800)]
sparc: Fix 32-bit makecontext arg passing.

test-makecontext3 fails because we fill in the argument
stack slots past the 5th using the wrong index.

14 years agosparc: Fix v9 memchr with long buffer lengths.
David S. Miller [Sat, 20 Feb 2010 21:42:07 +0000 (13:42 -0800)]
sparc: Fix v9 memchr with long buffer lengths.

test-memchr fails on 32-bit sparc with v9 optimized memchr because
it uses signed branch comparisons on the buffer pointers.

14 years agoFix PLT rewrite when prelinking fails on 32-bit sparc.
David S. Miller [Sat, 20 Feb 2010 21:40:59 +0000 (13:40 -0800)]
Fix PLT rewrite when prelinking fails on 32-bit sparc.

When prelinking fails we have to rewrite the PLT, but the code
doing so forgets to adjust all rela->r_offset addresses by the
location of where the object was actually mapped.

14 years agoFix PLT rewrite when prelinking fails on 64-bit sparc.
Joseph Myers [Sat, 20 Feb 2010 21:39:58 +0000 (13:39 -0800)]
Fix PLT rewrite when prelinking fails on 64-bit sparc.

When prelinking fails we have to rewrite the PLT, but the code
doing so forgets to adjust all rela->r_offset addresses by the
location of where the object was actually mapped.

14 years agoFix Hurd tiocsctty change.
Carl Fredrik Hammar [Fri, 19 Feb 2010 19:08:00 +0000 (11:08 -0800)]
Fix Hurd tiocsctty change.

14 years agoWhitespace fix.
Ulrich Drepper [Fri, 19 Feb 2010 07:12:10 +0000 (23:12 -0800)]
Whitespace fix.

14 years agoUse CPUID_OFFSET instead of FEATURE_OFFSET
H.J. Lu [Fri, 19 Feb 2010 07:11:21 +0000 (23:11 -0800)]
Use CPUID_OFFSET instead of FEATURE_OFFSET

14 years agoAlign x86 memcmp-sse4.S and fix unwind info.
H.J. Lu [Thu, 18 Feb 2010 07:01:55 +0000 (23:01 -0800)]
Align x86 memcmp-sse4.S and fix unwind info.

14 years agoFix unwind info in x86 memcmp-ssse3.
H.J. Lu [Thu, 18 Feb 2010 06:35:18 +0000 (22:35 -0800)]
Fix unwind info in x86 memcmp-ssse3.

14 years agoSimplify x86 strcmp-sse4 unwind info.
H.J. Lu [Thu, 18 Feb 2010 06:27:41 +0000 (22:27 -0800)]
Simplify x86 strcmp-sse4 unwind info.

14 years agoFix and cleanup unwind info in x86 strcmp-ssse<F3>.
Ulrich Drepper [Thu, 18 Feb 2010 06:13:55 +0000 (22:13 -0800)]
Fix and cleanup unwind info in x86 strcmp-ssse<F3>.

14 years agoClean up Hurd TIOCSCTTY.
Carl Fredrik Hammar [Wed, 17 Feb 2010 20:41:11 +0000 (12:41 -0800)]
Clean up Hurd TIOCSCTTY.

14 years agoUse ioctl_handler_t typedef in Hurd ioctl macros.
Carl Fredrik Hammar [Wed, 17 Feb 2010 19:04:30 +0000 (11:04 -0800)]
Use ioctl_handler_t typedef in Hurd ioctl macros.

14 years agoRemove commented-out code.
Ulrich Drepper [Tue, 16 Feb 2010 02:47:02 +0000 (18:47 -0800)]
Remove commented-out code.

14 years agoFix up new x86 string functions.
Ulrich Drepper [Mon, 15 Feb 2010 21:04:54 +0000 (13:04 -0800)]
Fix up new x86 string functions.

14 years ago32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
H.J. Lu [Mon, 15 Feb 2010 19:17:50 +0000 (11:17 -0800)]
32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2

14 years agoCleanup ChangeLog.
Ulrich Drepper [Fri, 12 Feb 2010 16:04:28 +0000 (08:04 -0800)]
Cleanup ChangeLog.

14 years agoCleanup old obsolete PPC_REL16 checks
Luis Machado [Fri, 12 Feb 2010 15:55:01 +0000 (07:55 -0800)]
Cleanup old obsolete PPC_REL16 checks

14 years agofix powerpc macros in tls-macros.h
Alan Modra [Fri, 12 Feb 2010 13:32:09 +0000 (05:32 -0800)]
fix powerpc macros in tls-macros.h

14 years agoS/390: Disable two UTF conversion instructions
Andreas Krebbel [Thu, 11 Feb 2010 15:22:58 +0000 (07:22 -0800)]
S/390: Disable two UTF conversion instructions

14 years agoFix file descriotor leak in nftw with FTW_CHDIR
Ulrich Drepper [Thu, 11 Feb 2010 04:31:48 +0000 (20:31 -0800)]
Fix file descriotor leak in nftw with FTW_CHDIR

14 years agoSparc STT_GNU_IFUNC support
David S. Miller [Wed, 10 Feb 2010 15:42:17 +0000 (07:42 -0800)]
Sparc STT_GNU_IFUNC support

14 years agoSome updates to the README file
Ulrich Drepper [Wed, 10 Feb 2010 15:34:34 +0000 (07:34 -0800)]
Some updates to the README file

14 years agoAdd m68k TLS relocations
Maxim Kuvyrkov [Wed, 10 Feb 2010 15:24:21 +0000 (07:24 -0800)]
Add m68k TLS relocations

14 years agoFix POWER7 Implies
Luis Machado [Wed, 10 Feb 2010 15:15:01 +0000 (07:15 -0800)]
Fix POWER7 Implies

14 years agoUndo unintended maloc change.
Ulrich Drepper [Wed, 10 Feb 2010 08:04:49 +0000 (00:04 -0800)]
Undo unintended maloc change.

14 years agoMore compact unwind info.
Ulrich Drepper [Wed, 10 Feb 2010 06:59:11 +0000 (22:59 -0800)]
More compact unwind info.

14 years agoFix i386 __mpn_lshift unwind info
Ulrich Drepper [Wed, 10 Feb 2010 06:54:36 +0000 (22:54 -0800)]
Fix i386 __mpn_lshift unwind info

14 years agoFix whitespace issues.
Ulrich Drepper [Wed, 10 Feb 2010 06:46:23 +0000 (22:46 -0800)]
Fix whitespace issues.

14 years agopower7-optimized classification functions
Luis Machado [Wed, 10 Feb 2010 06:42:38 +0000 (22:42 -0800)]
power7-optimized classification functions

14 years agoAvoid PLT call to fegetenv on s390
Andreas Schwab [Wed, 10 Feb 2010 06:34:17 +0000 (22:34 -0800)]
Avoid PLT call to fegetenv on s390

14 years agoWhitespace and copyright year fixes.
Ulrich Drepper [Sat, 6 Feb 2010 10:38:53 +0000 (02:38 -0800)]
Whitespace and copyright year fixes.

14 years agomemchr overshoots on ia64
H.J. Lu [Sat, 6 Feb 2010 10:13:56 +0000 (02:13 -0800)]
memchr overshoots on ia64

14 years agoAvoid PLT calls in utmp compat wrappers on Linux/s390
Andreas Schwab [Sat, 6 Feb 2010 10:03:10 +0000 (02:03 -0800)]
Avoid PLT calls in utmp compat wrappers on Linux/s390

14 years agoAdd new errlist compat entry for 2.12.
Andreas Schwab [Sat, 6 Feb 2010 10:02:22 +0000 (02:02 -0800)]
Add new errlist compat entry for 2.12.

14 years agoUpdate constants for current kernels.
Ulrich Drepper [Wed, 3 Feb 2010 14:55:30 +0000 (06:55 -0800)]
Update constants for current kernels.

14 years agoFix endless loop with invalid /etc/shells file.
Ulrich Drepper [Wed, 3 Feb 2010 14:23:31 +0000 (06:23 -0800)]
Fix endless loop with invalid /etc/shells file.

14 years agoAdd missing bz number.
Ulrich Drepper [Wed, 3 Feb 2010 12:05:54 +0000 (04:05 -0800)]
Add missing bz number.

14 years agoFix sorting of malayalam letter 'na'.
Pravin Satpute [Wed, 3 Feb 2010 11:50:01 +0000 (03:50 -0800)]
Fix sorting of malayalam letter 'na'.

14 years agoAdd kok_IN locale.
Pravin Satpute [Wed, 3 Feb 2010 11:47:04 +0000 (03:47 -0800)]
Add kok_IN locale.

14 years agoFix whitespaces.
Ulrich Drepper [Wed, 3 Feb 2010 11:36:52 +0000 (03:36 -0800)]
Fix whitespaces.

14 years agoMove Tamil collation data to common source file.
Pravin Satpute [Wed, 3 Feb 2010 11:32:06 +0000 (03:32 -0800)]
Move Tamil collation data to common source file.

14 years agoUse common collation data in as_IN locale.
Pravin Satpute [Wed, 3 Feb 2010 11:28:19 +0000 (03:28 -0800)]
Use common collation data in as_IN locale.

14 years agoAvoid alloca in setenv for long strings.
Ulrich Drepper [Tue, 2 Feb 2010 17:55:55 +0000 (09:55 -0800)]
Avoid alloca in setenv for long strings.

14 years agoGive Hurd weak aliases for getsysstats get_* functions.
Samuel Thibault [Wed, 27 Jan 2010 01:44:58 +0000 (17:44 -0800)]
Give Hurd weak aliases for getsysstats get_* functions.

14 years agoDon't map U00DF to U1E9E in toupper table.
Andreas Schwab [Mon, 25 Jan 2010 20:01:42 +0000 (12:01 -0800)]
Don't map U00DF to U1E9E in toupper table.

14 years agoFix error checking in iconv.
Andreas Schwab [Mon, 25 Jan 2010 15:17:47 +0000 (07:17 -0800)]
Fix error checking in iconv.

14 years agoAdd BZ number.
Ulrich Drepper [Fri, 22 Jan 2010 20:45:43 +0000 (12:45 -0800)]
Add BZ number.

14 years ago_nl_load_locale() incorrectly handles mmap() failures
Joe Landers [Fri, 22 Jan 2010 20:44:58 +0000 (12:44 -0800)]
_nl_load_locale() incorrectly handles mmap() failures

14 years agoregexec.c: avoid overflow in realloc buffer length computation
Paul Eggert [Fri, 22 Jan 2010 20:41:12 +0000 (12:41 -0800)]
regexec.c: avoid overflow in realloc buffer length computation

14 years agoregexec.c: avoid leaks on out-of-memory failure paths
Paul Eggert [Fri, 22 Jan 2010 20:33:58 +0000 (12:33 -0800)]
regexec.c: avoid leaks on out-of-memory failure paths

14 years agoregexec.c: avoid overflow in computing sum of lengths
Paul Eggert [Fri, 22 Jan 2010 20:22:18 +0000 (12:22 -0800)]
regexec.c: avoid overflow in computing sum of lengths

14 years agore_search_internal: Avoid overflow in computing re_malloc buffer size
Paul Eggert [Fri, 22 Jan 2010 20:15:53 +0000 (12:15 -0800)]
re_search_internal: Avoid overflow in computing re_malloc buffer size

14 years agoprune_impossible_nodes: Avoid overflow in computing re_malloc buffer size
Paul Eggert [Fri, 22 Jan 2010 20:03:56 +0000 (12:03 -0800)]
prune_impossible_nodes: Avoid overflow in computing re_malloc buffer size

14 years agoregexec.c: avoid arithmetic overflow in buffer size calculation
Paul Eggert [Fri, 22 Jan 2010 18:52:38 +0000 (10:52 -0800)]
regexec.c: avoid arithmetic overflow in buffer size calculation

14 years agoregexec.c: simplify re_search_2_stub
Paul Eggert [Fri, 22 Jan 2010 18:39:59 +0000 (10:39 -0800)]
regexec.c: simplify re_search_2_stub

14 years agoSimplify test in re_string_skip_chars.
Ulrich Drepper [Fri, 22 Jan 2010 18:22:53 +0000 (10:22 -0800)]
Simplify test in re_string_skip_chars.

14 years agoregex_internal.c: don't assume WEOF fits in wchar_t
Ulrich Drepper [Fri, 22 Jan 2010 18:17:45 +0000 (10:17 -0800)]
regex_internal.c: don't assume WEOF fits in wchar_t

14 years agoregex_internal.c: remove useless variable and the code to set it.
Ulrich Drepper [Fri, 22 Jan 2010 17:57:30 +0000 (09:57 -0800)]
regex_internal.c: remove useless variable and the code to set it.

14 years agoExtend overflow detection in re_dfa_add_node.
Ulrich Drepper [Fri, 22 Jan 2010 17:48:35 +0000 (09:48 -0800)]
Extend overflow detection in re_dfa_add_node.

14 years agoregex: avoid internal re_realloc overflow
Ulrich Drepper [Fri, 22 Jan 2010 17:33:01 +0000 (09:33 -0800)]
regex: avoid internal re_realloc overflow

14 years agoFix ____longjmp_chk for s390/s390x.
Andreas Schwab [Wed, 20 Jan 2010 15:59:30 +0000 (07:59 -0800)]
Fix ____longjmp_chk for s390/s390x.

14 years agoSupport __memmove_ssse3_rep when SHARED isn't defined.
H.J. Lu [Tue, 19 Jan 2010 20:20:57 +0000 (12:20 -0800)]
Support __memmove_ssse3_rep when SHARED isn't defined.

14 years agoRemove unnecessary returns.
Ulrich Drepper [Tue, 19 Jan 2010 20:04:34 +0000 (12:04 -0800)]
Remove unnecessary returns.

14 years agoDefine __rtld_lock_recursive_* for Hurd.
Samuel Thibault [Mon, 18 Jan 2010 22:44:22 +0000 (14:44 -0800)]
Define __rtld_lock_recursive_* for Hurd.

14 years agoFix whitespace issues.
Ulrich Drepper [Mon, 18 Jan 2010 20:43:47 +0000 (12:43 -0800)]
Fix whitespace issues.

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.