about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of nptl/sysdeps/ entirely!Roland McGrath2014-07-0784-664/+528
|
* Add comment for MEMCPY_OK_FOR_FWD_MEMMOVESiddhesh Poyarekar2014-07-052-0/+8
|
* string/memchr.c: Merge from gnulibWill Newton2014-07-042-139/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge most of the gnulib implementation of memchr. The changes that remain are: - copyright header - bp-sym.h removed - reg_char removed - allow MEMCHR to be redefined - non-conforming whitespace changes The merged code fixes a number of -Wundef warnings and also introduces an optimized algorithm. I haven't detected any performance difference in the new code which I believe is down to the quite specific circumstances required to hit it. However the new code is approximately half the size of the old code on AArch64 (which uses generic memchr). ChangeLog: 2014-07-04 Will Newton <will.newton@linaro.org> * string/memchr.c: Merge from gnulib. [_LIBC]: Remove conditionals. (__ptr_t): Remove define. (LONG_MAX_32_BITS): Likewise. (LONG_MAX): Likewise. (MEMCHR): Use ANSI prototype and optimize algorithm.
* ARM: Define ELF_MACHINE_NO_RELWill Newton2014-07-042-0/+5
| | | | | | | | | | 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-032-1/+4
|
* Fix unwind.h configure check for bare environment.Roland McGrath2014-07-033-2/+19
|
* Add missing #include in sysdeps/alpha/fpu/s_nearbyint.cRoland McGrath2014-07-032-1/+5
|
* Robustify Linux kernel headers configure checksRoland McGrath2014-07-033-153/+37
|
* S390: Quash unused variable warning due to no-op THREAD_SET_POINTER_GUARD.Roland McGrath2014-07-032-1/+4
|
* Restore subdir conditional for tst-timer dependency.Siddhesh Poyarekar2014-07-032-0/+9
|
* alpha: Remove nearbyint and nearbyintf implementationsRichard Henderson2014-07-033-72/+5
| | | | | | | | | | 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-032-0/+9
|
* alpha: Fix lround implementationsRichard Henderson2014-07-033-8/+11
| | | | Use chopped rounding to add 0.5.
* alpha: Remove round and roundf implementationsRichard Henderson2014-07-033-91/+3
| | | | | | | 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).
* Changelog for last 8 patchesRichard Henderson2014-07-031-0/+82
|
* Rely on HP_TIMING_AVAIL implies HP_SMALL_TIMING_AVAILRichard Henderson2014-07-033-21/+7
|
* 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-0325-310/+1
| | | | | 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.
* stdlib/tst-strtod-overflow: Bump timeout up yetMaciej W. Rozycki2014-07-032-1/+5
| | | | | | | | | This test case is very, especially on targets using soft-float or QEMU (where soft-float is used internally), and appears to be the only such outlier. Therefore rather than requiring to have TIMEOUTFACTOR set large enough globally, bump up the local scaling factor instead. * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
* Sync up loadmsgcat.c with gettextSiddhesh Poyarekar2014-07-032-14/+77
|
* Fix Wundef warning for __STDC_VERSION__Siddhesh Poyarekar2014-07-032-1/+8
| | | | | | | | c4c4124473c187b5c4642611390897666c3d3970 added the _Noreturn macro for pre-C11 compilers, but it now throws a new Wundef warning during `make check` for __STDC_VERSION__ which gcc does not define by default. The following patch fixes this in line with other uses of __STDC_VERSION__ in the file.
* Don't use __glibc_unlikely in shared codeSiddhesh Poyarekar2014-07-032-2/+4
|
* Fix -Wundef warning on PAGE_COPY_THRESHOLDSiddhesh Poyarekar2014-07-039-53/+62
| | | | | | | 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-027-4/+118
| | | | | | 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-022-0/+5
|
* Fix typo and formatting in loadmsgcat.cSiddhesh Poyarekar2014-07-022-18/+15
| | | | This reduces the differences with gettext version of loadmsgcat.c
* Fix typo in macro nameSiddhesh Poyarekar2014-07-022-1/+5
| | | | It is _POSIX_SIGNALS and not _POSUX_SIGNALS
* malloc/obstack: Merge from gnulibWill Newton2014-07-023-148/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | Merge the latest version of the obstack.c and obstack.h files from gnulib. The majority of this change is coding style and cosmetic comment changes but it also fixes a -Wundef warning in the build as a side effect. 2014-07-02 Will Newton <will.newton@linaro.org> * malloc/obstack.c: Merge from gnulib master. [HAVE_CONFIG_H]: Remove conditional code. [!_LIBC]: Include config.h. [!ELIDE_CODE]: Don't include inttypes.h, include stdint.h unconditionally. (print_and_abort): Mark as _Noreturn. (_obstack_allocated_p): Mark as __attribute_pure__. (obstack_free): Rename to __obstack_free. [!__attribute__]: Remove conditional code. * malloc/obstack.h: Merge from gnulib master. [__cplusplus]: Move conditional down. [!__attribute_pure__]: Define __attribute_pure__ here if it is not already defined. (_obstack_memory_used): Mark as __attribute_pure__. [!__obstack_free]: Define as obstack_free. [__GNUC__]: Remove check for ancient NeXT gcc.
* misc/sys/cdefs.h: Add _Noreturn macro for pre-C11 compilersPaul Eggert2014-07-022-0/+13
| | | | | | | 2014-07-02 Will Newton <will.newton@linaro.org> Paul Eggert <eggert@cs.ucla.edu> * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
* Add comment to gethnamaddr.c to warn that the file is unmaintainedSiddhesh Poyarekar2014-07-022-0/+10
|
* hppa: Remove GLIBC_2.3 from librt.abilist.Carlos O'Donell2014-07-022-4/+3
| | | | | | 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-0115-6/+3220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-015-0/+11
|
* alpha: Fix isnanRichard Henderson2014-07-013-24/+7
| | | | The isunordered formulation raises SIGFPE for SNaN.
* alpha: Update libm-test-ulpsRichard Henderson2014-07-012-6/+209
|
* S/390: Regenerate ULPsStefan Liebler2014-07-012-6/+124
|
* Remove MULTI_PTRS_ARE_ALIASES in dns-hosts.cSiddhesh Poyarekar2014-07-012-22/+7
| | | | | | | | | | | | | | | | The code in gethnamaddr.c for gethostbyaddr used and set this macro to allow multiple PTR records to be added as aliases. This was useful for gethostbyaddr since it returns a hostent structure, which can return aliases. The gethnamaddr.c source however is unused in glibc since pretty much forever. Instead, the DNS lookup bits for gethostbyaddr (as well as getnameinfo) are implemented in dns-hosts.c and in that implementation all but one (the first one) of the multiple PTR records are ignored. Since gethnamaddr.c is essentially dead code, ignore that implementation and replace the MULTI_PTRS_ARE_ALIASES bit with a comment mentioning that bind adds PTR records as aliases while we don't.
* MicroBlaze: Update kernel-features.h for syscalls added in 3.15Joseph Myers2014-07-012-5/+15
| | | | | | | | | | | | | | | | Now that the MicroBlaze 3.15 kernel has the pselect6, preadv and pwritev syscalls, this patch updates kernel-features.h so they are assumed to be present for 3.15 and later kernels. 2014-06-17 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/microblaze/kernel-features.h [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not undefine. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* MicroBlaze: Consolidate nptl/ subdirectories under linux/...Roland McGrath2014-07-0118-0/+57
| | | | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* MicroBlaze: Consolidate NPTL/non versions of vforkRoland McGrath2014-07-013-21/+1
|
* MicroBlaze: Move NPTL public headers to sysdeps/microblaze/nptl/.Roland McGrath2014-07-012-0/+0
|
* MicroBlaze: Define TLS_DEFINE_INIT_TPRoland McGrath2014-07-012-23/+2
|
* MicroBlaze: Convert fork.c to arch-fork.hRoland McGrath2014-07-011-4/+2
|
* MicroBlaze: Add missing sysdep-cancel.h implementationDavid Holsgrove2014-07-014-1/+171
| | | | | | | | | | | | | | | And update socket.S, Makefile to use *_nocancel definitions. Absence of sysdep-cancel.h was not apparent until Roland's not-cancel.h unification. 2014-06-30 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P * sysdeps/unix/sysv/linux/microblaze/Makefile: Add to libpthread-routines Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* Update powerpc-fpu ULPs.Adhemerval Zanella2014-06-302-0/+28
|