about summary refs log tree commit diff
path: root/ports
Commit message (Collapse)AuthorAgeFilesLines
* hppa: fix __O_SYNC to match the kernelJohn David Anglin2014-08-101-1/+1
|
* hppa: fix pthread spinlockJohn David Anglin2014-08-102-8/+8
|
* hppa: fix bug in floating point exception supportJohn David Anglin2014-08-102-5/+5
|
* hppa: fix build problems with atomic codeJohn David Anglin2014-08-101-31/+35
| | | | | | Specifically: ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: can’t find a register in class ‘R1_REGS’ while reloading ‘asm’
* hppa: name setjmp unionJohn David Anglin2014-08-101-1/+1
| | | | | | | | | Some of the C++ tests want this, and this is what all other arches have done, so do it on hppa too. 2013-07-07 John David Anglin <dave.anglin@bell.net> * ports/sysdeps/hppa/bits/setjmp.h: Name anonymous union.
* arm: fix PIC vs SHARED typosDavid Lamparter2014-02-082-4/+4
| | | | | | | | | | | | | | the logic in setjmp/__longjmp incorrectly tie to "PIC" to figure out whether the code is going into a shared library when it should be using "SHARED". otherwise, building static PIC code goes wrong. https://bugs.gentoo.org/336914 http://sourceware.org/ml/libc-ports/2011-09/msg00018.html 2011-09-19 David Lamparter <equinox-gentoo@diac24.net> * sysdeps/arm/eabi/setjmp.S: Change PIC to SHARED. * sysdeps/arm/eabi/__longjmp.S: Likewise
* Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"David Holsgrove2014-02-062-9/+0
| | | | | | | | | | | This reverts commit 79b846ecc0275ceb02b5e2d3b03a34d7c43e6bf9. Conflicts: NEWS ports/ChangeLog.microblaze Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* microblaze: Update libm-test-ulpsDavid Holsgrove2014-02-053-3390/+4095
| | | | | | | | | | | | | | Update libm-test-ulps for microblaze, and remove unneeded copy libm-test-ulps_new. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/microblaze/libm-test-ulps: Update. * sysdeps/microblaze/libm-test-ulps_new: Deleted redundant file. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* microblaze BZ #15705: Define MMAP2_PAGE_SHIFTDavid Holsgrove2014-02-052-0/+9
| | | | | | | | | | | | | Define MMAP2_PAGE_SHIFT to -1 for microblaze so the correct shift for the syscall is determined dynamically using getpagesize ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/unix/sysv/linux/microblaze/mmap64.c: New file. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* microblaze: Use <fenv.h> fallback functionsDavid Holsgrove2014-02-053-50/+5
| | | | | | | | | | | | | | Delete redundant fegetround.c and fesetround.c for microblaze and use the fallback functions instead. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/microblaze/fegetround.c: Delete redundant file. * sysdeps/microblaze/fesetround.c: Likewise. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
* [hppa] Regenerate libm-test-ulps.Carlos O'Donell2014-02-032-42/+4448
| | | | Regenerate libm-test-ulps from scratch.
* [AArch64] Regenerate libm-test-ulps.Marcus Shawcroft2014-01-292-15/+4
| | | | Re-generate libm-test-ulps from scratch.
* Fix spaces before tabsSiddhesh Poyarekar2014-01-292-33/+38
|
* m68k: regenerate libm test ULPsAndreas Schwab2014-01-272-1667/+3904
|
* tile: Regenerate libm-test-ulpsChris Metcalf2014-01-242-496/+1522
|
* alpha: Update libm-test-ulpsRichard Henderson2014-01-242-1142/+9873
|
* alpha: Fix tls-macros.hRichard Henderson2014-01-242-11/+16
| | | | | | Reported to the gcc bugzilla, there was a missing dependency on $gp that let the compiler generated $gp reload be scheduled across the macros here.
* ARM: Fix clone build for ARMv4Will Newton2014-01-242-7/+7
| | | | | | | | | | | | | | | ARMv4 does not have the blx instruction, so use the BLX macro which handles abstracting this for us. Build tested for armv7, armv4t and armv4. ports/ChangeLog.arm: 2014-01-24 Will Newton <will.newton@linaro.org> [BZ #16499] * sysdeps/unix/sysv/linux/arm/clone.S: Use BLX macro instead of blx instruction directly.
* [AArch64] Fix type in abi-lp64_be-options.Marcus Shawcroft2014-01-202-1/+6
|
* [AArch64] BZ #16169 Add CFI directives to clone.STom Tromey2014-01-202-1/+12
| | | | | | [BZ #16169] Add CFI directives to the AArch64 clone.S implementation and ensure that the FP in the child is zero'd in order to comply with AAPCS.
* [AArch64] Define BE loader name.Marcus Shawcroft2014-01-206-0/+229
|
* ARM: Don't apply pointer encryption to the frame pointerWill Newton2014-01-145-11/+20
| | | | | | | | | | | | | | | | | | | | | The frame pointer register is rarely used for that purpose on ARM and applications that look at the contents of the jmp_buf may be relying on reading an unencrypted value. For example, Ruby uses the contents of jmp_buf to find the root set for garbage collection so relies on this pointer value being unencrypted. Without this patch the Ruby testsuite fails with a segmentation fault. ports/ChangeLog.arm: 2013-01-14 Will Newton <will.newton@linaro.org> * sysdeps/arm/__longjmp.S: Don't apply pointer encryption to fp register. * sysdeps/arm/setjmp.S: Likewise. * sysdeps/arm/include/bits/setjmp.h (JMP_BUF_REGLIST): Add fp to register list, remove a4. * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD): New macro.
* ARM: Disable compat mcount code when unneeded.Roland McGrath2014-01-103-6/+79
|
* Use separate libc.abilist for MIPS o32 soft float.Joseph Myers2014-01-073-0/+2268
| | | | | | | | | | | | | | | | | | | | Examining MIPS test results showed an ABI test failure that I must have missed in 2.18 testing: hard-float and soft-float o32 no longer have the same set of symbols (because of the __mips_fpu_getcw and __mips_fpu_setcw functions, present for hard-float only, used by fpu_control.h for hard-float MIPS16) and so need separate ABI test baselines (they always were ABI-incompatible - the function-calling interface is different - but previously had the same set of symbols and versions so didn't need separate baselines). Tested for hard-float and soft-float o32. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Move to .... * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: ... here. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist: New file.
* [AArch64] Fix FP_ROUNDMODE.Marcus Shawcroft2014-01-073-1/+11
| | | | [BZ #16387] Fix FP_ROUNDMODE to extract the correct bits from FPCR.
* [AArch64] Remove sqrt from libm-test-ulpsMarcus Shawcroft2014-01-072-438/+4
|
* [AArch64] Fix CFA adjustment on dynamic linker entry.Marcus Shawcroft2014-01-072-1/+6
|
* ia64: regen libm-test-ulps from scratchMike Frysinger2014-01-062-736/+30
| | | | | | | Truncate the file first so as to delete old entries and to lower ULPs for tests that have improved. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: drop large results from libm-test-ulps [BZ #16401]Mike Frysinger2014-01-062-24/+5
| | | | | | We don't want to record these test results as a good thing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: regenerate libm-test-ulpsMike Frysinger2014-01-062-28/+8432
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: add __ prefix to pt_all_user_regs/ia64_fpreg [BZ #762]Mike Frysinger2014-01-064-5/+18
| | | | | | | | | | | | This addresses a long standing collision between userspace headers and kernel headers only on ia64 systems. All other types have a __ prefix in the ptrace headers except these two. Let's finally namespace these. Verified that at least strace still builds after this change, as well as after deleting all the struct hacks it has specifically for ia64. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=762 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger2014-01-066-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: fix build failure after async tls updatesMike Frysinger2014-01-042-4/+11
| | | | | | | | | | The recent commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7 added a new local variable "offset" to tls_get_addr_tail. This conflicts with the ia64 code which also declares an offset code inline in this func. So have the ia64 code rename its local vars with a prefix that shouldn't collide with anything else in the future. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* [AArch64] Regenerate libm-test-ulps.Marcus Shawcroft2014-01-012-498/+7248
|
* [AArch64] Define ABORT_INSTRUCTION.Marcus Shawcroft2014-01-012-0/+5
|
* [AArch64] Pointer mangling support for AArch64.Venkataramanan Kumar2014-01-017-17/+106
|
* Regenerate ARM ulps.Joseph Myers2014-01-012-629/+3695
|
* Regenerate MIPS ulps.Joseph Myers2014-01-013-1692/+11649
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-011464-1464/+1464
|
* ia64: longjmp_chk: support signal stacks [BZ #16372]Mike Frysinger2013-12-305-12/+82
| | | | | | | | The sp check has to be moved up to the start of the func since it now makes a system call and that'll clobber a lot of registers. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16372 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: setjmp/longjmp: stop saving/restoring fpsr [BZ #16379]Mike Frysinger2013-12-304-12/+21
| | | | | | | | | The new tst-setjmp-fp test has been failing on IA64 because the setjmp and longjmp helpers take care of saving/restoring the fpsr register. Per the C standards, this is incorrect, so disable that logic. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16379 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: setjmp: use HIDDEN_JUMPTARGETMike Frysinger2013-12-302-3/+12
| | | | | | Rather than opencode the __GI_xxx logic, use proper hidden helpers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: syscall: add some helpful documentationMike Frysinger2013-12-292-0/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: implement futex requeue pi supportMike Frysinger2013-12-252-0/+34
| | | | | | Used the s390 code as a guideline until all tests pass. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: add lll_futex_timed_wait_bitsetMike Frysinger2013-12-252-0/+16
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: ioperm: clean up long dead codeMike Frysinger2013-12-242-19/+8
| | | | | | | | | | | This file has a few #if 0 code paths which cause a build time warning: ports/sysdeps/unix/sysv/linux/ia64/ioperm.c:66:7: warning: variable 'prot' set but not used [-Wunused-but-set-variable] Rather than add more #if 0 around that variable, just delete the code altogether. Not like it's going to ever be implemented. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: implement sotruss supportMike Frysinger2013-12-242-0/+54
| | | | | | | | | | | | | Tested with: $ cat test.c main(){close(0x1024, 2, 3);} $ gcc test.c $ sotruss -e ./a.out a.out -> libc.so.6.1 : __libc_start_main(0x4000000000000950, 0x1, 0x60000fffffb56bc8) a.out -> libc.so.6.1 : close(0x1024, 0x2, 0x3) a.out -> libc.so.6.1 : close - 0xffffffffffffffff Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: link.h: adjust whitespaceMike Frysinger2013-12-242-10/+14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* [AArch64] Save and restore q0-q7 on entry to dynamic linker.Marcus Shawcroft2013-12-182-4/+30
| | | | | [BZ #15128] Ensure all argument passing registers are saved and restored on entry to dynamic linker.
* [AArch64] Implement FUTEX_*_REQUEUE_PIMarcus Shawcroft2013-12-172-0/+40
|