aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2013-05-31Link extra-libs consistently with libc and ld.so.Joseph Myers2-6/+0
2013-05-30 [BZ #14256]Jeff Law1-5/+6
* manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar10-21/+15
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-28Update powerpc libm-test ULPs.Adhemerval Zanella1-0/+37
2013-05-26_dl_skip_args declaration cleanup.Thomas Schwinge1-1/+0
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't declare _dl_skip_args. Continuation of commit 8347c74cc5c972aa9e57747177b1f5f4b1cbcac8.
2013-05-26_dl_non_dynamic_init declaration cleanup.Thomas Schwinge1-3/+0
* sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init): Don't declare. Continuation of commit bc16e260d0e74b36e48d30edc6ea4f1152700c09.
2013-05-24Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers1-1/+1
2013-05-24Test drem and pow10 in libm-test.inc.Joseph Myers2-0/+35
2013-05-24Use same tests for isfinite/finite, lgamma/gamma.Joseph Myers2-0/+28
2013-05-24PowerPC: Program Priority Register supportAdhemerval Zanella1-0/+30
This patch add inline functions to change the Program Priority Register from ISA 2.05.
2013-05-23PowerPC: Add functions for shared resources hints.Edjunior Machado1-0/+32
2013-05-22Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado3-3/+21
Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
2013-05-22Don't include expected results in libm-test test names.Joseph Myers6-9218/+9218
2013-05-21Set EAI_SYSTEM only when h_errno is NETDB_INTERNALSiddhesh Poyarekar1-2/+10
Fixes BZ #15339. NSS_STATUS_UNAVAIL may mean that a necessary input resource is not available. This could occur in a number of cases including when the network is down, system runs out of file descriptors, etc. The correct differentiator in such a case is the h_errno, which gives the nature of failure. In case of failures other than a simple 'not found', we set h_errno as NETDB_INTERNAL and let errno be the identifier for the exact error.
2013-05-20Faster memset on x64Ondrej Bilka1-1315/+90
This implementation speed up memset in several ways. First is avoiding expensive computed jump. Second is using fact that arguments of memset are most of time aligned to 8 bytes. Benchmark results on: kam.mff.cuni.cz/~ondra/benchmark_string/memset_profile_result27_04_13.tar.bz2
2013-05-20Faster memcpy on x64.Ondrej Bilka4-8/+185
We add new memcpy version that uses unaligned loads which are fast on modern processors. This allows second improvement which is avoiding computed jump which is relatively expensive operation. Tests available here: http://kam.mff.cuni.cz/~ondra/memcpy_profile_result27_04_13.tar.bz2
2013-05-19Fix nearbyint scheduling of arithmetic past fesetenv (bug 15490).Joseph Myers5-0/+13
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers6-44/+44
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers1-0/+1
2013-05-17PowerPC: fix hypot/hypotf check for -INFAdhemerval Zanella2-6/+6
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki2-0/+2
[BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold31-5/+33
2013-05-15Use movq for 64-bit operationsPeter Collingbourne1-2/+4
The EXTRACT_WORDS64 and INSERT_WORDS64 macros use movd for a 64-bit operation. Somehow gcc manages to turn this into movq, but LLVM won't. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro. (EXTRACT_WORDS64) Use where appropriate. (INSERT_WORDS64) Likewise.
2013-05-15Use x constraints for operands to vfmaddss and vfmaddsdPeter Collingbourne2-2/+2
While these instructions accept memory operands, only one operand may be a memory operand. Giving two operands xm constraints gives the compiler the option of using memory for both operands, which would result in invalid assembly code. Using x for all operands is more appropriate, as most x86_64 calling conventions will pass the arguments in registers anyway. 2013-05-15 Peter Collingbourne <pcc@google.com> * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm constraints with x constraints. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2013-05-15Update s390/bits/siginfo.hEdjunior Machado1-3/+7
2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com> * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove si_trapno and add si_addr_lsb to _sifields.sigfault. (si_trapno): Remove macro. (si_addr_lsb): Define new macro. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2013-05-14Update Sparc ULPs.David S. Miller1-6/+853
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-13Make _LIB_VERSION a weak symbolSiddhesh Poyarekar1-4/+5
That way it can live alongside _LIB_VERSION in libieee.a for statically compiled programs. Resolves #14582.
2013-05-12Convert TEST_ff_f tests from code to data.Joseph Myers1-0/+4
2013-05-10Add getgid.c for SHChristian Grönke1-0/+1
[BZ #12387] * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2013-05-10Hurd: add ST_NOATIMEPino Toscano1-1/+3
2013-05-10Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.hAndreas Jaeger1-3/+3
[BZ #15448] * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S) (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2013-05-09Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).Joseph Myers1-5/+5
2013-05-09Fix ldbl-128 cos range reduction near pi/2 (bug 15429).Joseph Myers1-5/+5
2013-05-08 Update powerpc libm-test ULPsAdhemerval Zanella1-6/+440
2013-05-08Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).Joseph Myers15-44/+2307
2013-05-07Declare _dl_skip_args in ldsodefs.h header.Roland McGrath1-0/+10
2013-05-06Fix glob64 broken by cleanup.Roland McGrath1-0/+2
2013-05-06Move dummy glob64.c alongside glob.c that defines glob64.Roland McGrath1-0/+0
2013-05-06Flesh out stub not-cancel.h file.Roland McGrath1-0/+8
2013-05-06Clean up POSIX.1 implementation of truncate.Roland McGrath1-7/+10
2013-05-06PowerPC: fix hypot/hypof FP exceptionsAdhemerval Zanella2-16/+14
This patch fixes hypot/hypotf spurious floating-point exceptions generate by internal operations.
2013-05-06Split _dl_writev out from _dl_debug_vdprintf.Roland McGrath1-0/+38
2013-05-03Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.Roland McGrath8-109/+4
2013-05-03PowerPC: Add time vDSO supportAdhemerval Zanella4-3/+70
PowerPC kernel now provides a vDSO implementation for time syscall (commit fcb41a2030abe0eb716ef0798035ef9562097f42). This patch changes time syscall wrapper to use the vDSO when available. It also changes the default non vDSO time on PowerPC to use sysdeps/posix/time.c (since gettimeofday is a vDSO call).
2013-05-03Sync with Linux 3.9Andreas Jaeger2-1/+4
* sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
2013-05-03Update powerpc libm-test ULPsAdhemerval Zanella1-0/+96
2013-05-02Update Sparc ULPs.David S. Miller1-24/+4125
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-01Add missing #include in sysdeps/posix/opendir.c.Roland McGrath1-0/+1
2013-05-01Fix catan, catanh spurious underflows (bug 15423).Joseph Myers2-0/+376
2013-04-30Update powerpc libm-test ULPsAdhemerval Zanella1-2/+414