aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps
AgeCommit message (Collapse)Author
2013-06-14MicroBlaze: negated errors in lowlevellock.hKirk Meyer
The macros in lowlevellock.h are returning positive errors, but the users of the macros expect negative. This causes e.g. sem_wait to sometimes return an error with errno set to -EWOULDBLOCK. Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2013-06-13tile: default to little-endian in bits/endian.hChris Metcalf
This turns out to be helpful when doing a from-scratch cross-compile of gcc and glibc, since you can then do "make install-headers" in glibc even before you have a functioning tile gcc.
2013-06-11Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers
2013-06-11PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].Ryan S. Arnold
2013-06-11PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold
2013-06-10Add rounding mode information to math-tests.h and use it in libm-test.inc.Joseph Myers
2013-06-08Use (void) in no-arguments function definitions.Joseph Myers
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers
2013-06-05BZ #15583: r7 uninitialized in strcpy.S when ARM_HAS_T2 undefinedRichard Henderson
2013-06-06Fix executable mode.Ondrej Bilka
2013-06-05Remove trailing whitespace in ports.Joseph Myers
2013-06-04[AArch64] Ensure getcontext() initializes PSTATE.Marcus Shawcroft
2013-05-31Link extra-libs consistently with libc and ld.so.Joseph Myers
2013-05-29Avoid crashing in LD_DEBUG when program name is unavailableSiddhesh Poyarekar
Resolves: #15465 The program name may be unavailable if the user application tampers with argc and argv[]. Some parts of the dynamic linker caters for this while others don't, so this patch consolidates the check and fallback into a single macro and updates all users.
2013-05-24tile: improve detection for missing -mcmodel=large supportChris Metcalf
The existing test avoided passing -mcmodel=large if the compiler didn't support it. However, we need to test not just the compiler support, but also the toolchain (as and ld) support, so make the test more complete. In addition, we have to avoid using the hwN_plt() assembly operators if that support is missing, so guard the uses with #ifdef NO_PLT_PCREL. This allows us to properly build glibc with the current community binutils, which doesn't yet have the PC-relative PLT operator support. The -mcmodel=large support is in gcc 4.8, but the toolchain support won't be present in the community until binutils 2.24.
2013-05-23[AArch64] Use generic "mcount" routine for profiling.Marcus Shawcroft
2013-05-22Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado
Adds new SIGBUS error codes for hardware poison signals, syncing with the current kernel headers (v3.9). It also adds si_trapno field for alpha.
2013-05-22Don't include expected results in libm-test test names.Joseph Myers
2013-05-21Fix MIPS n32 cancellation in static libc (bug 15506).Joseph Myers
2013-05-21AArch64: Don't clobber argument for tail call to __sigjmp_save in sigsetjmpAndreas Schwab
2013-05-21[AArch64] Update libm-test-ulps.Marcus Shawcroft
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers
2013-05-16MIPS: soft-fp NaN representation correctionsMaciej W. Rozycki
[BZ #15442] This adds support for the inverse interpretation of the quiet bit of IEEE 754 floating-point NaN data that some processors use. This includes in particular MIPS architecture processors; the payload used for the canonical qNaN encoding is updated accordingly so as not to interfere with the quiet bit.
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold
2013-05-15hppa: Cleanup libm-test-ulps.Carlos O'Donell
Joseph Myers noted that there were several old and really very incorrect values in the hppa libm-test-ulps. This patch removes all of the ulps values for ceil, floor, rint, round, trun, llrint, and llround, all of which were previously incorreclty added (including some negative values which are really wrong). --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Remove old values for ceil, floor, rint, round, trunc, llrint, and llround.
2013-05-15hppa: Update libm-test-ulpsCarlos O'Donell
Update libm-test-ulps for hppa. There are a few entries with 4 or 5 ulps, but these appear to be expected. A more thorough review will be required if hppa switches long-double to a different type. --- ports/ 2013-05-15 Carlos O'Donell <carlos@redhat.com> * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2013-05-15hppa: Fix _FPU_GETCW and _FPU_SETCW.Carlos O'Donell
The following patch fixes both _FPU_GETCW and _FPU_SETCW for hppa. The initial implementation was flawed and not well tested. We failed to set cw, and passed in the value of a register to fldd. This patch fixes both of those errors and allows the libm tests to pass without failure. Signed-off-by: Guy Martin <gmsoft@tuxicoman.be> Signed-off-by: Carlos O'Donell <carlos@redhat.com> --- 2013-05-15 Guy Martin <gmsoft@tuxicoman.be> Carlos O'Donell <carlos@redhat.com> [BZ# 15000] * ports/sysdeps/hppa/fpu/fpu_control.h (_FPU_GETCW): Set cw. (_FPU_SETCW): Pass address to fldd.
2013-05-14Stop ARM setjmp/longjmp saving/restoring fpscr (bug 14908).Joseph Myers
2013-05-13ARM: Make multiarch memcpy always use NEON when compiler doesRoland McGrath
2013-05-12[AArch64] Fix out of range branch from ioctl() and clone()Marcus Shawcroft
2013-05-12 Marcus Shawcroft <marcus.shawcroft@linaro.org> * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not call sycall_error directly with a confitional branch. * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Do not call sycall_error directly with a confitional branch.
2013-05-08ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.Will Newton
2013-05-07ARM: Rewrite elf_machine_dynamic in pure C.Roland McGrath
2013-05-06ARM: Add missing sfi_breg prefix in _dl_tlsdesc_dynamic code.Roland McGrath
2013-04-19ARM: Macroize assembly use of EABI unwind directives.Roland McGrath
2013-04-18MicroBlaze PortDavid Holsgrove
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2013-04-11m68k: update libm test ULPsAndreas Schwab
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-26ARM: fix preconfigure.Mans Rullgard
2013-03-21Use LIBC_CONFIG_VAR for MIPS default-abi setting.Joseph Myers
2013-03-20Use LIBC_CONFIG_VAR for ARM default-abi setting.Joseph Myers
2013-03-19aarch64: Move rtld link to /libAndreas Schwab
2013-03-18ARM: Make dl-tlsdesc.S use sfi_breg, respect ARM_ALWAYS_BX and ↵Roland McGrath
ARM_NO_INDEX_REGISTER.
2013-03-15Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge
2013-03-15Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.Thomas Schwinge
Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59.
2013-03-15ARM: sfi_sp assembler macroRoland McGrath
2013-03-15ARM: sfi_breg assembler macroRoland McGrath
2013-03-14aarch64: use lib64 as default lib and slib directoryAndreas Schwab
2013-03-13ARM_BX_ALIGN_LOG2Roland McGrath
2013-03-13ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.Roland McGrath
2013-03-13ARM: Support avoiding pc as destination register.Roland McGrath