about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Fix reading loginuid file in getlogin{,_r}.Ulrich Drepper2010-04-081-4/+12
|
* Fix fallocate error return on i386.Andreas Schwab2010-04-082-2/+14
|
* Fix cproj implmentation.Ulrich Drepper2010-04-081-17/+5
|
* Move unwind-resume code from NPTL to sysdeps/gnu.Roland McGrath2010-04-053-1/+80
|
* Handle POSIX-compliant errno value of unlink in remove.Ulrich Drepper2010-04-042-2/+10
|
* Fix concurrent handling of __cpu_features.Ulrich Drepper2010-04-042-14/+23
|
* Handle unnecessary padding in getdents64.Ulrich Drepper2010-04-032-3/+14
| | | | | | The getdents64 syscall adds on 32-but platforms padding which isn't needed and not included in the userlevel data structure definition. We have to avoid copying those padding bytes in the readdir64_r function.
* Fix changes to interface list during getifaddrs calls.Ulrich Drepper2010-04-031-12/+43
|
* Remove incorrect paring of /proc/stat etc.Ryan S. Arnold2010-04-031-13/+1
|
* Fix build of mmap64.David S. Miller2010-03-311-1/+1
|
* Define MSG_WAITFORONE.Ulrich Drepper2010-03-291-1/+3
|
* Fix typos from last patch.Ulrich Drepper2010-03-291-2/+2
|
* Handle platforms without aux vectorThomas Schwinge2010-03-291-3/+4
|
* Optimize __getpagesize a bit.Ulrich Drepper2010-03-271-10/+17
|
* Fix comments and indentation.Ulrich Drepper2010-03-271-7/+7
|
* Define miss_F_GETOWN_EX only if needed.Ulrich Drepper2010-03-271-11/+11
| | | | | | | 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
* Mark _dl_random attribute_relro in the header file.Richard Henderson2010-03-261-1/+1
| | | | | | | | 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>
* Don't take the address of a void object.Richard Henderson2010-03-261-4/+4
| | | | | | | | 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>
* Fix one case of last checkin.Ulrich Drepper2010-03-261-0/+1
| | | | If the v4 lookup failed but v6 succeeded we treat this as a success.
* Don't abort immediately on successful lookup in getaddrinfo.Ulrich Drepper2010-03-261-10/+10
| | | | | | | 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.
* Fix spurious UNAVAIL status is getaddrinfoAndreas Schwab2010-03-261-0/+1
|
* Merge branch 'master' of ssh://sources.redhat.com/git/glibcUlrich Drepper2010-03-251-1/+1
|\ | | | | | | | | Conflicts: ChangeLog
| * Fix typo in cuseridAndreas Schwab2010-03-251-1/+1
| |
* | Add support for new clocks.Ulrich Drepper2010-03-253-4/+14
|/ | | | | Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
* Fix Linux getlogin{_r,} implementationUlrich Drepper2010-03-244-3/+151
| | | | | | | | | 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.
* calls to cuserid() can result in buffer overruns and/or overflowsJonathan Geisler2010-03-241-2/+3
|
* Allow variable shift values in mmap2.Ulrich Drepper2010-03-241-4/+17
|
* Don't define __strpbrk_sse42 in static libraryH.J. Lu2010-03-241-4/+8
|
* Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.SH.J. Lu2010-03-181-0/+15
|
* Extended ELF ABI version handling only for Linux.Ulrich Drepper2010-03-161-4/+5
| | | | | If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files.
* Also update Linux-specific VALID_ELF_ABIVERSION definition.Ulrich Drepper2010-03-161-1/+1
|
* Define UMOUNT_NOFOLLOW.Ulrich Drepper2010-03-121-1/+3
|
* Fix whitespace issues.Ulrich Drepper2010-03-102-705/+705
|
* power7-optimized 64-bit and 32-bit memcpyLuis Machado2010-03-102-0/+918
|
* sparc: Optimize strlen using techniques from powerpc implementation.David S. Miller2010-03-093-231/+110
|
* sparc32: Fix non-v9 build failure in memcpy.David S. Miller2010-03-091-3/+20
|
* sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.David S. Miller2010-03-091-4/+6
|
* Fix one left over from last change to statvfs.Ulrich Drepper2010-03-071-1/+1
|
* Handle ext4 and logfs in statvfs functions.Ulrich Drepper2010-03-062-33/+43
|
* Pass -mtune=i686 to assembler when compiling for i686H.J. Lu2010-03-043-0/+43
|
* Fix R_X86_64_PC32 overflow detectionRichard Guenther2010-03-041-2/+2
|
* Fixups.Ulrich Drepper2010-03-043-383/+1
|\
| * sparc32: Remove unused code.David S. Miller2010-03-042-383/+0
| | | | | | | | | | | | | | 2010-03-04 David S. Miller <davem@davemloft.net> * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete. * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete.
| * sparc64: Use dbl-64/wordsize-64 math lib code.David S. Miller2010-03-041-0/+1
| | | | | | | | * sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
* | More in.h definitions from the Linux kernel.Ulrich Drepper2010-03-031-9/+21
|/
* sparc64: Fix msgrcv()Aurelien Jarno2010-03-031-0/+49
| | | | | | | | | | | 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.
* sparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.David S. Miller2010-03-034-13/+67
| | | | | | | | | | | | | | | | | | 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.
* Merge commit 'origin/davem/sparc'Roland McGrath2010-03-0234-1854/+720
|\
| * sparc: Add multiarch support for memset/bzero/memcpy. davem/sparcDavid S. Miller2010-02-2522-32/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * sparc: Pull bcopy/memmove out of memcpy.S implementations.David S. Miller2010-02-2512-1425/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.