summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2013-01-02Move more constants into static variablesSiddhesh Poyarekar4-22/+8
Code cleanup.
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers63-94/+63
2012-12-31Favour normal numbersSiddhesh Poyarekar1-4/+5
2012-12-29Demystify the magic number 134217729.0Siddhesh Poyarekar3-8/+10
The number 134217729.0 gets used in various places in e_pow.c but there is no explanation of what that number is. Add that explanation.
2012-12-28Remove unnecessary variable mptwoim1Siddhesh Poyarekar2-27/+3
Code cleanup.
2012-12-28Replace more constants with their valuesSiddhesh Poyarekar5-97/+61
Code cleanup.
2012-12-28Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger1-1/+3
2012-12-28Replace constants with preprocessor definesSiddhesh Poyarekar5-120/+28
libm Code cleanup.
2012-12-27Remove redundant __mpexp_nnSiddhesh Poyarekar2-28/+2
It's an array that stores integral float values of the offset.
2012-12-27Move mpone out to a global constSiddhesh Poyarekar9-68/+13
Code cleanup.
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel1-62/+839
2012-12-10PSEUDO_SUBCALL for kOpenSolaris/x86_64Igor Pashev1-27/+51
2012-12-09Update kopensolaris-gnu/i386 to new syscall mechanicsIgor Pashev3-14/+58
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar4-7/+7
2012-12-06linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger1-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>
2012-12-06Syscalls on x86_64Igor Pashev1-2/+14
2012-12-06Fix warnings from generic _FPU_GETCWChris Metcalf1-3/+3
2012-12-06Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar1-3/+2
2012-12-05Porting to amd64.Igor Pashev1-8/+8
* use %fs instead of %gs, see [1] * use -q suffix for assembler directives (amd64) * use 17 for rolq/rorq (2 * sizeof(void*) + 1), 9 - for i386, see [2] Note that part for defined NOT_IN_libc && defined IS_IN_rtld is not present for kopensolaris-gnu/i386 too. [1] http://www.akkadia.org/drepper/tls.pdf [2] http://sourceware.org/ml/libc-alpha/2012-03/msg00603.html
2012-12-05Go aheadIgor Pashev1-5/+7
2012-12-05Copied from kopensolaris-gnu/i386, but ...Igor Pashev1-0/+324
it *must* be patched. This commit is only to ease changes tracking
2012-12-05Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.Joseph Myers1-0/+1
2012-12-04Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.Joseph Myers1-1/+1
2012-12-04Fix ldbl-128ibm "set but not used" warnings.Joseph Myers5-5/+9
2012-12-04Fix sparc build with older compilers.David S. Miller1-1/+6
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2012-12-04Fix "conflicting types for built-in function" warnings from nldbl-*.c.Joseph Myers1-0/+99
2012-12-04_LP64 is can be defined by compiler (GCC does it)Igor Pashev1-1/+3
2012-12-04__ID_T_TYPE is integerIgor Pashev1-1/+0
Namely, signed 32-bit integer. It is not "unsigned" in any way.
2012-12-04Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers1-1/+1
2012-12-04Fix powl inaccuracy for ldbl-128ibm (bug 14914).Joseph Myers1-7/+7
2012-12-03unix/common, unix/mman have been merged into unix.Igor Pashev1-2/+0
See git log -p -- sysdeps/unix/common and git log -p -- sysdeps/unix/mman
2012-12-03byteswap.h: fix gcc ver test for __builtin_bswap{32,64}Mike Frysinger1-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>
2012-11-30Fix type-punning warning in powerpc64 gmon-start.Roland McGrath1-2/+4
2012-11-29clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger1-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>
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