platform/upstream/glibc.git
14 years agoFix build of mmap64.
David S. Miller [Wed, 31 Mar 2010 21:07:39 +0000 (14:07 -0700)]
Fix build of mmap64.

14 years agoDefine MSG_WAITFORONE.
Ulrich Drepper [Tue, 30 Mar 2010 05:31:44 +0000 (22:31 -0700)]
Define MSG_WAITFORONE.

14 years agoFix typos from last patch.
Ulrich Drepper [Tue, 30 Mar 2010 01:43:06 +0000 (18:43 -0700)]
Fix typos from last patch.

14 years agoHandle platforms without aux vector
Thomas Schwinge [Mon, 29 Mar 2010 22:13:53 +0000 (15:13 -0700)]
Handle platforms without aux vector

14 years agoOptimize __getpagesize a bit.
Ulrich Drepper [Sat, 27 Mar 2010 13:19:50 +0000 (06:19 -0700)]
Optimize __getpagesize a bit.

14 years agoWhitespace fixes.
Ulrich Drepper [Sat, 27 Mar 2010 13:19:03 +0000 (06:19 -0700)]
Whitespace fixes.

14 years agoFix handling of __need_mbstate_t and __need_wint_t.
Ulrich Drepper [Sat, 27 Mar 2010 13:06:35 +0000 (06:06 -0700)]
Fix handling of __need_mbstate_t and __need_wint_t.

Like the real header, the libc-internal wrapper for wchar.h needs to
undefine the macros so that if the header was already included before
the macros don't stay defined and cause problems later.

14 years agoFix one more issue with the glob patch.
Ulrich Drepper [Sat, 27 Mar 2010 12:48:17 +0000 (05:48 -0700)]
Fix one more issue with the glob patch.

14 years agoFix comments and indentation.
Ulrich Drepper [Sat, 27 Mar 2010 11:48:18 +0000 (04:48 -0700)]
Fix comments and indentation.

14 years agoDefine miss_F_GETOWN_EX only if needed.
Ulrich Drepper [Sat, 27 Mar 2010 11:11:14 +0000 (04:11 -0700)]
Define miss_F_GETOWN_EX only if needed.

When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24,
there are several warnings like this:

  ../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used

14 years agoShorted ChangeLog.
Ulrich Drepper [Fri, 26 Mar 2010 20:33:26 +0000 (13:33 -0700)]
Shorted ChangeLog.

14 years agoMark _dl_random attribute_relro in the header file.
Richard Henderson [Fri, 26 Mar 2010 16:51:57 +0000 (09:51 -0700)]
Mark _dl_random attribute_relro in the header file.

It's already so marked in dl-sysdep.c.  Failure to so mark
in the header file leads the compiler to believe that the
variable should be addressable via the .sdata section.

Signed-off-by: Richard Henderson <rth@twiddle.net>
14 years agoFix printf format warning for si_band.
Richard Henderson [Fri, 26 Mar 2010 16:48:44 +0000 (09:48 -0700)]
Fix printf format warning for si_band.

Signed-off-by: Richard Henderson <rth@twiddle.net>
14 years agoFinish locale_data -> __locale_data transition.
Richard Henderson [Fri, 26 Mar 2010 16:21:34 +0000 (09:21 -0700)]
Finish locale_data -> __locale_data transition.

The transition that was begun here
f095bb7204d80f609a73a22796edd6cffd4c6add
was not complete.

Signed-off-by: Richard Henderson <rth@twiddle.net>
14 years agoDon't take the address of a void object.
Richard Henderson [Fri, 26 Mar 2010 16:16:21 +0000 (09:16 -0700)]
Don't take the address of a void object.

GCC 4.5 warns about "extern void _end; &end;".
Use char[] instead, as that also doesn't fall foul
of a target's .sdata optimizations.

Signed-off-by: Richard Henderson <rth@twiddle.net>
14 years agoFix one case of last checkin.
Ulrich Drepper [Fri, 26 Mar 2010 12:52:39 +0000 (05:52 -0700)]
Fix one case of last checkin.

If the v4 lookup failed but v6 succeeded we treat this as a success.

14 years agoDon't abort immediately on successful lookup in getaddrinfo.
Ulrich Drepper [Fri, 26 Mar 2010 12:40:27 +0000 (05:40 -0700)]
Don't abort immediately on successful lookup in getaddrinfo.

