aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2010-03-25Fix typo in cuseridAndreas Schwab
2010-03-24Fix Linux getlogin{_r,} implementationUlrich Drepper
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.
2010-03-24calls to cuserid() can result in buffer overruns and/or overflowsJonathan Geisler
2010-03-24Allow variable shift values in mmap2.Ulrich Drepper
2010-03-24Don't define __strpbrk_sse42 in static libraryH.J. Lu
2010-03-18Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.SH.J. Lu
2010-03-16Extended ELF ABI version handling only for Linux.Ulrich Drepper
If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files.
2010-03-16Also update Linux-specific VALID_ELF_ABIVERSION definition.Ulrich Drepper
2010-03-12Define UMOUNT_NOFOLLOW.Ulrich Drepper
2010-03-10Fix whitespace issues.Ulrich Drepper
2010-03-10power7-optimized 64-bit and 32-bit memcpyLuis Machado
2010-03-09sparc: Optimize strlen using techniques from powerpc implementation.David S. Miller
2010-03-09sparc32: Fix non-v9 build failure in memcpy.David S. Miller
2010-03-09sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.David S. Miller
2010-03-07Fix one left over from last change to statvfs.Ulrich Drepper
2010-03-06Handle ext4 and logfs in statvfs functions.Ulrich Drepper
2010-03-04Pass -mtune=i686 to assembler when compiling for i686H.J. Lu
2010-03-04Fix R_X86_64_PC32 overflow detectionRichard Guenther
2010-03-04Fixups.Ulrich Drepper
2010-03-04sparc32: Remove unused code.David S. Miller
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-04sparc64: Use dbl-64/wordsize-64 math lib code.David S. Miller
* sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
2010-03-03More in.h definitions from the Linux kernel.Ulrich Drepper
2010-03-03sparc64: Fix msgrcv()Aurelien Jarno
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-03sparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.David S. Miller
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-02Merge commit 'origin/davem/sparc'Roland McGrath
2010-02-26Fix unwind info in x86 strcmp-sse4.SH.J. Lu
2010-02-25sparc: Add multiarch support for memset/bzero/memcpy.davem/sparcDavid S. Miller
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-25sparc: Pull bcopy/memmove out of memcpy.S implementations.David S. Miller
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-25sparc: Reimplement 64-bit aligned copy routines and remove from memcpy files.David S. Miller
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-24We can use the 64-bit register versions of the double functions.Ulrich Drepper
2010-02-24Fix issues in x86 memcpy-ssse3-rep.SH.J. Lu
2010-02-24Fix issues in x86 memcpy-ssse3.SH.J. Lu
2010-02-24Fix issues in x86 memset-sse2.S/memset-sse2-rep.SH.J. Lu
2010-02-20sparc: Fix 32-bit makecontext arg passing.David S. Miller
test-makecontext3 fails because we fill in the argument stack slots past the 5th using the wrong index.
2010-02-20sparc: Fix v9 memchr with long buffer lengths.David S. Miller
test-memchr fails on 32-bit sparc with v9 optimized memchr because it uses signed branch comparisons on the buffer pointers.
2010-02-20Fix PLT rewrite when prelinking fails on 32-bit sparc.David S. Miller
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-20Fix PLT rewrite when prelinking fails on 64-bit sparc.Joseph Myers
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-18Use CPUID_OFFSET instead of FEATURE_OFFSETH.J. Lu
2010-02-17Align x86 memcmp-sse4.S and fix unwind info.H.J. Lu
2010-02-17Fix unwind info in x86 memcmp-ssse3.H.J. Lu
2010-02-17Simplify x86 strcmp-sse4 unwind info.H.J. Lu
2010-02-17Fix and cleanup unwind info in x86 strcmp-ssse<F3>.Ulrich Drepper
2010-02-15Remove commented-out code.Ulrich Drepper
2010-02-15Fix up new x86 string functions.Ulrich Drepper
2010-02-1532bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2H.J. Lu
2010-02-12Cleanup old obsolete PPC_REL16 checksLuis Machado
2010-02-11S/390: Disable two UTF conversion instructionsAndreas Krebbel
2010-02-10Sparc STT_GNU_IFUNC supportDavid S. Miller
2010-02-10Fix POWER7 ImpliesLuis Machado
2010-02-09More compact unwind info.Ulrich Drepper