aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2013-03-08Consolidate copies of mp code in powerpcSiddhesh Poyarekar6-221/+4
Retain a single copy of the mp code in power4 instead of the two identical copies in powerpc32 and powerpc64.
2013-03-07Install <bits/mman-linux.h>Andreas Jaeger1-1/+2
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add bits/mman-linux.h.
2013-03-07Merge powerpc slowexp.c into generic codeSiddhesh Poyarekar5-133/+11
2013-03-07Merge powerpc slowpow.c into generic codeSiddhesh Poyarekar5-186/+19
2013-03-07Use an intermediate variable to sum exponents in powerpc __mul and __sqrSiddhesh Poyarekar2-10/+12
2013-03-07Use generic mpa.c code for everything except __mul and __sqrSiddhesh Poyarekar3-1256/+12
2013-03-07Remove PIPE_BUF Linux-specific codeSiddhesh Poyarekar2-24/+0
Fixes BZ #12723 The variable pipe buffer size does nothing to the value of PIPE_BUF, since the number of bytes that are atomically written is still PIPE_BUF on Linux.
2013-03-06Revert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation"Ondrej Bilka12-740/+1306
This reverts commit b79188d71716b6286866e06add976fe84100595e.
2013-03-06 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementationOndrej Bilka12-1306/+740
which is faster on all x86_64 architectures. Tested on AMD, Intel Nehalem, SNB, IVB.
2013-03-06Use <bits/mman-linux.h> for MIPSAndreas Jaeger1-1/+5
* sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow definition via __MAP_ANONYMOUS. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. (__MAP_ANONYMOUS): Define.
2013-03-06Remove MAP_GROWSUP on s390Andreas Jaeger1-2/+0
* sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove, it's not part of Linux headers.
2013-03-06Sync with Linux 3.8Andreas Jaeger13-4/+35
2013-03-06Remove powerpc64 bounded-pointers code.Joseph Myers36-497/+116
2013-03-05Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.hAndreas Jaeger6-29/+23
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Include <bits/mman-linux.h>. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT] (MCL_CURRENT, MCL_FUTURE): Define here.
2013-03-05S/390: Use attribute_hidden in ifunc-resolve.cAndreas Krebbel2-6/+6
2013-03-05S/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.Andreas Krebbel7-86/+100
2013-03-04Remove powerpc32 strncmp comments about bounded pointers.Joseph Myers3-9/+0
2013-03-04Create <bits/mman-linux.h>Andreas Jaeger6-338/+104
* sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux common definitions. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2013-03-04BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibmAdhemerval Zanella1-1/+1
2013-03-01Use same installed powerpc headers for hard and soft float.Joseph Myers3-0/+0
2013-03-01Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath2-2/+2
2013-02-28Remove powerpc32 bounded-pointers code.Joseph Myers46-450/+124
2013-02-28Sync up ppc add_magnitudes and sub_magnitudes with default codeSiddhesh Poyarekar2-104/+120
2013-02-27Format mpsqrt.cSiddhesh Poyarekar1-34/+44
2013-02-27Format mpatan2.cSiddhesh Poyarekar1-23/+22
2013-02-27Format mpatan.cSiddhesh Poyarekar1-46/+61
2013-02-27Format mptan.cSiddhesh Poyarekar1-13/+15
2013-02-27Format mplog.cSiddhesh Poyarekar1-21/+23
2013-02-26Another tweak to the multiplication algorithmSiddhesh Poyarekar1-6/+50
Reduce the formula to calculate mantissa so that we reduce the net number of multiplications performed.
2013-02-26Don't duplicate mpone and mptwoSiddhesh Poyarekar1-5/+3
2013-02-25Remove commented declarationsSiddhesh Poyarekar1-14/+0
2013-02-25Use long wherever possible in mpa.cSiddhesh Poyarekar1-31/+39
Using long throughout like powerpc does is beneficial since it reduces the need to switch to 32-bit instructions. It gives a very minor performance improvement.
2013-02-25Format slowexp.cSiddhesh Poyarekar1-22/+26
2013-02-25Reformat slowpow.cSiddhesh Poyarekar1-31/+48
2013-02-25Remove commented codeSiddhesh Poyarekar1-6/+0
2013-02-25Sync up powerpc __mp_dbl with default codeSiddhesh Poyarekar2-6/+2
2013-02-21Remove remaining bounded-pointers support from i386 .S files.Joseph Myers63-500/+326
2013-02-21Mark __inv as static in powerpcSiddhesh Poyarekar2-2/+2
2013-02-21Fix whitespace differences between generic and powerpc mpa.cSiddhesh Poyarekar3-4/+4
2013-02-21S/390: Fix _dl_runtime_profile for 32 bit.Andreas Krebbel1-5/+11
2013-02-21Mark ZERO inputs to __mul as unlikely on powerpcSiddhesh Poyarekar2-2/+2
Syncs up with generic code.
2013-02-20Respect the user's namespace in installed header files.Thomas Schwinge1-1/+1
Fixup for commit c7b275d6b3bceb6b400fa3044d13d1001bc605ca.
2013-02-20bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).Thomas Schwinge1-1/+1
2013-02-20Copy comment about inner loop from powerpc mpa.c to the default oneSiddhesh Poyarekar3-2/+12
2013-02-19Remove some bounded-pointers support from i386 .S files.Joseph Myers51-477/+27
2013-02-18unify xmalloc prototypes & friendsMike Frysinger1-7/+1
These prototypes are duplicated in many places. Add a dedicated header for holding prototypes for program-specific functions to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar10-0/+30
This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
2013-02-18New function _dl_find_dso_for_objectSiddhesh Poyarekar1-0/+4
Consolidate code to search for an address within a DSO.
2013-02-18FUTEX_*_REQUEUE_PI support for non-x86 codeSiddhesh Poyarekar1-0/+5
Add FUTEX_*_REQUEUE_PI support for the default C code and also add implementations for s-390 and ppc.
2013-02-18S/390: Fix _dl_runtime_profileAndreas Krebbel1-32/+38