David S. Miller [Tue, 9 Mar 2010 14:37:45 +0000 (06:37 -0800)]
sparc32: Fix non-v9 build failure in memcpy.
David S. Miller [Tue, 9 Mar 2010 11:48:24 +0000 (03:48 -0800)]
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
Andreas Schwab [Mon, 8 Mar 2010 16:01:14 +0000 (17:01 +0100)]
Revert to original version of setxid race fix
Ulrich Drepper [Mon, 8 Mar 2010 02:22:52 +0000 (18:22 -0800)]
Fix one left over from last change to statvfs.
Ulrich Drepper [Sat, 6 Mar 2010 23:40:50 +0000 (15:40 -0800)]
Handle ext4 and logfs in statvfs functions.
Yann Droneaud [Sat, 6 Mar 2010 00:52:31 +0000 (16:52 -0800)]
Fix DEBUG statements in resolv/res_send.c
Ulrich Drepper [Fri, 5 Mar 2010 19:23:28 +0000 (11:23 -0800)]
Fix setxid race with thread creation
H.J. Lu [Fri, 5 Mar 2010 05:30:17 +0000 (21:30 -0800)]
Pass -mtune=i686 to assembler when compiling for i686
Ulrich Drepper [Fri, 5 Mar 2010 03:49:04 +0000 (19:49 -0800)]
Define new x86-64 relocation symbols
Richard Guenther [Fri, 5 Mar 2010 03:33:41 +0000 (19:33 -0800)]
Fix R_X86_64_PC32 overflow detection
Ulrich Drepper [Thu, 4 Mar 2010 17:16:16 +0000 (09:16 -0800)]
Fixups.
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.
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.
Ulrich Drepper [Wed, 3 Mar 2010 23:37:12 +0000 (15:37 -0800)]
More in.h definitions from the Linux kernel.
David S. Miller [Wed, 3 Mar 2010 13:58:09 +0000 (05:58 -0800)]
(INSERT_WORDS64): Fix argument order.
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.
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.
Roland McGrath [Tue, 2 Mar 2010 19:57:25 +0000 (11:57 -0800)]
Merge commit 'origin/davem/sparc'
Roland McGrath [Mon, 1 Mar 2010 00:26:27 +0000 (16:26 -0800)]
Define NT_X86_XSTATE constant for ELF core files.
Ulrich Drepper [Sat, 27 Feb 2010 03:56:04 +0000 (19:56 -0800)]
Add BZ number.
H.J. Lu [Sat, 27 Feb 2010 03:54:50 +0000 (19:54 -0800)]
Fix unwind info in x86 strcmp-sse4.S
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.
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.
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.
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.
Ulrich Drepper [Thu, 25 Feb 2010 03:47:09 +0000 (19:47 -0800)]
Fix typos I added in malloc.c
Ulrich Drepper [Thu, 25 Feb 2010 03:27:24 +0000 (19:27 -0800)]
Fix comment.
H.J. Lu [Thu, 25 Feb 2010 02:26:30 +0000 (18:26 -0800)]
Fix issues in x86 memcpy-ssse3-rep.S
H.J. Lu [Thu, 25 Feb 2010 02:20:57 +0000 (18:20 -0800)]
Fix issues in x86 memcpy-ssse3.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
Ulrich Drepper [Thu, 25 Feb 2010 00:07:57 +0000 (16:07 -0800)]
Fix reporting of I/O errors in *dprintf functions.
Petr Baudis [Wed, 24 Feb 2010 23:44:29 +0000 (15:44 -0800)]
Fix assertion in palloc and pvalloc as well.
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/
Jim Meyering [Wed, 4 Jun 2008 09:46:50 +0000 (11:46 +0200)]
manual: adjust grammar
* manual/charset.texi: Adjust grammar.
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.
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.
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.
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.
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.
Carl Fredrik Hammar [Fri, 19 Feb 2010 19:08:00 +0000 (11:08 -0800)]
Fix Hurd tiocsctty change.
Ulrich Drepper [Fri, 19 Feb 2010 07:12:10 +0000 (23:12 -0800)]
Whitespace fix.
H.J. Lu [Fri, 19 Feb 2010 07:11:21 +0000 (23:11 -0800)]
Use CPUID_OFFSET instead of FEATURE_OFFSET
H.J. Lu [Thu, 18 Feb 2010 07:01:55 +0000 (23:01 -0800)]
Align x86 memcmp-sse4.S and fix unwind info.
H.J. Lu [Thu, 18 Feb 2010 06:35:18 +0000 (22:35 -0800)]
Fix unwind info in x86 memcmp-ssse3.
H.J. Lu [Thu, 18 Feb 2010 06:27:41 +0000 (22:27 -0800)]
Simplify x86 strcmp-sse4 unwind info.
Ulrich Drepper [Thu, 18 Feb 2010 06:13:55 +0000 (22:13 -0800)]
Fix and cleanup unwind info in x86 strcmp-ssse<F3>.
Carl Fredrik Hammar [Wed, 17 Feb 2010 20:41:11 +0000 (12:41 -0800)]
Clean up Hurd TIOCSCTTY.
Carl Fredrik Hammar [Wed, 17 Feb 2010 19:04:30 +0000 (11:04 -0800)]
Use ioctl_handler_t typedef in Hurd ioctl macros.
Ulrich Drepper [Tue, 16 Feb 2010 02:47:02 +0000 (18:47 -0800)]
Remove commented-out code.
Ulrich Drepper [Mon, 15 Feb 2010 21:04:54 +0000 (13:04 -0800)]
Fix up new x86 string functions.
H.J. Lu [Mon, 15 Feb 2010 19:17:50 +0000 (11:17 -0800)]
32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
Ulrich Drepper [Fri, 12 Feb 2010 16:04:28 +0000 (08:04 -0800)]
Cleanup ChangeLog.
Luis Machado [Fri, 12 Feb 2010 15:55:01 +0000 (07:55 -0800)]
Cleanup old obsolete PPC_REL16 checks
Alan Modra [Fri, 12 Feb 2010 13:32:09 +0000 (05:32 -0800)]
fix powerpc macros in tls-macros.h
Andreas Krebbel [Thu, 11 Feb 2010 15:22:58 +0000 (07:22 -0800)]
S/390: Disable two UTF conversion instructions
Ulrich Drepper [Thu, 11 Feb 2010 04:31:48 +0000 (20:31 -0800)]
Fix file descriotor leak in nftw with FTW_CHDIR
David S. Miller [Wed, 10 Feb 2010 15:42:17 +0000 (07:42 -0800)]
Sparc STT_GNU_IFUNC support
Ulrich Drepper [Wed, 10 Feb 2010 15:34:34 +0000 (07:34 -0800)]
Some updates to the README file
Maxim Kuvyrkov [Wed, 10 Feb 2010 15:24:21 +0000 (07:24 -0800)]
Add m68k TLS relocations
Luis Machado [Wed, 10 Feb 2010 15:15:01 +0000 (07:15 -0800)]
Fix POWER7 Implies
Ulrich Drepper [Wed, 10 Feb 2010 08:04:49 +0000 (00:04 -0800)]
Undo unintended maloc change.
Ulrich Drepper [Wed, 10 Feb 2010 06:59:11 +0000 (22:59 -0800)]
More compact unwind info.
Ulrich Drepper [Wed, 10 Feb 2010 06:54:36 +0000 (22:54 -0800)]
Fix i386 __mpn_lshift unwind info
Ulrich Drepper [Wed, 10 Feb 2010 06:46:23 +0000 (22:46 -0800)]
Fix whitespace issues.
Luis Machado [Wed, 10 Feb 2010 06:42:38 +0000 (22:42 -0800)]
power7-optimized classification functions
Andreas Schwab [Wed, 10 Feb 2010 06:34:17 +0000 (22:34 -0800)]
Avoid PLT call to fegetenv on s390
Ulrich Drepper [Sat, 6 Feb 2010 10:38:53 +0000 (02:38 -0800)]
Whitespace and copyright year fixes.
H.J. Lu [Sat, 6 Feb 2010 10:13:56 +0000 (02:13 -0800)]
memchr overshoots on ia64
Andreas Schwab [Sat, 6 Feb 2010 10:03:10 +0000 (02:03 -0800)]
Avoid PLT calls in utmp compat wrappers on Linux/s390
Andreas Schwab [Sat, 6 Feb 2010 10:02:22 +0000 (02:02 -0800)]
Add new errlist compat entry for 2.12.
Ulrich Drepper [Wed, 3 Feb 2010 14:55:30 +0000 (06:55 -0800)]
Update constants for current kernels.
Ulrich Drepper [Wed, 3 Feb 2010 14:23:31 +0000 (06:23 -0800)]
Fix endless loop with invalid /etc/shells file.
Ulrich Drepper [Wed, 3 Feb 2010 12:05:54 +0000 (04:05 -0800)]
Add missing bz number.
Pravin Satpute [Wed, 3 Feb 2010 11:50:01 +0000 (03:50 -0800)]
Fix sorting of malayalam letter 'na'.
Pravin Satpute [Wed, 3 Feb 2010 11:47:04 +0000 (03:47 -0800)]
Add kok_IN locale.
Ulrich Drepper [Wed, 3 Feb 2010 11:36:52 +0000 (03:36 -0800)]
Fix whitespaces.
Pravin Satpute [Wed, 3 Feb 2010 11:32:06 +0000 (03:32 -0800)]
Move Tamil collation data to common source file.
Pravin Satpute [Wed, 3 Feb 2010 11:28:19 +0000 (03:28 -0800)]
Use common collation data in as_IN locale.
Ulrich Drepper [Tue, 2 Feb 2010 17:55:55 +0000 (09:55 -0800)]
Avoid alloca in setenv for long strings.
Samuel Thibault [Wed, 27 Jan 2010 01:44:58 +0000 (17:44 -0800)]
Give Hurd weak aliases for getsysstats get_* functions.
Andreas Schwab [Mon, 25 Jan 2010 20:01:42 +0000 (12:01 -0800)]
Don't map U00DF to U1E9E in toupper table.
Andreas Schwab [Mon, 25 Jan 2010 15:17:47 +0000 (07:17 -0800)]
Fix error checking in iconv.
Ulrich Drepper [Fri, 22 Jan 2010 20:45:43 +0000 (12:45 -0800)]
Add BZ number.
Joe Landers [Fri, 22 Jan 2010 20:44:58 +0000 (12:44 -0800)]
_nl_load_locale() incorrectly handles mmap() failures
Paul Eggert [Fri, 22 Jan 2010 20:41:12 +0000 (12:41 -0800)]
regexec.c: avoid overflow in realloc buffer length computation
Paul Eggert [Fri, 22 Jan 2010 20:33:58 +0000 (12:33 -0800)]
regexec.c: avoid leaks on out-of-memory failure paths
Paul Eggert [Fri, 22 Jan 2010 20:22:18 +0000 (12:22 -0800)]
regexec.c: avoid overflow in computing sum of lengths
Paul Eggert [Fri, 22 Jan 2010 20:15:53 +0000 (12:15 -0800)]
re_search_internal: 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
Paul Eggert [Fri, 22 Jan 2010 18:52:38 +0000 (10:52 -0800)]
regexec.c: avoid arithmetic overflow in buffer size calculation
Paul Eggert [Fri, 22 Jan 2010 18:39:59 +0000 (10:39 -0800)]
regexec.c: simplify re_search_2_stub
Ulrich Drepper [Fri, 22 Jan 2010 18:22:53 +0000 (10:22 -0800)]
Simplify test in re_string_skip_chars.
Ulrich Drepper [Fri, 22 Jan 2010 18:17:45 +0000 (10:17 -0800)]
regex_internal.c: don't assume WEOF fits in wchar_t
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.
Ulrich Drepper [Fri, 22 Jan 2010 17:48:35 +0000 (09:48 -0800)]
Extend overflow detection in re_dfa_add_node.
Ulrich Drepper [Fri, 22 Jan 2010 17:33:01 +0000 (09:33 -0800)]
regex: avoid internal re_realloc overflow
Andreas Schwab [Wed, 20 Jan 2010 15:59:30 +0000 (07:59 -0800)]
Fix ____longjmp_chk for s390/s390x.
H.J. Lu [Tue, 19 Jan 2010 20:20:57 +0000 (12:20 -0800)]
Support __memmove_ssse3_rep when SHARED isn't defined.
Ulrich Drepper [Tue, 19 Jan 2010 20:04:34 +0000 (12:04 -0800)]
Remove unnecessary returns.
Samuel Thibault [Mon, 18 Jan 2010 22:44:22 +0000 (14:44 -0800)]
Define __rtld_lock_recursive_* for Hurd.