aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2009-11-22Update ntp_gettime for Linux.Ulrich Drepper5-7/+72
The ntp_gettime implementation of NTP exports the tai field the kernel now produces. This requires an ABI change since the ntptimeval structure changed. Upstream kept the same name, there is nothing to do. This patch changes the ntptimeval structure but keeps the old ntp_gettime definition. A new ntp_gettimex function which is transparently invoked through the old name is introduced. This has the advantage that even object files can remain compatible. This wouldn't be the case if symbol versioning would be used to overload the name ntp_gettime.
2009-11-22Fix up <sys/timex.h> a bit more for recent API changes.Ulrich Drepper1-1/+5
2009-11-20Properly recover from shorter read.H.J. Lu1-3/+11
2009-11-19Avoid warnings in CPU_* macros when using const bitsets.Ulrich Drepper1-6/+6
2009-11-19Follow kernel F_OWNER_{GID -> PGRP} change.Ulrich Drepper7-21/+28
But maintain compatiblity for 2.11.
2009-11-17Change misleading names of parameters of sync_file_range.Ulrich Drepper7-7/+7
2009-11-17Fix sync_file_range on ppc/ppc64.Jakub Jelinek2-1/+53
I've noticed that sync_file_range is a stub on ppc/ppc64. The kernel on these arches provides sync_file_range2 syscall with swapped parameters. The following completely untested patch ought to fix this.
2009-11-17Add missing Linux MADV_* definitions.Ulrich Drepper7-64/+89
2009-11-14Use a simple loop on data shorter than software pipeline.H.J. Lu1-1/+2
When data is shorter than software pipeline, recovery may fail. This patch avoids it by using a simple loop on data shorter than software pipeline.
2009-11-14Fix building on x86 with older kernel headers.Mike Frsyinger2-0/+12
Fix building on x86 when older linux headers lack __NR_fallocate define.
2009-11-14Add support for new Linux error ERFKILL.Ulrich Drepper4-2/+22
2009-11-14Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper7-20/+20
2009-11-06Fix spelling of (Newton-)RaphsonPhilippe De Muyter2-6/+6
2009-11-06Correct readahead syscall wrapper on powerpc32.Andreas Schwab1-0/+3
Due to alignment of 64bit parameters there is a dummy second argument. But other than that the syscall arguments are directly mapped to the function arguments.
2009-11-06Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.Jakub Jelinek1-2/+4
I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink, and this patch is needed on the glibc side. Without it ld.so segfaults, as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense, because with prelink we know it is already properly relocated (all relative relocations are applied by prelink).
2009-11-06Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek7-14/+14
As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not.
2009-11-03Make name of libgcc_s library configurableAndreas Schwab2-1/+4
2009-10-30Fix typo in readlinkatAndreas Schwab1-1/+1
2009-10-30Uglify IFUNC tests for PPC.Alan Modra2-0/+72
2009-10-30Implement IFUNC for PPC.Alan Modra5-4/+152
2009-10-30Add a few defines to <netinet/udp.h>.Ulrich Drepper1-1/+11
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper1-7/+7
2009-10-29Fix IA-64 and S390 sigevent definitions.Ulrich Drepper2-4/+12
2009-10-29Fix compat handling in *at functions.Ulrich Drepper18-18/+132
When passed an empty string for the filename, the compat code using /proc in all *at functions did the wrong thing.
2009-10-29Fix AIO when thread creation failed.Ulrich Drepper1-7/+19
Several bugs fixed when we needed to create a thread to work on AIO requests but failed and there is not one running.
2009-10-29Fix errno handling in posix_openpt.Andreas Schwab1-2/+5
The implementation of posix_openpt on Linux can fail in a few extra ways if the appropriate pseudo filesystems are not mounted etc. In some of these cases we have to explicitly set errno.
2009-10-29Fix getttyname on Linux when called for different devices.Ulrich Drepper1-1/+6
If a second call to ttyname is not for the same type of device (e.g., serial vs ptty) the prefix of the buffer was wrong. Don't rely on the previous content, always reinitialize it.
2009-10-29Add macros for DSCP markings.Philip Prindeville1-1/+37
2009-10-29Fix F_GETOWN on some Linux archs.Ulrich Drepper3-5/+71
The syscall conventions on some Linux archs prevented F_GETOWN from working correctly in some situations. This can be rectified when using the new F_GETOWN_EX command.
2009-10-29Define F_OWNER_* and f_owner_ex for Linux targets.Ulrich Drepper7-7/+126
2009-10-29Allow compat handling of getutmp.Ulrich Drepper1-4/+6
2009-10-28Readd definition of __expl in ldbl-128Joseph S. Myers1-0/+1
2009-10-22Fix whitespaces.Ulrich Drepper2-11/+11
2009-10-22Implement SSE4.2 optimized strchr and strrchr.H.J. Lu4-1/+506
2009-10-19Correct errno handling in expm1.Andreas Schwab6-1/+17
2009-10-14Add ____longjmp_chk for sparcDavid S. Miller2-0/+184
tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because of some limitations of kernel signal delivery on sparc that I need to fix, it has nothing to do with the longjmp_chk implementation. (The problem with tst-longjmp_chk2 is that it tries to do a stack fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel will refuse to setup the signal stack and deliver the signal if the register windows can't be written out to the stack first)
2009-10-06Clean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch ↵Roland McGrath2-5/+4
definitions.
2009-10-06Clean up x86 multiarch HAS_FOO macros.Roland McGrath2-23/+10
2009-10-01Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper7-14/+28
2009-09-28Fix Hurd mkdirat.Samuel Thibault1-1/+2
2009-09-15configure tweaks, support $libc_add_on_config_subdirsRoland McGrath20-727/+763
2009-09-08Fix __longjmp_chk on s390/s390x.Jakub Jelinek2-2/+30
s390/s390x hasn't been updated to handle alternate stacks properly.
2009-09-03Fix IA-32 strstr in multiarch configuration as well.Ulrich Drepper1-1/+2
2009-09-02Fix strstr/strcasestr/fma/fmaf on x86_64.Jakub Jelinek4-6/+8
2009-09-01Fix use of 64-bit insn in 32-bit memcpy for POWER6.Joshua W. Boyer1-1/+1
2009-09-01Fix x86_64 bits/mathinline.h for -m32 compilation.Jakub Jelinek1-0/+12
2009-08-31Fix parse error in bits/mathinline.h with --std=c99Andreas Schwab1-2/+2
2009-08-28Remove ENABLE_SSSE3_ON_ATOM.H.J. Lu2-11/+1
It turns that SSSE3 isn't slow on Atom. The problem is bsf. This patch removes ENABLE_SSSE3_ON_ATOM.
2009-08-26Add isinf optimized for 64-bit.Ulrich Drepper1-0/+30
2009-08-26Optimized isnan for 64-bit machines.Ulrich Drepper1-0/+39