aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix
AgeCommit message (Collapse)Author
2013-02-19Add FUTEX_*_REQUEUE_PI support for MIPS.Joseph Myers
2013-02-18Add FUTEX_*_REQUEUE_PI support for ARM.Joseph Myers
2013-02-18Add __cxa_thread_atexit_impl to aarch64 abilistSiddhesh Poyarekar
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar
This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
2013-02-14hppa: Remove unused lll_unlock_wake_cb.Carlos O'Donell
There hasn't been a use for lll_unlock_wake_cb since it was removed globally in 2007-05-29. This patch removes the function from hppa's lowlevellock.[ch] implementation.
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers
2013-02-11Add CFI information for MIPS assembly sources.Joseph Myers
2013-02-08m68k: update kernel-features.hAndreas Schwab
2013-02-08Remove CHECK_N and bp-checks.h.Joseph Myers
2013-02-08ARM: Support loading unmarked objects from cache.Carlos O'Donell
ARM now supports loading unmarked objects from the dynamic loader cache. Unmarked objects can be used with the hard-float or soft-float ABI. We must support loading unmarked objects during the transition period from a binutils that does not mark objects to one that does mark them with the correct ELF flags. Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers
2013-02-05MIPS: Correct formatting of syscall wrapper `asm' specifiers.Maciej W. Rozycki
2013-02-05MIPS: Respect the legacy syscall restart convention.Maciej W. Rozycki
That convention requires the instruction immediately preceding SYSCALL to initialize $v0 with the syscall number. Then if a restart triggers, $v0 will have been clobbered by the syscall interrupted, and needs to be reinititalized. The kernel will decrement the PC by 4 before switching back to the user mode so that $v0 has been reloaded before SYSCALL is executed again. This implies the place $v0 is loaded from must be preserved across a syscall, e.g. an immediate, static register, stack slot, etc. The restriction was lifted with Linux 2.6.36 kernel release and no special requirements are placed around the SYSCALL instruction anymore, however we still support older kernel binaries.
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers
2013-01-31Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers
2013-01-31Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers
2013-01-29MIPS: Correct NewABI syscall wrapper whitespace damage.Maciej W. Rozycki
2013-01-19Add not-cancel.h for m68k/nptlAndreas Schwab
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers
2013-01-10tilegx: fix ldd to work with both tilegx64 and tilegx32Chris Metcalf
This uses the same ldd-rewrite.sed hook as other platforms, with the minor tweak that tilegx uses /lib (64-bit) and /lib32 (32-bit).
2013-01-08BZ#14985: Remove erroneous EPOLL_NONBLOCKAndreas Jaeger
[BZ# 14985] * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): Remove. * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. ChangeLog.mips: [BZ# 14985] * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): * Remove. ChangeLog.hppa: [BZ# 14985] * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK): Remove. ChangeLog.alpha: [BZ# 14985] * sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK): Remove.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-02alpha: Add lll_futex_timed_wait_bitsetRichard Henderson
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2012-12-28tile: support lll_futex_timed_wait_bitsetChris Metcalf
2012-12-21tile: fix DWARF bug in clone() for created threadChris Metcalf
Previously, we would see a bad frame in the gdb backtrace output, e.g.: (gdb) bt #0 foo () at foo.c:5 #1 0x000000aaaab68ee8 in start_thread () from /lib/libpthread.so.0 #2 0x000000aaaad01c88 in clone () from /lib/libc.so.6 #3 0x0000000000000000 in ?? () With this change the bogus frame #3 is gone and we have the same output as x86 does for the same program.
2012-12-10aarch64: Fix compiler warning for unused declaration _x0Marcus Shawcroft
2012-12-07aarch64: Resolve sc_err and _x0 defined but not used warnings.Marcus Shawcroft
2012-12-07aarch64: Resolve implict cast warning.Marcus Shawcroft
2012-12-04aarch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6Marcus Shawcroft
* sysdeps/unix/sysv/linux/aarch64/ldconfig.h: Add entries for /lib/ld-linux.so.3 and /lib/ld-linux-armhf.so.3. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-12-04aarch64: Tag ARM and AArch64 binaries in the ldconfig cacheMarcus Shawcroft
Add the correct tags for ARM and AArch64 libraries in the ldconfig cache for AArch64. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-12-04arm: Check for the FLAG_ARM_LIBHF flag in the ldconfig cacheMarcus Shawcroft
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-12-04arm: Tag ARM libc6-dependent binaries with FLAG_ELF_LIBC6Marcus Shawcroft
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-12-04arm: Tag ARM and AArch64 binaries in the ldconfig cache.Marcus Shawcroft
Add the correct tags for ARM and AArch64 libraries in the ldconfig cache for ARM. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
2012-11-29ia64: clock_getcpuclockid.c: drop unused fileMike Frysinger
Since we no longer support __ASSUME_POSIX_CPU_TIMERS, the ia64 code no longer needs to override HAS_CPUCLOCK in the common file. Drop the ia64 shim as well. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-29Add 64-bit support to MIPS register-dump.h (bug 14893).Joseph Myers
2012-11-29hppa: Remove socket.h and implement socket_type.h.Carlos O'Donell
2012-11-29hppa: Cleanup two build warnings for integer to pointers casts.Carlos O'Donell
2012-11-29aarch64: Use FLAG_AARCH64_LIB64 ldconfig cache tag.Marcus Shawcroft
Use the new FLAG_AARCH64_LIB64 ldconfig cache tag for AArch64, similarly to the way tags are handled for other architectures. Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org> Reviewed-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Marcus Shawcroft <marcus.shawcroft@linaro.org>
2012-11-22Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).Joseph Myers
2012-11-21m68k: fix return value of lll_futex_timed_wait_bitsetAndreas Schwab
2012-11-21Avoid $(shell) in determining default ARM ABI.Joseph Myers
2012-11-21aarch64: Fix lll_futex_timed_wait_bitset return value sign.Marcus Shawcroft
The implementation of lll_futex_timed_wait_bitset should not be negating the futex syscall return value on error.
2012-11-20Use parentheses around MIPS syscall macro arguments.Joseph Myers
2012-11-20Fix int-to-pointer-cast warnings for MIPS.Joseph Myers
2012-11-19Fix unused variable warnings from MIPS syscall macros.Joseph Myers
2012-11-19hppa: Mark __pthread_once as a hidden def.Carlos O'Donell
2012-11-19hppa: Add ____longjmp_check C implementation.Carlos O'Donell
2012-11-18m68k: fix cancellable syscall with 5 or 6 argumentsAndreas Schwab
2012-11-18m68k: define lll_futex_timed_wait_bitsetAndreas Schwab