aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2012-11-28Update sparc ULPs for recently added pow tests.David S. Miller1-0/+25
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-11-28Use hex float 64-bit values in ldbl-96 asinl (bug 14803).Joseph Myers1-3/+6
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab1-17/+1
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 Myers6-60/+274
2012-11-26Cast to __intptr_t before casting pointer to int64H.J. Lu1-7/+14
2012-11-27Fix strict-aliasing warnings from unwind-dw2-fde.c.Joseph Myers1-9/+18
2012-11-23Update powerpc libm-test ULPsAndreas Schwab1-0/+41
2012-11-22Fix ldbl-128ibm atanl spurious underflows (bug 14871).Joseph Myers1-0/+16
2012-11-22Mark unwind-dw2-fde-glibc.c variable possibly unused.Joseph Myers1-2/+3
2012-11-22Fix sign of inexact zero results for ldbl-128ibm fmal.Joseph Myers1-1/+7
2012-11-22Fix ldbl-128ibm powl spurious underflows.Joseph Myers1-1/+5
2012-11-22Fix ldbl-128ibm hypotl internal underflows (bug 14869).Joseph Myers1-1/+1
2012-11-22Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).Joseph Myers1-1/+1
2012-11-22Fix expm1l spurious underflows for ldbl-128ibm.Joseph Myers1-1/+1
2012-11-22Update i386 libm-test ULPsAndreas Schwab1-6/+12
2012-11-22test-multiarch: terminate printf output with newlinePino Toscano1-1/+1
2012-11-20Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell1-2/+14
2012-11-20sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.Thomas Schwinge1-2/+2
Fixes fallout from commit 2e64d2659d3edaebc792ac596a9863f1626e5c25.
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge5-58/+16
2012-11-20Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.Joseph Myers2-2/+2
2012-11-20Hurd: fixes for ptsname and ptsname_rPino Toscano1-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
2012-11-19Fix spurious underflows in ldbl-128 atan implementation.David S. Miller3-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.
2012-11-19Hurd: implement syncfsPino Toscano1-0/+31
2012-11-19Return EAI_SYSTEM if we're out of file descriptorsSiddhesh Poyarekar1-0/+6
Resolves BZ #14719.
2012-11-19Add ldconfig cache tag handling for AArch64Steve McIntyre1-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>
2012-11-19Add ldconfig cache tag handling for ARM hard-float ABISteve McIntyre1-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>
2012-11-18Correct tinyness handling in long-double and float y0/y1.David S. Miller7-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.
2012-11-16Fix BZ #14811 for ldbl-128 too.David S. Miller1-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.
2012-11-17Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers1-1/+2
2012-11-17Generate /usr/libexec/getconf files when cross-compiling.Joseph Myers1-72/+23
2012-11-16Don't generate underflow for very small values in log1pl.David S. Miller1-0/+6
* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is smaller than LDBL_EPSILON/2.0L, just return xm1.
2012-11-13Add support for sparc cryptographic hash opcodes.David S. Miller15-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.
2012-11-11Fix check-localplt regressions on sparc.David S. Miller1-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.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers1-3/+3
2012-11-09PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger1-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>.
2012-11-08S/390: Add hwcap value for transactional execution.Andreas Krebbel3-3/+7
2012-11-07Fix NULL ucontext->uc_link handling on sparc64.David S. Miller3-12/+43
* sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c (__start_context): Declare. (__makecontext_ret): Delete. (__makecontext): Hook up __start_context instead of __makecontext_ret. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep_routines): Add __start_context when in stdlib.
2012-11-08Use configured $(NM), $(OBJDUMP), $(READELF) in tst-xmmymm.sh.Joseph Myers2-6/+9
2012-11-07Also run tst-xmmymm.sh on i386 ld.soH.J. Lu3-5/+5
2012-11-072012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law1-1/+17
[BZ #14809] * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H) (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header guards are changed. Only define if not yet defined, #undef back after including linux/sysctl.h if defined here.
2012-11-07Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers4-4/+50
2012-11-07S/390: Sync AUXV capabilities and archs with kernelAndreas Krebbel1-4/+4
2012-11-06Fix fma underflows with small x * y (bug 14793).Joseph Myers3-54/+81
2012-11-05Fix types of FE_DFL_ENV and FE_NOMASK_ENV (bug 14805).Joseph Myers1-1/+1
2012-11-05Fix S/390 bits/fenv.h namespace use (bug 14801).Joseph Myers4-12/+12
2012-11-04[BZ #3665] Regenerate sysdeps/mach/hurd/bits/errno.h.Samuel Thibault1-3/+3
2012-11-04[BZ #5246] Conditionalize use of PTR_DEMANGLE.Thomas Schwinge1-0/+2
2012-11-04Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers3-12/+17
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge9-12/+0
2012-11-04generic paths.h: remove old paths from _PATH_STDPATHPino Toscano1-1/+1
Remove /usr/contrib/bin and /usr/old/bin from _PATH_STDPATH, since they seem to be part only of old BSDs, Solaris and HP-UX.