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
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
6bb74d9f86
Fix up new x86 string functions.
2010-02-15 13:04:54 -08:00
H.J. Lu
904057bc17
32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
2010-02-15 11:17:50 -08:00
Ulrich Drepper
0ab85ce429
Cleanup ChangeLog.
2010-02-12 08:04:28 -08:00
Luis Machado
41288fbb78
Cleanup old obsolete PPC_REL16 checks
2010-02-12 07:55:01 -08:00
Alan Modra
c62cf60c6b
fix powerpc macros in tls-macros.h
2010-02-12 05:32:09 -08:00
Andreas Krebbel
a3dc465852
S/390: Disable two UTF conversion instructions
2010-02-11 07:22:58 -08:00
Ulrich Drepper
247fdf2e2b
Fix file descriotor leak in nftw with FTW_CHDIR
2010-02-10 20:31:48 -08:00
David S. Miller
311927f1bd
Sparc STT_GNU_IFUNC support
2010-02-10 07:42:17 -08:00
Maxim Kuvyrkov
bbabf1f73f
Add m68k TLS relocations
2010-02-10 07:24:21 -08:00
Luis Machado
61c9346ddc
Fix POWER7 Implies
2010-02-10 07:15:01 -08:00
Ulrich Drepper
0ee5660b7c
More compact unwind info.
2010-02-09 22:59:11 -08:00
Ulrich Drepper
1d7223f31a
Fix i386 __mpn_lshift unwind info
2010-02-09 22:54:36 -08:00
Luis Machado
0f507b6c95
power7-optimized classification functions
2010-02-09 22:42:38 -08:00
Andreas Schwab
7eb22e757e
Avoid PLT call to fegetenv on s390
2010-02-09 22:34:17 -08:00
H.J. Lu
70b7d00fc7
memchr overshoots on ia64
2010-02-06 02:13:56 -08:00
Andreas Schwab
03849910cd
Avoid PLT calls in utmp compat wrappers on Linux/s390
2010-02-06 02:03:10 -08:00
Andreas Schwab
70da4a1826
Add new errlist compat entry for 2.12.
2010-02-06 02:02:22 -08:00
Ulrich Drepper
1712734592
Update constants for current kernels.
2010-02-03 06:55:30 -08:00
Ulrich Drepper
caa6e77293
Fix endless loop with invalid /etc/shells file.
2010-02-03 06:23:31 -08:00
Ulrich Drepper
c63bfa7994
Avoid alloca in setenv for long strings.
2010-02-02 09:55:55 -08:00
Samuel Thibault
b34e12e22c
Give Hurd weak aliases for getsysstats get_* functions.
2010-01-26 17:44:58 -08:00
Andreas Schwab
7a51836002
Fix error checking in iconv.
2010-01-25 07:17:47 -08:00
Ulrich Drepper
8549abcb9c
Add BZ number.
2010-01-22 12:45:43 -08:00
Joe Landers
8b2f25c233
_nl_load_locale() incorrectly handles mmap() failures
2010-01-22 12:44:58 -08:00
Paul Eggert
aef699dce1
regexec.c: avoid overflow in realloc buffer length computation
2010-01-22 12:41:12 -08:00
Paul Eggert
74bc9f14db
regexec.c: avoid leaks on out-of-memory failure paths
2010-01-22 12:33:58 -08:00
Paul Eggert
42a2c9b5c3
regexec.c: avoid overflow in computing sum of lengths
2010-01-22 12:22:18 -08:00
Paul Eggert
eadc09f22c
re_search_internal: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:15:53 -08:00
Paul Eggert
4cd028677b
prune_impossible_nodes: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:03:56 -08:00
Paul Eggert
daa8454919
regexec.c: avoid arithmetic overflow in buffer size calculation
2010-01-22 10:52:38 -08:00
Paul Eggert
d044d844dd
regexec.c: simplify re_search_2_stub
2010-01-22 10:39:59 -08:00
Ulrich Drepper
5ddf954cf1
Simplify test in re_string_skip_chars.
2010-01-22 10:22:53 -08:00
Ulrich Drepper
4f08104cbf
regex_internal.c: don't assume WEOF fits in wchar_t
2010-01-22 10:17:45 -08:00
Ulrich Drepper
0dae5d4ec1
regex_internal.c: remove useless variable and the code to set it.
2010-01-22 09:57:30 -08:00
Ulrich Drepper
2236464488
Extend overflow detection in re_dfa_add_node.
2010-01-22 09:48:35 -08:00
Ulrich Drepper
54dd0ab31f
regex: avoid internal re_realloc overflow
2010-01-22 09:33:01 -08:00
Andreas Schwab
e3b7670be2
Fix ____longjmp_chk for s390/s390x.
2010-01-20 07:59:30 -08:00
H.J. Lu
cff0be8849
Support __memmove_ssse3_rep when SHARED isn't defined.
2010-01-19 12:20:57 -08:00
Ulrich Drepper
a7bbf3d742
Remove unnecessary returns.
2010-01-19 12:04:34 -08:00
Samuel Thibault
d924beb0f2
Define __rtld_lock_recursive_* for Hurd.
2010-01-18 14:44:22 -08:00
Ulrich Drepper
057edf90e0
memcpy for ppc/cell.
2010-01-18 12:40:29 -08:00
Andreas Schwab
f87d0dac8b
Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.
2010-01-18 08:38:18 -08:00
Andreas Schwab
db07e962b6
Use correct type when casting d_tag.
2010-01-18 07:24:09 -08:00
Andreas Schwab
7a033a828d
Ignore negative dynamic entry types.
2010-01-18 07:23:23 -08:00
Jakub Jelinek
64f388285e
sysdeps/ieee754/ldbl-128/ fixes
2010-01-16 17:55:37 -08:00
Ulrich Drepper
2da42bc065
Fix a few more cases of ignored return values in regex.
2010-01-15 12:03:16 -08:00
Ulrich Drepper
635bc2a20f
Fix _XOPEN_SOURCE_EXTENDED handling.
2010-01-15 11:03:44 -08:00
Andreas Krebbel
3a56ea2673
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.
2010-01-15 09:09:35 -08:00
Philip Prindeville
dca5d51ebf
Define IPTOS_CLASS_* macros according to RFC 2474.
2010-01-14 23:28:05 -08:00
Ulrich Drepper
ace4e23f8c
Always use IPv4 sockets for IPv4 addresses.
2010-01-14 22:34:28 -08:00
Paul Eggert
21f5de55ec
regcomp.c: do not ignore memory allocation failure
2010-01-14 21:35:15 -08:00
Ulrich Drepper
0b689682ad
Make unistd.h pre-c((-safe.
2010-01-14 17:03:42 -08:00
Ulrich Drepper
21dfc00031
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
2010-01-14 16:25:15 -08:00
Ulrich Drepper
6a7007d7be
Relax conditions in unistd.h.
2010-01-14 16:23:47 -08:00
Ulrich Drepper
cd5c5f7051
Relax onditions in strings.h.
2010-01-14 16:16:21 -08:00
Ulrich Drepper
c589e093e1
elax some conditions in stdlib.h.
2010-01-14 16:07:58 -08:00
Ryan S. Arnold
35e6599946
Pass $(sysdep-LDFLAGS) when using --print-file-name.
2010-01-14 15:59:02 -08:00
Ulrich Drepper
402cd98775
Actually define pthread_mutex_consistent.
2010-01-14 15:52:46 -08:00
Ulrich Drepper
346bc35c33
Fix malloc_info without prioor allocations.
2010-01-14 13:32:58 -08:00
Ulrich Drepper
52e2ea9a83
Relax visibility of some more declaration.
2010-01-14 13:22:06 -08:00
Ulrich Drepper
63ee841069
Relax condition for resolver constant definition.
2010-01-14 10:05:36 -08:00
Ulrich Drepper
b1a6644267
Declare getpagesize in _GNU_SOURCE mode again.
2010-01-14 09:14:12 -08:00
Ulrich Drepper
f69190e74a
Prevent silent errors should x86-64 strncmp be needed outside libc.
2010-01-14 08:09:32 -08:00
Ulrich Drepper
e26dfa69f5
Add nonnull attribute to unsetenv declaration.
2010-01-13 23:06:59 -08:00
H.J. Lu
5a7af22fbb
Unroll the loop x86-64 SSE4.2 strlen.
2010-01-13 07:51:48 -08:00
Ulrich Drepper
52e96a8092
Be a bit more relaxed about obsoleted mktemp symbol.
2010-01-13 07:15:17 -08:00
Ulrich Drepper
2e3e1b3309
More test suite fixes.
2010-01-12 20:11:10 -08:00