When not using gethostbyname4 methods we immediately aborted the loop
over the nss modules on the first successful lookup.  While this is
almost always what is wanted the nsswitch.conf file allows to select
something different.

14 years agoFix spurious UNAVAIL status is getaddrinfo
Andreas Schwab [Fri, 26 Mar 2010 12:35:50 +0000 (05:35 -0700)]
Fix spurious UNAVAIL status is getaddrinfo

14 years agoRemove stale reference to website
Ulrich Drepper [Fri, 26 Mar 2010 12:09:55 +0000 (05:09 -0700)]
Remove stale reference to website

14 years agoRemove unwanted malloc changes, again.
Ulrich Drepper [Fri, 26 Mar 2010 11:00:10 +0000 (04:00 -0700)]
Remove unwanted malloc changes, again.

14 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Fri, 26 Mar 2010 02:45:20 +0000 (19:45 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

14 years agoAdd support for new clocks.
Ulrich Drepper [Thu, 25 Mar 2010 11:01:33 +0000 (04:01 -0700)]
Add support for new clocks.

Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.

14 years agoFix typo in cuserid
Andreas Schwab [Thu, 25 Mar 2010 10:35:05 +0000 (11:35 +0100)]
Fix typo in cuserid

14 years agoocale-archive differs between 32 and 64 bit platforms
Chris Demetriou [Thu, 25 Mar 2010 00:10:47 +0000 (17:10 -0700)]
ocale-archive differs between 32 and 64 bit platforms

14 years agoFix Linux getlogin{_r,} implementation
Ulrich Drepper [Thu, 25 Mar 2010 00:02:57 +0000 (17:02 -0700)]
Fix Linux getlogin{_r,} implementation

The old implementation uses fd 0 to determine the login TTY.  This
was needed because using /dev/tty it is not possible to deduce the
login TTY.  For some time now there is the pseudo-file
/proc/self/loginuid which directly helps us to find the user.  Prefer
using this file.  It also works if stdin is closed, redirected, or
re-opened.

14 years agocalls to cuserid() can result in buffer overruns and/or overflows
Jonathan Geisler [Wed, 24 Mar 2010 23:02:15 +0000 (16:02 -0700)]
calls to cuserid() can result in buffer overruns and/or overflows

14 years agoChange first_weekday and first_workday in et_EE locale
Priit Laes [Wed, 24 Mar 2010 22:50:02 +0000 (15:50 -0700)]
Change first_weekday and first_workday in et_EE locale

14 years agoAllow variable shift values in mmap2.
Ulrich Drepper [Wed, 24 Mar 2010 21:59:43 +0000 (14:59 -0700)]
Allow variable shift values in mmap2.

14 years agoEnable common version of pthread_cond_timedwait to use clock_gettime in VDSO
Luis Machado [Wed, 24 Mar 2010 21:46:03 +0000 (14:46 -0700)]
Enable common version of pthread_cond_timedwait to use clock_gettime in VDSO

14 years agoDon't define __strpbrk_sse42 in static library
H.J. Lu [Wed, 24 Mar 2010 19:16:24 +0000 (12:16 -0700)]
Don't define __strpbrk_sse42 in static library

14 years agoTest case for last x86 memcmp problem
H.J. Lu [Wed, 24 Mar 2010 19:14:03 +0000 (12:14 -0700)]
Test case for last x86 memcmp problem

14 years agoAdd test for last glob bug.
Ulrich Drepper [Wed, 24 Mar 2010 19:10:51 +0000 (12:10 -0700)]
Add test for last glob bug.

14 years agoFix glob with empty pattern
Ulrich Drepper [Wed, 24 Mar 2010 18:58:05 +0000 (11:58 -0700)]
Fix glob with empty pattern

14 years agoFix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING
Ulrich Drepper [Wed, 24 Mar 2010 17:14:22 +0000 (10:14 -0700)]
Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING

14 years agoUnify wint_t handling in wchar.h and wctype.h.
Ulrich Drepper [Wed, 24 Mar 2010 13:59:02 +0000 (06:59 -0700)]
Unify wint_t handling in wchar.h and wctype.h.

Fix a few typos in the process.

14 years agoFuture safety in checking ELF header.
Ulrich Drepper [Thu, 18 Mar 2010 20:15:27 +0000 (13:15 -0700)]
Future safety in checking ELF header.

If we should use further fields in the e_ident array in the ELF header
of files we want zero to mean the default.  Enforce zero for now so
that non-optional features indicated by nonzero values are not go
unnoticed when using an old dynamic linker.

14 years agoFix sysdeps/i386/i686/multiarch/memcmp-ssse3.S
H.J. Lu [Thu, 18 Mar 2010 18:40:46 +0000 (11:40 -0700)]
Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.S

14 years agoFix missing dependency of localedata tests on gconv-modules
Paul Pluzhnikov [Wed, 17 Mar 2010 16:01:34 +0000 (09:01 -0700)]
Fix missing dependency of localedata tests on gconv-modules

14 years agoFix debug statements in resolver
Andreas Schwab [Wed, 17 Mar 2010 13:57:38 +0000 (06:57 -0700)]
Fix debug statements in resolver

14 years agoA few more archs have IFUNC support.
Ulrich Drepper [Wed, 17 Mar 2010 09:43:12 +0000 (02:43 -0700)]
A few more archs have IFUNC support.

14 years agoExtended ELF ABI version handling only for Linux.
Ulrich Drepper [Wed, 17 Mar 2010 06:34:59 +0000 (23:34 -0700)]
Extended ELF ABI version handling only for Linux.

If the OSABI is generic we should not allow the ABI version to be nonzero.
Move all the new functionality into Linux-specific files.

14 years agoAlso update Linux-specific VALID_ELF_ABIVERSION definition.
Ulrich Drepper [Tue, 16 Mar 2010 21:39:45 +0000 (14:39 -0700)]
Also update Linux-specific VALID_ELF_ABIVERSION definition.

14 years agoMissing files for libc ABI handling.
Ulrich Drepper [Tue, 16 Mar 2010 11:47:33 +0000 (04:47 -0700)]
Missing files for libc ABI handling.

14 years agoUpdate copyright year.
Ulrich Drepper [Mon, 15 Mar 2010 18:50:59 +0000 (11:50 -0700)]
Update copyright year.

14 years agoImplement handling of libc ABI in ELF header.
Ulrich Drepper [Mon, 15 Mar 2010 18:44:58 +0000 (11:44 -0700)]
Implement handling of libc ABI in ELF header.

14 years agoDefine UMOUNT_NOFOLLOW.
Ulrich Drepper [Fri, 12 Mar 2010 16:44:10 +0000 (08:44 -0800)]
Define UMOUNT_NOFOLLOW.

14 years agoDon't underestimate length of DST substitution
Andreas Schwab [Fri, 12 Mar 2010 15:57:19 +0000 (07:57 -0800)]
Don't underestimate length of DST substitution

14 years agoelf.h: Add missing R_X86_64_*64 relocs.
Roland McGrath [Thu, 11 Mar 2010 08:44:28 +0000 (00:44 -0800)]
elf.h: Add missing R_X86_64_*64 relocs.

14 years agoFix whitespace issues.
Ulrich Drepper [Wed, 10 Mar 2010 15:28:04 +0000 (07:28 -0800)]
Fix whitespace issues.

14 years agopower7-optimized 64-bit and 32-bit memcpy
Luis Machado [Wed, 10 Mar 2010 15:14:16 +0000 (07:14 -0800)]
power7-optimized 64-bit and 32-bit memcpy

14 years agoFix a few more problem with the recent setxid changes.
Ulrich Drepper [Wed, 10 Mar 2010 04:21:12 +0000 (20:21 -0800)]
Fix a few more problem with the recent setxid changes.

14 years agosparc: Optimize strlen using techniques from powerpc implementation.
David S. Miller [Tue, 9 Mar 2010 14:42:53 +0000 (06:42 -0800)]
sparc: Optimize strlen using techniques from powerpc implementation.

14 years agosparc32: Fix non-v9 build failure in memcpy.
David S. Miller [Tue, 9 Mar 2010 14:37:45 +0000 (06:37 -0800)]
sparc32: Fix non-v9 build failure in memcpy.

14 years agosparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
David S. Miller [Tue, 9 Mar 2010 11:48:24 +0000 (03:48 -0800)]
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.

14 years agoRevert to original version of setxid race fix
Andreas Schwab [Mon, 8 Mar 2010 16:01:14 +0000 (17:01 +0100)]
Revert to original version of setxid race fix

14 years agoFix one left over from last change to statvfs.
Ulrich Drepper [Mon, 8 Mar 2010 02:22:52 +0000 (18:22 -0800)]
Fix one left over from last change to statvfs.

14 years agoHandle ext4 and logfs in statvfs functions.
Ulrich Drepper [Sat, 6 Mar 2010 23:40:50 +0000 (15:40 -0800)]
Handle ext4 and logfs in statvfs functions.

14 years agoFix DEBUG statements in resolv/res_send.c
Yann Droneaud [Sat, 6 Mar 2010 00:52:31 +0000 (16:52 -0800)]
Fix DEBUG statements in resolv/res_send.c

14 years agoFix setxid race with thread creation
Ulrich Drepper [Fri, 5 Mar 2010 19:23:28 +0000 (11:23 -0800)]
Fix setxid race with thread creation

14 years agoPass -mtune=i686 to assembler when compiling for i686
H.J. Lu [Fri, 5 Mar 2010 05:30:17 +0000 (21:30 -0800)]
Pass -mtune=i686 to assembler when compiling for i686

14 years agoDefine new x86-64 relocation symbols
Ulrich Drepper [Fri, 5 Mar 2010 03:49:04 +0000 (19:49 -0800)]
Define new x86-64 relocation symbols

14 years agoFix R_X86_64_PC32 overflow detection
Richard Guenther [Fri, 5 Mar 2010 03:33:41 +0000 (19:33 -0800)]
Fix R_X86_64_PC32 overflow detection

14 years agoFixups.
Ulrich Drepper [Thu, 4 Mar 2010 17:16:16 +0000 (09:16 -0800)]
Fixups.

14 years agosparc32: Remove unused code.
David S. Miller [Thu, 4 Mar 2010 12:24:15 +0000 (04:24 -0800)]
sparc32: Remove unused code.

2010-03-04  David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete.
* sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete.

14 years agosparc64: Use dbl-64/wordsize-64 math lib code.
David S. Miller [Thu, 4 Mar 2010 09:02:45 +0000 (01:02 -0800)]
sparc64: Use dbl-64/wordsize-64 math lib code.

* sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.

14 years agoMore in.h definitions from the Linux kernel.
Ulrich Drepper [Wed, 3 Mar 2010 23:37:12 +0000 (15:37 -0800)]
More in.h definitions from the Linux kernel.

14 years ago(INSERT_WORDS64): Fix argument order.
David S. Miller [Wed, 3 Mar 2010 13:58:09 +0000 (05:58 -0800)]
(INSERT_WORDS64): Fix argument order.

14 years agosparc64: Fix msgrcv()
Aurelien Jarno [Wed, 3 Mar 2010 10:11:46 +0000 (02:11 -0800)]
sparc64: Fix msgrcv()

msgrcv() does not work on sparc64, as it passes the 6th argument using
the ipc kludge, while the kernel waits for a 6 arguments syscall. This
patches fixes the problem by using a sparc64 specific version of
msgrcv.c.

2010-03-03  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file.

14 years agosparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.
David S. Miller [Wed, 3 Mar 2010 10:10:22 +0000 (02:10 -0800)]
sparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.

2010-03-03  David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must
pass '1' for 't' argument to sparc_fixup_plt.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel):
Likewise.
* sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define.
(sparc_fixup_plt): Document 't' argument.  Enable branch
optimization and use v9 branches when possible.  Explain why we
cannot unconditionally patch the branch into the first PLT
instruction.
* sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't'
argument.  Use v9 branches when possible.  Explain why we can in
fact unconditionally use a branch in the first PLT instruction
here.

