David S. Miller
462a5227b0
sparc: Optimize strlen using techniques from powerpc implementation.
2010-03-09 06:42:53 -08:00
David S. Miller
2fe000dfd6
sparc32: Fix non-v9 build failure in memcpy.
2010-03-09 06:37:45 -08:00
David S. Miller
d6d1c4c87c
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
2010-03-09 03:48:24 -08:00
Andreas Schwab
058e9ba9fd
Revert to original version of setxid race fix
2010-03-08 17:02:46 +01:00
Ulrich Drepper
b886abfbac
Fix one left over from last change to statvfs.
2010-03-07 18:22:52 -08:00
Ulrich Drepper
6e0a06fa40
Handle ext4 and logfs in statvfs functions.
2010-03-06 15:40:50 -08:00
Yann Droneaud
a092b645f8
Fix DEBUG statements in resolv/res_send.c
2010-03-05 16:52:31 -08:00
Ulrich Drepper
66f1b8eeb2
Fix setxid race with thread creation
2010-03-05 11:23:28 -08:00
H.J. Lu
01f1f5ee8b
Pass -mtune=i686 to assembler when compiling for i686
2010-03-04 21:30:17 -08:00
Ulrich Drepper
3df9903e41
Define new x86-64 relocation symbols
2010-03-04 19:49:04 -08:00
Richard Guenther
e39acb1f16
Fix R_X86_64_PC32 overflow detection
2010-03-04 19:33:41 -08:00
Ulrich Drepper
356af22323
Fixups.
2010-03-04 09:16:16 -08:00
David S. Miller
65ba5b4661
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.
2010-03-04 04:25:37 -08:00
David S. Miller
605277213e
sparc64: Use dbl-64/wordsize-64 math lib code.
...
* sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
2010-03-04 01:02:45 -08:00
Ulrich Drepper
d8c34cd19f
More in.h definitions from the Linux kernel.
2010-03-03 15:37:12 -08:00
David S. Miller
2e9337f58a
(INSERT_WORDS64): Fix argument order.
2010-03-03 05:58:09 -08:00
Aurelien Jarno
321029f1c3
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.
2010-03-03 02:14:03 -08:00
David S. Miller
7ec1221ff7
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.
2010-03-03 02:14:02 -08:00
Roland McGrath
42488a4d31
Merge commit 'origin/davem/sparc'
2010-03-02 11:58:09 -08:00
Roland McGrath
f2899a62cf
Define NT_X86_XSTATE constant for ELF core files.
2010-02-28 16:26:27 -08:00
Ulrich Drepper
741895aa0a
Add BZ number.
2010-02-26 19:56:04 -08:00
H.J. Lu
dc21aae6c1
Fix unwind info in x86 strcmp-sse4.S
2010-02-26 19:54:50 -08:00
David S. Miller
3afd5a3b55
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.
2010-02-25 23:58:51 -08:00
David S. Miller
e44f6f89da
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.
2010-02-25 23:58:50 -08:00
David S. Miller
dbcaf07c32
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.
2010-02-25 23:58:50 -08:00
Ulrich Drepper
4a1297d761
We can use the 64-bit register versions of the double functions.
2010-02-24 20:00:30 -08:00
Ulrich Drepper
9d2569846c
Fix typos I added in malloc.c
2010-02-24 19:47:09 -08:00
Ulrich Drepper
844c394a05
Fix comment.
2010-02-24 19:27:24 -08:00
H.J. Lu
3093e0c713
Fix issues in x86 memcpy-ssse3-rep.S
2010-02-24 18:26:30 -08:00
H.J. Lu
a0ac24d98a
Fix issues in x86 memcpy-ssse3.S
2010-02-24 18:20:57 -08:00
H.J. Lu
cc50f1a4b4
Fix issues in x86 memset-sse2.S/memset-sse2-rep.S
2010-02-24 18:11:35 -08:00
Ulrich Drepper
7ca890b88e
Fix reporting of I/O errors in *dprintf functions.
2010-02-24 16:07:57 -08:00
Petr Baudis
8c0b5f148e
Fix assertion in palloc and pvalloc as well.
2010-02-24 15:44:29 -08:00
Jim Meyering
e2f4aa547a
manual: fix typo: s/are/is/
...
* manual/math.texi (BSD Random): Fix a typo: s/are/is/
2010-02-22 21:26:22 +01:00
Jim Meyering
82acaacb9c
manual: adjust grammar
...
* manual/charset.texi: Adjust grammar.
2010-02-22 21:26:11 +01:00
Jim Meyering
bbf70ae9ce
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.
2010-02-22 21:25:57 +01:00
David S. Miller
34a407de96
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.
2010-02-20 13:48:07 -08:00
David S. Miller
2daff75bab
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.
2010-02-20 13:48:06 -08:00
David S. Miller
5c866a8b9b
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.
2010-02-20 13:48:06 -08:00
Joseph Myers
1d204bf294
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.
2010-02-20 13:48:05 -08:00
Carl Fredrik Hammar
199428c197
Fix Hurd tiocsctty change.
2010-02-19 11:08:00 -08:00
Ulrich Drepper
8c3fe38d25
Whitespace fix.
2010-02-18 23:12:10 -08:00
H.J. Lu
039c8ae6d5
Use CPUID_OFFSET instead of FEATURE_OFFSET
2010-02-18 23:11:21 -08:00
H.J. Lu
020ecba7fc
Align x86 memcmp-sse4.S and fix unwind info.
2010-02-17 23:01:55 -08:00
H.J. Lu
c60bce2cdd
Fix unwind info in x86 memcmp-ssse3.
2010-02-17 22:35:18 -08:00
H.J. Lu
28be6098c3
Simplify x86 strcmp-sse4 unwind info.
2010-02-17 22:27:41 -08:00
Ulrich Drepper
82abe82ad7
Fix and cleanup unwind info in x86 strcmp-ssse<F3>.
2010-02-17 22:13:55 -08:00
Carl Fredrik Hammar
951ca0c5ff
Clean up Hurd TIOCSCTTY.
2010-02-17 12:41:11 -08:00
Carl Fredrik Hammar
0ea5278d33
Use ioctl_handler_t typedef in Hurd ioctl macros.
2010-02-17 11:04:30 -08:00
Ulrich Drepper
d22ae6cf50
Remove commented-out code.
2010-02-15 18:47:02 -08:00