aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2014-05-17Fix sparc memcpy data corruption when using niagara2 optimized routines.Jose E. Marchesi
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing membar to avoid block loads/stores to overlap previous stores.
2014-05-16SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)Aurelien Jarno
prlimit and prlimit64 have been added in the main <bits/resource.h>, but not in the SPARC specific version. Fix that. Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort <pochu@debian.org> (cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)
2014-05-07SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)Aurelien Jarno
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in the SPARC specific version. Fix that. (cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)
2014-05-01Fix v9/64-bit strcmp when string ends in multiple zero bytes.David S. Miller
[BZ #16885] * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when multiple zero bytes exist at the end of a string. Reported by Aurelien Jarno <aurelien@aurel32.net> * string/test-strcmp.c (check): Add explicit test for situations where there are multiple zero bytes after the first.
2014-01-29Disable x87 inline functions for SSE2 mathH.J. Lu
When i386 and x86-64 mathinline.h was merged into a single mathinline.h, "gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse and SSE2 is enabled. It is a regression on x86-64. We should check __SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions. (cherry picked from commit 409e00bd69b8d8dd74d7327085351d26769ea6fc) Conflicts: ChangeLog NEWS sysdeps/x86/fpu/bits/mathinline.h
2013-05-22Backport fixes for BZ #15006 from master.Wilhelm Eger
Resolved backport request BZ #15122. Assume all unmarked objects are compatible with all ABI variants. Such objects may have been generated in a transitional period when ABI tags were not added to all objects. --- 2013-02-08 Carlos O'Donell <carlos@redhat.com> [BZ #15006] * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF. * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support. ports/ 2013-02-08 Carlos O'Donell <carlos@redhat.com> [BZ #15006] * sysdeps/unix/sysv/linux/arm/dl-cache.h [__ARM_PCS_VFP] (_dl_cache_check_flags): Allow plain FLAG_ELF_LIBC6. [!__ARM_PCS_VFP] (_dl_cache_check_flags): Likewise. * sysdeps/unix/sysv/linux/arm/readelflib.c (process_elf_file): Set FLAG_ARM_LIBSF for soft-float ABI otherwise just FLAG_ELF_LIBC6.
2013-01-11Add MSG_FASTOPENAndreas Jaeger
[BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7. (cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)
2013-01-09Sync netinet/tcp.h with upstream Linux kernel.David S. Miller
[BZ# 15003] * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS, TCP_FASTOPEN): Define. (tcp_repair_opt): New structure. (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New enum values. (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE, TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN, TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. (tcp_cookie_transactions): New structure.
2013-01-09Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar
2012-12-06linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger
Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64. If the former is unavailable, fallback to the latter. Reviewed-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-06Fix warnings from generic _FPU_GETCWChris Metcalf
2012-12-06Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar
2012-12-05Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.Joseph Myers
2012-12-04Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.Joseph Myers
2012-12-04Fix ldbl-128ibm "set but not used" warnings.Joseph Myers
2012-12-04Fix sparc build with older compilers.David S. Miller
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2012-12-04Fix "conflicting types for built-in function" warnings from nldbl-*.c.Joseph Myers
2012-12-04Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers
2012-12-04Fix powl inaccuracy for ldbl-128ibm (bug 14914).Joseph Myers
2012-12-03byteswap.h: fix gcc ver test for __builtin_bswap{32,64}Mike Frysinger
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2. Fix the __GNUC_PREREQ tests to reflect this. Otherwise trying to compile code with gcc-4.2 falls down: In file included from /usr/include/endian.h:60, from /usr/include/ctype.h:40, /usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)': /usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope /usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)': /usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-30Fix type-punning warning in powerpc64 gmon-start.Roland McGrath
2012-11-29clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger
In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove __ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were dropped. Punt the fallback definition too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-28Update sparc ULPs for recently added pow tests.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-11-28Use hex float 64-bit values in ldbl-96 asinl (bug 14803).Joseph Myers
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab
This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
2012-11-28Fix powl inaccuracy for x86_64 and x86 (bug 13881).Joseph Myers
2012-11-26Cast to __intptr_t before casting pointer to int64H.J. Lu
2012-11-27Fix strict-aliasing warnings from unwind-dw2-fde.c.Joseph Myers
2012-11-23Update powerpc libm-test ULPsAndreas Schwab
2012-11-22Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers
2012-11-22Mark unwind-dw2-fde-glibc.c variable possibly unused.Joseph Myers
2012-11-22Fix sign of inexact zero results for ldbl-128ibm fmal.Joseph Myers
2012-11-22Fix ldbl-128ibm powl spurious underflows.Joseph Myers
2012-11-22Fix ldbl-128ibm hypotl internal underflows (bug 14869).Joseph Myers
2012-11-22Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).Joseph Myers
2012-11-22Fix expm1l spurious underflows for ldbl-128ibm.Joseph Myers
2012-11-22Update i386 libm-test ULPsAndreas Schwab
2012-11-22test-multiarch: terminate printf output with newlinePino Toscano
2012-11-20Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell
2012-11-20sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.Thomas Schwinge
Fixes fallout from commit 2e64d2659d3edaebc792ac596a9863f1626e5c25.
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge
2012-11-20Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.Joseph Myers
2012-11-20Hurd: fixes for ptsname and ptsname_rPino Toscano
ptsname_r on failure returns the value that is also set as errno; furthermore, add more checks to it: - set errno and return it on __term_get_peername failure - set errno to ERANGE other than returning it - change the type of PEERNAME to string_t, and check its length with __strnlen In ptsname: - change the type of PEERNAME to string_t - do not set errno manually, since ptsname_r has set it already
2012-11-19Fix spurious underflows in ldbl-128 atan implementation.David S. Miller
With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2012-11-19Hurd: implement syncfsPino Toscano
2012-11-19Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar
Resolves BZ #14719.
2012-11-19Add ldconfig cache tag handling for AArch64Steve McIntyre
* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro. * elf/cache.c (print_entry): Print ",AArch64" for FLAG_AARCH64_LIB64. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2012-11-19Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre
* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro. * elf/cache.c (print_entry): Print ",hard-float" for FLAG_ARM_LIBHF. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>