14 years agoMerge commit 'origin/davem/sparc'
Roland McGrath [Tue, 2 Mar 2010 19:57:25 +0000 (11:57 -0800)]
Merge commit 'origin/davem/sparc'

14 years agoDefine NT_X86_XSTATE constant for ELF core files.
Roland McGrath [Mon, 1 Mar 2010 00:26:27 +0000 (16:26 -0800)]
Define NT_X86_XSTATE constant for ELF core files.

14 years agoAdd BZ number.
Ulrich Drepper [Sat, 27 Feb 2010 03:56:04 +0000 (19:56 -0800)]
Add BZ number.

14 years agoFix unwind info in x86 strcmp-sse4.S
H.J. Lu [Sat, 27 Feb 2010 03:54:50 +0000 (19:54 -0800)]
Fix unwind info in x86 strcmp-sse4.S

14 years agosparc: Add multiarch support for memset/bzero/memcpy.
David S. Miller [Fri, 26 Feb 2010 07:52:07 +0000 (23:52 -0800)]
sparc: Add multiarch support for memset/bzero/memcpy.

2010-02-25  David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/elf/rtld-global-offsets.sym: New file.
* sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to
gen-as-const-headers.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file.
* sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to...
* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here.
* sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed.
* sysdeps/sparc/sparc64/multiarch/Makefile: New file.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to...
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here.
* sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: New file.
* sysdeps/sparc/sparc64/multiarch/memset.S: New file.

