about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Handle _nl_default_dirname with prefix changes hjl/pr14937H.J. Lu2012-12-0910-10/+10
|
* Fix some build warnings on s390xSiddhesh Poyarekar2012-12-084-7/+7
|
* linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger2012-12-061-2/+11
| | | | | | | | 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>
* Fix warnings from generic _FPU_GETCWChris Metcalf2012-12-061-3/+3
|
* Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar2012-12-061-3/+2
|
* Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.Joseph Myers2012-12-051-0/+1
|
* Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.Joseph Myers2012-12-041-1/+1
|
* Fix ldbl-128ibm "set but not used" warnings.Joseph Myers2012-12-045-5/+9
|
* Fix sparc build with older compilers.David S. Miller2012-12-041-1/+6
| | | | * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
* Fix "conflicting types for built-in function" warnings from nldbl-*.c.Joseph Myers2012-12-041-0/+99
|
* Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers2012-12-041-1/+1
|
* Fix powl inaccuracy for ldbl-128ibm (bug 14914).Joseph Myers2012-12-041-7/+7
|
* byteswap.h: fix gcc ver test for __builtin_bswap{32,64}Mike Frysinger2012-12-031-2/+2
| | | | | | | | | | | | | | | 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>
* Fix type-punning warning in powerpc64 gmon-start.Roland McGrath2012-11-301-2/+4
|
* clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger2012-11-291-4/+0
| | | | | | | | 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>
* Update sparc ULPs for recently added pow tests.David S. Miller2012-11-281-0/+25
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Use hex float 64-bit values in ldbl-96 asinl (bug 14803).Joseph Myers2012-11-281-3/+6
|
* Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab2012-11-281-17/+1
| | | | | | This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
* Fix powl inaccuracy for x86_64 and x86 (bug 13881).Joseph Myers2012-11-286-60/+274
|
* Cast to __intptr_t before casting pointer to int64H.J. Lu2012-11-261-7/+14
|
* Fix strict-aliasing warnings from unwind-dw2-fde.c.Joseph Myers2012-11-271-9/+18
|
* Update powerpc libm-test ULPsAndreas Schwab2012-11-231-0/+41
|
* Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers2012-11-221-0/+16
|
* Mark unwind-dw2-fde-glibc.c variable possibly unused.Joseph Myers2012-11-221-2/+3
|
* Fix sign of inexact zero results for ldbl-128ibm fmal.Joseph Myers2012-11-221-1/+7
|
* Fix ldbl-128ibm powl spurious underflows.Joseph Myers2012-11-221-1/+5
|
* Fix ldbl-128ibm hypotl internal underflows (bug 14869).Joseph Myers2012-11-221-1/+1
|
* Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).Joseph Myers2012-11-221-1/+1
|
* Fix expm1l spurious underflows for ldbl-128ibm.Joseph Myers2012-11-221-1/+1
|
* Update i386 libm-test ULPsAndreas Schwab2012-11-221-6/+12
|
* test-multiarch: terminate printf output with newlinePino Toscano2012-11-221-1/+1
|
* Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell2012-11-201-2/+14
|
* sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.Thomas Schwinge2012-11-201-2/+2
| | | | Fixes fallout from commit 2e64d2659d3edaebc792ac596a9863f1626e5c25.
* Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge2012-11-205-58/+16
|
* Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.Joseph Myers2012-11-202-2/+2
|
* Hurd: fixes for ptsname and ptsname_rPino Toscano2012-11-201-9/+9
| | | | | | | | | | | | 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
* Fix spurious underflows in ldbl-128 atan implementation.David S. Miller2012-11-193-0/+23
| | | | | | | | | | 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.
* Hurd: implement syncfsPino Toscano2012-11-191-0/+31
|
* Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar2012-11-191-0/+6
| | | | Resolves BZ #14719.
* Add ldconfig cache tag handling for AArch64Steve McIntyre2012-11-191-0/+1
| | | | | | | | | * 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>
* Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre2012-11-191-1/+2
| | | | | | | | | * 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>
* Correct tinyness handling in long-double and float y0/y1.David S. Miller2012-11-187-3/+113
| | | | | | | | | | | | | | | | | With help from Joseph Myers. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness cutoff to 2**-13. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness cutoff to 2**-25. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very small. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise. * math/libm-test.inc (y0_test): New tests. (y1_test): New tests. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix BZ #14811 for ldbl-128 too.David S. Miller2012-11-161-1/+5
| | | | | | | [BZ #14811] * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate nonzero exponents with absolute value below 0x1p-128 to +/- 0x1p-128.
* Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers2012-11-171-1/+2
|
* Generate /usr/libexec/getconf files when cross-compiling.Joseph Myers2012-11-171-72/+23
|
* Don't generate underflow for very small values in log1pl.David S. Miller2012-11-161-0/+6
| | | | | * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is smaller than LDBL_EPSILON/2.0L, just return xm1.
* Add support for sparc cryptographic hash opcodes.David S. Miller2012-11-1315-0/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * crypt/Makefile: Move test targets after toplevel Rules inclusion. Grab any necessary sysdep routines when linking. * crypt/md5.c (md5_process_block): Remove define, we will always name it __md5_process_block. (md5_finish_ctx): Update md5_process_block call. (md5_stream): Likewise. (md5_process_bytes): Likewise. (md5_process_block): Rename to __md5_process_block and move to ... * crypt/md5-block.c: ... here. * crypt/sha256.c (sha256_process_block): Move to ... * crypt/sha256-block.c: ... here. * crypt/sha512.c (sha512_process_block): Move to ... * crypt/sha512-block.c: ... here. * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include path. * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define. * sysdeps/sparc/sparc64/multiarch/Makefile (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in crypt subdir. (localedef-aux): Add md5 crypto assembler when in locale subdir. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64 multiarch changes. * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file. * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file. * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file. * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file. * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file. * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
* Fix check-localplt regressions on sparc.David S. Miller2012-11-111-4/+5
| | | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include inttypes.h (__get_clockfreq_via_proc_openprom): Use __open, __read, and __close rather than their public counterparts.
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-091-3/+3
|
* PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger2012-11-091-258/+11
| | | | | | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.