about summary refs log tree commit diff
path: root/ports/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* hppa: Add cfi direcvtives.Carlos O'Donell2012-10-291-1/+12
| | | | We add cfi directives to the syscall assembly.
* hppa: Fix r19 save and restore.Carlos O'Donell2012-10-291-22/+18
| | | | | | | | | We must save and restore r19 in both PIC and non-PIC situations since the kernel paths that clobber r19 are independent of that PIC-ness of userspace. In addition we choose r4 as the temporary register over r3 which is being used by recent gcc's as the frame pointer.
* hppa: Optimize syscall sequence.Carlos O'Donell2012-10-291-10/+4
| | | | | We remove an extraneous nop from the syscall sequence. No DO_CALL* may end in an instruction with a delay slot.
* Fix trailing whitespace.Carlos O'Donell2012-10-291-10/+9
|
* 2012-10-29 Steve Ellcey <sellcey@mips.com>Steve Ellcey2012-10-293-8/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make. (abi-variants): Add hard and soft float versions. (abi-o32-options): Remove. (abi-o32-condition): Remove. (abi-n32-options): Remove. (abi-n32-condition): Remove. (abi-n64-options): Remove. (abi-n64-condition): Remove. (abi-o32_soft-options): New. (abi-o32_soft-condition): New. (abi-o32_hard-options): New. (abi-o32_hard-condition): New. (abi-n32_soft-options): New. (abi-n32_soft-condition): New. (abi-n32_hard-options): New. (abi-n32_hard-condition): New. (abi-n64_soft-options): New. (abi-n64_soft-condition): New. (abi-n64_hard-options): New. (abi-n64_hard-condition): New.
* 2012-10-29 Steve Ellcey <sellcey@mips.com>Steve Ellcey2012-10-293-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove. * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make. (abi-variants): Add hard and soft float versions. (abi-o32-options): Remove. (abi-o32-condition): Remove. (abi-n32-options): Remove. (abi-n32-condition): Remove. (abi-n64-options): Remove. (abi-n64-condition): Remove. (abi-o32_soft-options): New. (abi-o32_soft-condition): New. (abi-o32_hard-options): New. (abi-o32_hard-condition): New. (abi-n32_soft-options): New. (abi-n32_soft-condition): New. (abi-n32_hard-options): New. (abi-n32_hard-condition): New. (abi-n64_soft-options): New. (abi-n64_soft-condition): New. (abi-n64_hard-options): New. (abi-n64_hard-condition): New.
* tile: add vDSO support for gettimeofday()Chris Metcalf2012-10-294-0/+106
|
* Remove redundant defines of __O_LARGEFILEAndreas Jaeger2012-10-271-2/+0
| | | | | | | | | | | * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE) [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): [__WORDSIZE != 64]: Likewise. * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE) [__WORDSIZE != 64]: Do not define, take value from <bits/fcntl-linux.h>.
* HPPA: Use <bits/fcntl-linux.h>Andreas Jaeger2012-10-261-255/+18
| | | | | | | * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>. (__O_PATH): Define.
* Convert ia64, linux-generic, m68k <bits/fcntl.h> to use <bits/fcntl-linux.h>Andreas Jaeger2012-10-253-829/+16
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>. * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-2412-4/+59
|
* Convert MIPS to use <bits/fcntl-linux.h>Andreas Jaeger2012-10-241-250/+20
| | | | | | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* Don't set resource limits in tst-oddstacklimit-ENV.Joseph Myers2012-10-242-7/+27
|
* Always define __O_LARGEFILEAndreas Jaeger2012-10-221-4/+1
|
* ARM: Use <bits/fcntl-linux.h>Andreas Jaeger2012-10-221-271/+7
| | | | | | * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* tilegx: add optimized sched_getcpu() using TILE_COORD SPRChris Metcalf2012-10-121-0/+87
| | | | | | We can discover our x,y coordinate in the core mesh with an mfspr instruction, multiply y by the core mesh width, and have the core number without needing to ask the kernel.
* hppa: Update pthread.hCarlos O'Donell2012-10-101-7/+15
| | | | | | | Updates the hppa-specific pthread.h from the generic version. After this update the only difference between the generic version and the hppa version is the footer protected by the _PTHREAD_H_HPPA_ guard.
* hppa: Remove pt-initfini.cCarlos O'Donell2012-10-101-108/+0
| | | | Rmoves the unused pt-initfini.c
* hppa: Restore nptl/shlib-versions.Carlos O'Donell2012-10-101-0/+1
| | | | | On 2012-01-07 the nptl/shlib-versions file removed the hppa entry. This restores that entry in the hppa ports tree.
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-095-267/+1
|
* Clean up R_ARM_PC24 handling.Roland McGrath2012-10-051-69/+51
|
* 2012-10-03 Steve Ellcey <sellcey@mips.com>Steve Ellcey2012-10-034-0/+4
| | | | | | | | | * sysdeps/mips/ieee754.h: Move to... * sysdeps/mips/ieee754/ieee754.h: Here. * sysdeps/mips/mips32/Implies: Add mips/ieee754. * sysdeps/mips/mips64/Implies: Ditto. * sysdeps/mips/mips64/n32/Implies: Ditto. * sysdeps/mips/mips64/n64/Implies: Ditto.
* 2012-10-03 Steve Ellcey <sellcey@mips.com>Steve Ellcey2012-10-031-0/+0
| | | | | | | | | * sysdeps/mips/ieee754.h: Move to... * sysdeps/mips/ieee754/ieee754.h: Here. * sysdeps/mips/mips32/Implies: Add mips/ieee754. * sysdeps/mips/mips64/Implies: Ditto. * sysdeps/mips/mips64/n32/Implies: Ditto. * sysdeps/mips/mips64/n64/Implies: Ditto.
* Fix clone flag name in comment to CLONE_CHILD_CLEARTID.Siddhesh Poyarekar2012-10-027-7/+7
|
* Get rid of unused __swblk_t type.Roland McGrath2012-10-012-2/+0
|
* Clean up init-first.c files.Roland McGrath2012-10-012-67/+3
|
* Remove mips VERSYMIDX macro definitionH.J. Lu2012-09-281-2/+0
|
* Remove arm ADDRIDX macro definitionH.J. Lu2012-09-281-6/+0
|
* alpha: Fix all users of SYSCALL_ERROR_HANDLERRichard Henderson2012-09-284-76/+61
| | | | | The fix begun in 64e65bc1 was incomplete. Fixed by adding a new SYSCALL_ERROR_FALLTHRU macro.
* Add __ppc_get_timebase_freq to powerpc-nofpu ABI baseline.Joseph Myers2012-09-261-0/+1
|
* ia64: define new get-rounding-mode.h headerMike Frysinger2012-09-242-7/+40
| | | | | | | The new strtod function wants rounding information from the C lib, so move the guts of the ia64 version into a header file for it to use. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: override crtbeginT.oMike Frysinger2012-09-241-0/+2
| | | | | | | The ia64 gcc port has never shipped a crtbeginT.o, so keep using the old crtbegin.o object when static linking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tile: fix two comments that said "tile" to properly say "tilepro"Chris Metcalf2012-09-241-2/+2
|
* Correct order of arguments of __arm_assisted_compare_and_exchange_val_32_acq.Joseph Myers2012-09-211-1/+1
|
* hppa: Use __prlimit64 as the internal name.Carlos O'Donell2012-09-201-1/+1
| | | | | | | Fix a build failure by using __prlimit64 as the internal function name for the versioned symbol prlimit64. Without this patch the build system attempts to alias prlimit64 to itself and that is invalid.
* hppa: Add EHWPOISON and bump errlist-compat to 260Carlos O'Donell2012-09-202-3/+9
| | | | | | Add errno EHWPOISON and bump the errlist-compat table to 260, providing 2 padding entries for future use before bumping is again required.
* tile: update libm-test-ulps for new testsChris Metcalf2012-09-171-2/+91
|
* alpha: Streamline __setfpucwRichard Henderson2012-09-131-53/+35
| | | | | | The convert_bit macro allows the compiler to translate the bit positions more efficiently. The assumption of only running at program startup allows eliding the __ieee_get_fp_control call.
* alpha: Update localplt.dataRichard Henderson2012-09-131-0/+6
|
* alpha: Update ulpsRichard Henderson2012-09-131-4/+571
|
* alpha: Add get-rounding-mode.hRichard Henderson2012-09-131-0/+35
|
* alpha: Work around gcc 4.8 aliasing difference/bugRichard Henderson2012-09-121-7/+5
|
* Make strtod respect the rounding mode (bug 14518).Joseph Myers2012-09-122-0/+77
|
* tile: fix type of prfpregset_t in <sys/procfs.h>Chris Metcalf2012-09-061-1/+1
| | | | | | | | The previous dummy definition (as type int) was fine in general, since tile doesn't have floating-point registers, but it confused gdb's configure, leading to later compile errors. This change also makes prfpregset_t parallel to prgregset_t, which seems like generally the right thing regardless of the non-existence of the actual registers :-)
* tile: BZ#14237: fix __tls_get_addr bug initializing new modulesChris Metcalf2012-09-061-0/+2
| | | | | We were missing a check for TLS_DTV_UNALLOCATED; if set, we need to go to the slow path.
* Remove __ASSUME_STAT64_SYSCALL.Joseph Myers2012-08-275-15/+0
|
* mips: clear condition bit 23 in fpu tooGuido Guenther2012-08-271-1/+1
| | | | | | | | | | | | | | | | We've been carrying this in Gentoo for quite a long time to fix some test failures that people hit. Original message: > make[4]: *** [/glibc/glibc-package-2.3/mips-linux/obj/math/test-fpucw.out] Error 1 This test fails since the read back fpu control word is 0x80000 instead of 0x0. I wonder if this patch is correct: ... which additionally masks out the condition bit 23 - note that the other condition bits (25-31) are masked out too? URL: http://sourceware.org/ml/libc-alpha/2002-10/msg00392.html Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* alpha: add conditional fdatasync supportMike Frysinger2012-08-273-0/+71
| | | | | | | | | While most arches have had the fdatasync syscall for a long time, the alpha port didn't add it until the 2.6.22 release. This is heavily based on Aurelien Jarno's initial work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Check floating-point ABI in ARM VALID_ELF_HEADER.Steve McIntyre2012-08-231-3/+15
|
* Clean up MIPS stat64 handling.Joseph Myers2012-08-224-0/+140
|