14 years agosparc: Pull bcopy/memmove out of memcpy.S implementations.
David S. Miller [Mon, 22 Feb 2010 11:59:49 +0000 (03:59 -0800)]
sparc: Pull bcopy/memmove out of memcpy.S implementations.

2010-02-25  David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/sparc32/bcopy.c: Delete.
* sysdeps/sparc/sparc32/memmove.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete.
* sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete.
* sysdeps/sparc/sparc64/bcopy.c: Delete.
* sysdeps/sparc/sparc64/memmove.c: Delete.
* sysdeps/sparc/sparc64/memcopy.h: New.
* sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove.
* sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise.

14 years agosparc: Reimplement 64-bit aligned copy routines and remove from memcpy files.
David S. Miller [Mon, 22 Feb 2010 04:12:29 +0000 (20:12 -0800)]
sparc: Reimplement 64-bit aligned copy routines and remove from memcpy files.

2010-02-25  David S. Miller  <davem@davemloft.net>

* sysdeps/sparc/sparc64/Makefile: Add align-cpy rule.
* sysdeps/sparc/sparc64/align-cpy.S: New.
* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2,
__align_cpy_4, __align_cpy_8, __align_cpy_16): Remove.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.
* sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.
* sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1,
__align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
Remove.

14 years agoWe can use the 64-bit register versions of the double functions.
Ulrich Drepper [Thu, 25 Feb 2010 04:00:30 +0000 (20:00 -0800)]
We can use the 64-bit register versions of the double functions.

