summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-12NEWS: Mention x86-64 ld.so use of Intel MPX instructions.Roland McGrath
2014-08-12Add BZ #16892 to NEWSWill Newton
2014-08-12Check value of futex before updating in __lll_timedlockBernard Ogden
2014-08-12 Bernard Ogden <bernie.ogden@linaro.org> [BZ #16892] * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2014-08-12malloc: fix comment typoSean Anderson
2014-08-09Regenerate libc.poAllan McRae
2014-08-08tst-gettext2: make setup more robustMike Frysinger
This test should be more robust about setting up its lang dirs. I had two completely different systems (ia64 & x86_64) get wedged in a way where the test just kept FAILing on me due to some of the files missing. This probably wasn't a big deal until the recent commit which made checking of the locale dirs more robust (for security reasons).
2014-08-07This patch adds new function libc_feholdsetround_noex_aarch64_ctx, enablingWilco Dijkstra
further optimization. libc_feholdsetround_aarch64_ctx now only needs to read the FPCR in the typical case, avoiding a redundant FPSR read. Performance results show a good improvement (5-10% on sin()) on cores with expensive FPCR/FPSR instructions.
2014-08-07Fix performance issue in misaligned strcpy.Wilco
2014-08-06PowerPC: Fix termios definitionsAdhemerval Zanella
This patch fixes the incorrect guard by __USE_MISC of struct winsize and struct termio in powerpc termios header. Current states leads to build failures if the program defines _XOPEN_SOURCE, but not _DEFAULT_SOURCE or either _BSD_SOURCE or _SVID_SOURCE. Without any definition, __USE_MISC will not be defined and neither the struct definitions. This patch copies the default Linux ioctl-types.h by adjusting only the character control field (c_cc) size in struct termio.
2014-08-05alpha: Fix exception raising from soft-fpRichard Henderson
Use the SSI_IEEE_RAISE_EXCEPTION function as from feraiseexcept, instead of __ieee_get+set_fp_status. Always raise the FP exceptions from float-to-integer conversion.
2014-08-05alpha: Remove linux lowlevellock.hRichard Henderson
For real this time.
2014-08-05alpha: Remove linux lowlevellock.hRichard Henderson
2014-08-04MIPS - Remove mips lowlevellock.h.Bernard Ogden
* sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2014-08-04AArch64: Remove lowlevellock.hWill Newton
Remove lowlevellock.h in favour of the generic implementation. The generic implementation was tested natively and introduces no regressions. ChangeLog: 2014-08-04 Will Newton <will.newton@linaro.org> * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove file.
2014-08-04add ChangeLog for previous commitMike Frysinger
2014-08-04ia64: define nocancel entry points in PSEUDOMike Frysinger
The previous set of not-cancel.h headers (prior to the commit 2fbdf5339aaeaa423bd661524f7ec7af41fa2606) did not require the arch to define nocancel entry points, so ia64 never did. However, after the various files were merged, it became a hard requirement for arches which mean ia64 failed to build. Here we add dedicated entry points. It'd be nice to merge with the existing stubs like other arches do, but the ia64 asm does not lend itself to interleaving of functions. If someone has a suggestion on merging these, that'd be great, but at least now we build & pass tests again.
2014-08-04IA64: Consolidate nptl/ subdirectories under linux/...Roland McGrath
2014-08-04IA64: Move NPTL public headers to sysdeps/ia64/nptl/.Roland McGrath
2014-08-04IA64: Define TLS_DEFINE_INIT_TPRoland McGrath
2014-08-04IA64: Consolidate NPTL/non versions of vforkRoland McGrath
2014-08-04IA64: Consolidate NPTL/non versions of cloneRoland McGrath
2014-08-04Fix missing <math_private.h> in ldbl-96 fmaAndreas Schwab
2014-08-03add ChangeLog for previous commitMike Frysinger
2014-08-03tst-setcontext: fix styleMike Frysinger
2014-08-01Remove sysdeps/unix/sysv/linux/arm/lowlevellock.hRoland McGrath
2014-08-01Force eval for fma implementationsRichard Henderson
2014-08-01ARM: Move PTR_MANGLE et al out of Linux-specific file.Roland McGrath
2014-08-01Fix -Wundef warnings in regex_internal.hSiddhesh Poyarekar
2014-08-01Check if DEBUG is defined in regex_internal.cSiddhesh Poyarekar
The DEBUG macro is checked for its value in one place and if it is defined in another. Make this consistent across the two cases and use the same style that we did in mktime.c, which is to check if the macro is defined and it is set.
2014-08-01Fix -Wundef warnings in fnmatch.cSiddhesh Poyarekar
Fixes -Wundef warnings for MBSTATE_T and HAVE_STRING_H. The HAVE_STRING_H bit is a merge from the gnulib fnmatch.c and the MBSTATE_T fix has been posted to gnulib for inclusion.
2014-08-01NEWS: Explain the s390 jmp_buf / ucontext_t ABI change reversal.Stefan Liebler
2014-07-31Add __safe_fatal and use it in __pthread_unwind forwarder fallback.Roland McGrath
2014-07-31Use __builtin_trap for ABORT_INSTRUCTION.Roland McGrath
2014-07-31Split nptl-signals.h out from pthreadP.hRoland McGrath
2014-07-31[PATCH] S390: Fix remaining ONE_DIRECTION warning messagesStefan Liebler
This patch fixes the remaining ONE_DIRECTION warnings for s390 specific conversions. It defines ONE_DIRECTION to 0 like the patch from Steve Ellcey: https://www.sourceware.org/ml/libc-alpha/2014-05/msg00039.html Changelog: * sysdeps/s390/s390-64/utf16-utf32-z9.c (ONE_DIRECTION): Define. * sysdeps/s390/s390-64/utf8-utf16-z9.c (ONE_DIRECTION): Define. * sysdeps/s390/s390-64/utf8-utf32-z9.c (ONE_DIRECTION): Define.
2014-07-31S/390: Revert the jmp_buf/ucontext_t ABI change.Stefan Liebler
2014-07-31Fix -Wundef warning for HAVE_IFUNCAndreas Schwab
2014-07-30Improve 64bit memcpy performance for Haswell CPU with AVX instructionLing Ma
In this patch we take advantage of HSW memory bandwidth, manage to reduce miss branch prediction by avoiding using branch instructions and force destination to be aligned with avx instruction. The CPU2006 403.gcc benchmark indicates this patch improves performance from 2% to 10%.
2014-07-30PowerPC: Fix gprof entry point for LEAdhemerval Zanella
This patch fixes the ELFv2 gprof entry point since the ABI does not define function descriptors. It fixes BZ#17213.
2014-07-29fcntl-linux.h: add new definitions and manual updates for open file ↵Jeff Layton
description locks Open file description locks have been merged into the Linux kernel for v3.15. Add the appropriate command-value definitions and an update to the manual that describes their usage.
2014-07-23Update Spanish translationsAllan McRae
2014-07-23Add fixed bug to NEWSAllan McRae
Fixed in commit 7ee03f00.
2014-07-23Add missing changelog entry for commit ab7ac0f2Allan McRae
2014-07-22Revert "aarch64: Add hp-timing.h"Marcus Shawcroft
This reverts commit 4052993954d1dcb39cbd478ab59e75fe12903e9c. Conflicts: sysdeps/aarch64/hp-timing.h
2014-07-18m68k: use generic lowlevellock.hAndreas Schwab
2014-07-17[BZ #17078] ARM: R_ARM_TLS_DESC prelinker supportMaciej W. Rozycki
This is a change to the dynamic linker to add prelinker support for the R_ARM_TLS_DESC relocation. Two cases can be considered here, the usual one where lazy binding is in use and the less frequent one, where immediate binding is requested via the use of the DF_BIND_NOW dynamic flag (e.g. by using the GNU linker's "-z now" option). This change only handles the first case. In this scenario the prelinker does what the dynamic linker would do, that is it preinitialises R_ARM_TLS_DESC relocations with a pointer to the lazy specialization as provided with the DT_TLSDESC_PLT dynamic tag. A conflict is additionally created and in the conflict resolution path the dynamic linker complements the work by initialising the object's pointer as indicated by the DT_TLSDESC_GOT dynamic tag to the linker's internal lazy specialization worker function and also providing the associated link map in the second entry of the GOT. This step is required, because if prelinking is successful at the run time, then the dynamic linker's elf_machine_runtime_setup() function isn't called that would normally do so. The second case remains unresolved, because support for that scenario has not been implemented in the prelinker. In this case the lazy specialization is unavailable and the DT_TLSDESC_PLT dynamic tag is not present. The prelinker could assume the common case of static specialization and resolve the relocation, but that would require the exposure of dynamic linker's specialization worker function. Furthermore the dynamic linker would have to handle the relocation in the conflict resolution path and see if the dynamic specialization should be used instead. This however would require access to data structures currently not made available to the conflict resolution path and therefore a redesign of this part of the dynamic linker. Alternatively the prelinker could defer all processing to the dynamic linker's conflict resolution path, but that would require similar access to the said data structures. Therefore the prelinker issues an error instead and the dynamic linker has assertions to check that DT_TLSDESC_PLT and DT_TLSDESC_GOT are in use in its conflict resolution path. This change resolves all TLS failures in the prelinker testsuite, as noted in the bug report, as well as the small test case provided there. Unfortunately we don't seem to have any hooks to factor in the prelinker (if present on a system) to testing, so at this time this fix has to rely on using the prelinker test suite and enabling TLS descriptors there for coverage. [BZ #17078] * sysdeps/arm/dl-machine.h (elf_machine_rela) [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation. (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2014-07-17Fix fallback fesetenv and feupdateenv on FE_NOMASK_ENV (bug 17088).Joseph Myers
This patch fixes bug 17088, fallback fesetenv and feupdateenv not giving an error for an FE_NOMASK_ENV argument when it requires traps to be enabled. (This is the bug tested for by test-fenv-return.c.) Tested mips64 soft-float. [BZ #17088] * math/fesetenv.c (__fesetenv) [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV. * math/feupdateenv.c (__feupdateenv) [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2014-07-17[PATCH 6/6] Split s390 out of main Linux kernel-features.h.Joseph Myers
This patch splits s390 out of the main Linux kernel-features.h. Not tested. * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file. * sysdeps/unix/sysv/linux/kernel-features.h [__s390__] (__ASSUME_SOCKETCALL): Do not define.
2014-07-17[PATCH 5/6] Split sh out of main Linux kernel-features.h.Joseph Myers
This patch splits sh out of the main Linux kernel-features.h. Not tested. * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file. * sysdeps/unix/sysv/linux/kernel-features.h [__sh__] (__ASSUME_SOCKETCALL): Do not define. (__ASSUME_ST_INO_64_BIT): Define unconditionally. [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] (__ASSUME_ACCEPT4_SYSCALL): Do not define. [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__] (__ASSUME_RECVMMSG_SYSCALL): Likewise. [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__] (__ASSUME_SENDMMSG_SYSCALL): Likewise. [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2014-07-17[PATCH 4/6] Split powerpc out of main Linux kernel-features.h.Joseph Myers
This patch splits powerpc out of the main Linux kernel-features.h. Not tested. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file. * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__] (__ASSUME_SOCKETCALL): Do not define. (__ASSUME_IPC64): Define unconditionally. [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define. [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__] (__ASSUME_RECVMMSG_SYSCALL): Likewise. [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__] (__ASSUME_SENDMMSG_SYSCALL): Likewise. [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.