about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC: Fix build due missing lll_robust_trylockAdhemerval Zanella2014-07-101-2/+17
| | | | | | | Commit 887865f remove the lll_robust_trylock definition on all architectures, however for powerpc both __lll_trylock and __lll_cond_trylock were based on lll_robust_trylock definition. This patch restore it with a different name.
* Get rid of lll_robust_dead.Roland McGrath2014-07-1015-157/+0
|
* Get rid of lll_robust_trylock.Roland McGrath2014-07-1015-137/+0
|
* Fix crash when system has no ipv6 address [BZ #17125]Siddhesh Poyarekar2014-07-101-1/+7
| | | | | | | | | | | Here's an updated patch to fix the crash in bug-ga2 when the system has no configured ipv6 address. I have taken a different approach of using libc_freeres_fn instead of the libc_freeres_ptr since the former gives better control over what is freed; we need that since cache may or may not be allocated using malloc. Verified that bug-ga2 works correctly in both cases and does not have memory leaks in either of them.
* Get rid of sparc specific NPTL internaltypes.h header.David S. Miller2014-07-0912-8/+12
| | | | | | | | | | | | | | | | * sysdeps/sparc/nptl/internaltypes.h: Delete. * sysdeps/sparc/nptl/sparc-nptl.h: New file. * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it. * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise. * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise. * sysdeps/sparc/nptl/sem_init.c: Likewise. * sysdeps/sparc/nptl/sem_post.c: Likewise. * sysdeps/sparc/nptl/sem_timedwait.c: Likewise. * sysdeps/sparc/nptl/sem_wait.c: Likewise. * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise. * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
* Update sparc ULPS.David S. Miller2014-07-091-6/+96
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Fix missing newline in test outputAndreas Schwab2014-07-092-2/+2
|
* Update i386 libm test ULPsAndreas Schwab2014-07-091-8/+32
|
* Fix -Wundef warnings for SHAREDWill Newton2014-07-095-5/+5
| | | | | | | | | | | | | | | | | The definition of SHARED is tested with #ifdef pretty much everywhere apart from these few places. The tlsdesc.c code seems to be copy and pasted to a few architectures and there is one instance in the hppa startup code. ChangeLog: 2014-07-09 Will Newton <will.newton@linaro.org> * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef. * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise. * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise. * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise. * sysdeps/hppa/start.S (_start): Likewise.
* Fix Wundef warning for __cplusplusSiddhesh Poyarekar2014-07-091-1/+1
| | | | | All current uses of the __cplusplus macro only check if it is defined or not. Fix this #if to use $ifdef like the rest of the code.
* Fix Wundef warning for ELF_MACHINE_NO_REL on i386Siddhesh Poyarekar2014-07-081-0/+1
|
* PowerPC: Cleanup powerpc memmoveAdhemerval Zanella2014-07-085-25/+5
| | | | | | | Now that MEMCPY_OK_FOR_FWD_MEMMOVE should be define on memcopy.h there is no need to specialized powerpc memmove implementation. This patch moves the define set to powerpc memcopy and cleanup its definition on powerpc code.
* PowerPC: Fix compiler warningsAdhemerval Zanella2014-07-083-3/+5
| | | | | This patch fixes some compiler due trailing data in #undef directives and due missing prototypes.
* PowerPC: Add ifunc tests for memmoveAdhemerval Zanella2014-07-081-0/+6
| | | | | This patch add the missing ifunc tests definition for memmove ppc32 optimization patch (commit 07aedd7).
* PowerPC: Align power7 memcpy using VSX to quadwordAdhemerval Zanella2014-07-072-20/+6
| | | | | | This patch changes power7 memcpy to use VSX instructions only when memory is aligned to quardword. It is to avoid unaligned kernel traps on non-cacheable memory (for instance, memory-mapped I/O).
* PowerPC: optimized memmove for POWER7/PPC32Adhemerval Zanella2014-07-074-1/+100
| | | | | This patch adds a optimized memmove for power7 by using the optimized power7 memcpy for forward copying.
* PowerPC: optimized memmove for POWER7/PPC64Adhemerval Zanella2014-07-079-1/+1016
| | | | | | | | | | | This patch adds an optimized memmove optimization for POWER7/powerpc64. Basically the idea is to use the memcpy for POWER7 on non-overlapped memory regions and a optimized backward memcpy for memory regions that overlap (similar to the idea of string/memmove.c). The backward memcpy algorithm used is similar the one use for memcpy for POWER7, with adjustments done for alignment. The difference is memory is always aligned to 16 bytes before using VSX/altivec instructions.
* PowerPC: memmove default implementation cleanupAdhemerval Zanella2014-07-071-97/+2
| | | | | | | | This patch removes the powerpc specific logic in memmove and instead include default implementation with MEMCPY_OK_FOR_FWD_MEMMOVE defined. This lead in a increase performance, since the constraints to use memcpy in powerpc code are too restrictive and memcpy can be used for any forward memmove.
* PowerPC: Guard CALL_ELF check for ppc64 only in link.hAdhemerval Zanella2014-07-071-2/+4
| | | | | This patch fixes powerpc32 undef compiler warnings for _CALL_ELF, since it is defined only for powerpc64.
* Remove old stub lowlevellock.h file. It is not even useful as documentation.Roland McGrath2014-07-071-83/+0
|
* NPTL is no longer an add-on!Roland McGrath2014-07-0727-60/+217
|
* Get rid of nptl/sysdeps/ entirely!Roland McGrath2014-07-0746-122/+2408
|
* Add comment for MEMCPY_OK_FOR_FWD_MEMMOVESiddhesh Poyarekar2014-07-051-0/+3
|
* ARM: Define ELF_MACHINE_NO_RELWill Newton2014-07-041-0/+1
| | | | | | | | | | Fix a -Wundef warning on ARM. ChangeLog: 2014-07-04 Will Newton <will.newton@linaro.org> * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
* Fix ia64 build error in lll_futex_timed_wait_bitsetRoland McGrath2014-07-031-1/+1
|
* Fix unwind.h configure check for bare environment.Roland McGrath2014-07-032-2/+14
|
* Add missing #include in sysdeps/alpha/fpu/s_nearbyint.cRoland McGrath2014-07-031-1/+3
|
* Robustify Linux kernel headers configure checksRoland McGrath2014-07-032-153/+32
|
* S390: Quash unused variable warning due to no-op THREAD_SET_POINTER_GUARD.Roland McGrath2014-07-031-1/+1
|
* Restore subdir conditional for tst-timer dependency.Siddhesh Poyarekar2014-07-031-0/+4
|
* alpha: Remove nearbyint and nearbyintf implementationsRichard Henderson2014-07-032-72/+1
| | | | | | | | | | The original implementation was written for EV5, which does not record inexact in the status register for /SU (but no /I) insns. But EV6 does record the inexact status; the lack of /I simply means that the exception is suppressed. Adding feholdexcept becomes the bulk of the overhead, so we might as well use the default implementation.
* alpha: Implement math_opt_barrier and math_force_evalRichard Henderson2014-07-031-0/+6
|
* alpha: Fix lround implementationsRichard Henderson2014-07-032-8/+8
| | | | Use chopped rounding to add 0.5.
* alpha: Remove round and roundf implementationsRichard Henderson2014-07-032-91/+0
| | | | | | | Two bugs in these implementations: First is that the add of 0.5 was not done in chopped rounding mode (easily fixable). Second is that the method generates incorrect inexact exceptions for small integral values (not easily fixable).
* Rely on HP_TIMING_AVAIL implies HP_SMALL_TIMING_AVAILRichard Henderson2014-07-031-1/+1
|
* Always provide HP_SMALL_TIMING_AVAILRichard Henderson2014-07-039-0/+9
|
* aarch64: Add hp-timing.hRichard Henderson2014-07-031-0/+37
|
* Unify hp-timing implementationsRichard Henderson2014-07-0310-344/+82
| | | | Provide an hp-timing-common.h for ports to use.
* Remove HP_TIMING_DIFF_INIT and dl_hp_timing_overheadRichard Henderson2014-07-0322-299/+0
| | | | | Without HP_TIMING_ACCUM, dl_hp_timing_overhead is write-only. If we remove it, there's no point in HP_TIMING_DIFF_INIT either.
* Removing HP_TIMING_ACCUM as unusedRichard Henderson2014-07-039-145/+12
|
* Removing HP_TIMING_ZERO as unusedRichard Henderson2014-07-038-33/+0
|
* powerpc: Remove dummy hp-timing.hRichard Henderson2014-07-031-81/+0
| | | | It's the same as the generic dummy version.
* Fix -Wundef warning on PAGE_COPY_THRESHOLDSiddhesh Poyarekar2014-07-034-49/+50
| | | | | | | The PAGE_COPY_THRESHOLD macro is meant to be overridden by architecture-specific pagecopy.h, but it is currently done only by mach; all other architectures use the default. Check to see if the macro is defined in addition to whether it is set to a non-zero value.
* PowerPC: strcat optimization for PPC64/POWER7Vidya Ranganathan2014-07-026-4/+105
| | | | | | This patch adds an ifunc power7 strcat symbol that uses the logic on sysdeps/powerpc/strcat.c but call power7 strlen/strcpy symbols instead of default ones.
* Add missing #include for MIN use in dl-sysdep.c.Roland McGrath2014-07-021-0/+1
|
* Fix typo in macro nameSiddhesh Poyarekar2014-07-021-1/+1
| | | | It is _POSIX_SIGNALS and not _POSUX_SIGNALS
* hppa: Remove GLIBC_2.3 from librt.abilist.Carlos O'Donell2014-07-021-4/+0
| | | | | | This commit removes the aio_cancel and aio_cancel64 symbols at GLIBC_2.3 from the ABI baseline. The ABI baseline is now complete for hppa and considered stable.
* hppa: Add ABI baselines.Carlos O'Donell2014-07-0114-6/+3202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following ABI baselines were tested against several old releases of debian and gentoo. Several problems were discovered and fixed as part of developing the ABI baselines. Firstly, libBrokenLocale on gentoo exports __ctype_get_mb_cur_max as @@GLIBC_2.0, but it should be @@GLIBC_2.2 since that's the minimum version defined in shlib-versions for hppa. I don't know when this broke, but master properly parses hppa's shlib-versions which clearly lists libBrokenLocale as defaulting to GLIBC_2.2. Therefore I'm accepting GLBIC_2.2 as the correct version for this symbol and setting the baseline to that, despite the fact that the present distribution is wrong. I don't expect that any new applications should be using libBrokenLocale, so it should match the oldest behaviour which is to export a GLIBC_2.2 symbol. For example in debian's 2.7 has it at version GLIBC_2.2. Secondly, aio_cancel and aio_cancel64 previously had a compat symbol at version @GLIBC_2.1 with a new symbol at @@GLIBC_2.3[1]. During the Linuxthreads to NPTL transition the file aio_cancel.c was lost for hppa and that resulted in just @@GLIBC_2.1 versions of these symbols being exported. The @@GLIBC_2.1 version works correctly and uses the right value of ECANCELLED. Therefore if I were to fix this today it might break correctly working applications using aio_cancel*@GLIBC_2.1 by causing those to use the old aio_cancel that used the older value of ECANCELLED. Thus the best option is to accept that the ABI changed and ignore older applications in favour of newer applications. The best thing to do is cleanup the version files (included in the patch). The rest of the ABI was as expected (ignoring __p_type_syms size change in 2008).
* Add missing #include for MIN/MAX users.Roland McGrath2014-07-011-0/+1
|
* alpha: Fix isnanRichard Henderson2014-07-012-24/+3
| | | | The isunordered formulation raises SIGFPE for SNaN.