14 years agoFix typos I added in malloc.c
Ulrich Drepper [Thu, 25 Feb 2010 03:47:09 +0000 (19:47 -0800)]
Fix typos I added in malloc.c

14 years agoFix comment.
Ulrich Drepper [Thu, 25 Feb 2010 03:27:24 +0000 (19:27 -0800)]
Fix comment.

14 years agoFix issues in x86 memcpy-ssse3-rep.S
H.J. Lu [Thu, 25 Feb 2010 02:26:30 +0000 (18:26 -0800)]
Fix issues in x86 memcpy-ssse3-rep.S

14 years agoFix issues in x86 memcpy-ssse3.S
H.J. Lu [Thu, 25 Feb 2010 02:20:57 +0000 (18:20 -0800)]
Fix issues in x86 memcpy-ssse3.S

14 years agoFix issues in x86 memset-sse2.S/memset-sse2-rep.S
H.J. Lu [Thu, 25 Feb 2010 02:11:35 +0000 (18:11 -0800)]
Fix issues in x86 memset-sse2.S/memset-sse2-rep.S

14 years agoFix reporting of I/O errors in *dprintf functions.
Ulrich Drepper [Thu, 25 Feb 2010 00:07:57 +0000 (16:07 -0800)]
Fix reporting of I/O errors in *dprintf functions.

14 years agoFix assertion in palloc and pvalloc as well.
Petr Baudis [Wed, 24 Feb 2010 23:44:29 +0000 (15:44 -0800)]
Fix assertion in palloc and pvalloc as well.

14 years agomanual: fix typo: s/are/is/
Jim Meyering [Wed, 29 Oct 2008 10:05:39 +0000 (11:05 +0100)]
manual: fix typo: s/are/is/

* manual/math.texi (BSD Random): Fix a typo: s/are/is/

14 years agomanual: adjust grammar
Jim Meyering [Wed, 4 Jun 2008 09:46:50 +0000 (11:46 +0200)]
manual: adjust grammar

* manual/charset.texi: Adjust grammar.

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.