about summary refs log tree commit diff
path: root/ports/sysdeps/unix/sysv
Commit message (Collapse)AuthorAgeFilesLines
* aarch64: use lib64 as default lib and slib directoryAndreas Schwab2013-03-142-0/+25
|
* ia64: fix set-but-unused warnings with syscallsMike Frysinger2013-03-121-2/+5
| | | | | | | | | | | These macros often set up a variable that later macros sometimes do not use. Add unused attribute to avoid that. Similarly, the ia64 code tends to check the err field rather than the val (which is opposite of most arches) leading to the same kind of warning. Replace this with a dummy reference. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: fix strict aliasing warnings with func descriptorsMike Frysinger2013-03-121-10/+6
| | | | | | | | | | | Function pointers on ia64 are like parisc -- they're plabels. While the parisc port enjoys a gcc builtin for extracting the address here, ia64 has no such luck. Casting & dereferencing in one go triggers a strict aliasing warning. Use a union to fix that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add comments about ARM configure -fno-unwind-tables handling.Joseph Myers2013-03-112-0/+2
|
* AM33: Use <bits/mman.h>Andreas Jaeger2013-03-111-61/+2
|
* Use <bits/mman.h> on ia64Andreas Jaeger2013-03-111-74/+2
|
* Remove extra pthread_atfork compat symbolsAndreas Schwab2013-03-116-6/+0
|
* ia64: makecontext: fix signed warningsMike Frysinger2013-03-101-2/+2
| | | | | | | | The ia64_rse_is_rnat_slot func expects an unsigned pointer, but we're passing in a signed pointer. The signness doesn't matter here, so convert it to unsigned. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: fix NEED_DL_SYSINFO_DSO conditionalsMike Frysinger2013-03-101-23/+4
| | | | | | | The recent change to clean up these defines missed the ia64 logic. Update it accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* AARCH64: Use <bits/mman-linux.h>Andreas Jaeger2013-03-071-73/+3
| | | | | * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>.
* Use <bits/mman-linux.h> for MIPSAndreas Jaeger2013-03-061-72/+5
| | | | | | | | | * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow definition via __MAP_ANONYMOUS. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. (__MAP_ANONYMOUS): Define.
* arm: Implement hard-tp for GET_TLSRichard Henderson2013-03-062-8/+13
|
* arm: Use push/pop mnemonicsRichard Henderson2013-03-0610-49/+48
| | | | | | For arm this makes no difference--the result is bit-for-bit identical; for thumb this results in smaller encodings. Perhaps it ought not and this is in fact an assembler bug, but I also think it's clearer.
* arm: Introduce and use GET_TLSRichard Henderson2013-03-066-22/+40
| | | | | | Factor out the sequence needed to call kuser_get_tls, as we can't play subtract into pc games in thumb mode. Prepare for hard-tp, pulling the save of LR into the macro.
* arm: Introduce and use NEGOFF series of macrosRichard Henderson2013-03-064-14/+19
| | | | | | | | | There are several places in which we access negative offsets from the thread-pointer, but thumb2 only supports positive offsets in memory references. Avoid duplicating the rather large macros in which these references are embedded by abstracting out the operation.
* arm: Introduce and use LDST_PCRELRichard Henderson2013-03-062-14/+6
| | | | | Macro-ising the few instances where we need to distinguish between arm and thumb pc-relative memory operations.
* Sync with Linux 3.8Andreas Jaeger2013-03-067-2/+14
|
* Use <bits/mman-linux.h> on M68kAndreas Jaeger2013-03-061-74/+2
|
* Use <bits/mman-linux.h> on ARMAndreas Jaeger2013-03-061-74/+2
|
* Use bits/mman-linux.h for TILEAndreas Jaeger2013-03-051-74/+2
| | | | | * sysdeps/unix/sysv/linux/tile/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>.
* tile: Add priority inheritance futex supportChris Metcalf2013-02-281-0/+28
|
* Remove bounded-pointers relics from am33 code.Joseph Myers2013-02-281-4/+3
|
* arm: Mark assembly files that will not use thumb modeRichard Henderson2013-02-282-0/+4
| | | | | | | | | Some routines are written with complex LDM/STM insns that cannot be used in thumb mode, or are highly conditional requiring excessive IT insns. When a future patch goes in to enable thumb2 by default, this marker will be used to override that default.
* arm: Add IT insns for thumb modeRichard Henderson2013-02-286-2/+12
| | | | | These are ignored by the assembler in ARM mode, so by default this has no effect on generated code.
* arm: Introduce and use PC_OFSRichard Henderson2013-02-286-14/+12
| | | | | Scour the source for raw "-8" adjustments that are related to the offset created by reading the pc.
* arm: Tidy whitespace in sysdep.h filesRichard Henderson2013-02-282-249/+245
|
* arm: Include libc-do-syscall in sysdep-rtld-routinesRichard Henderson2013-02-281-1/+1
| | | | When compiling with -mthumb, ld.so itself also needs __libc_do_syscall.
* ARM: Macroize use of .cfi_sections directive.Roland McGrath2013-02-271-1/+1
|
* Add support for building as MIPS16 code.Maciej W. Rozycki2013-02-2721-14/+408
|
* Add FUTEX_*_REQUEUE_PI support for Alpha.Richard Henderson2013-02-201-0/+25
|
* Properly sort a libc.abilist file.Thomas Schwinge2013-02-201-11/+11
| | | | Inconsistency introduced in commit 84b3fd8407cc9a2e7f487b6247681bd8a78a4560.
* Add FUTEX_*_REQUEUE_PI support for MIPS.Joseph Myers2013-02-191-0/+30
|
* Add FUTEX_*_REQUEUE_PI support for ARM.Joseph Myers2013-02-181-0/+28
|
* Add __cxa_thread_atexit_impl to aarch64 abilistSiddhesh Poyarekar2013-02-181-0/+3
|
* C++11 thread_local destructors supportSiddhesh Poyarekar2013-02-1812-0/+36
| | | | | | | | | | | 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.
* hppa: Remove unused lll_unlock_wake_cb.Carlos O'Donell2013-02-142-14/+0
| | | | | | 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.
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-139-14/+14
|
* Add CFI information for MIPS assembly sources.Joseph Myers2013-02-1110-21/+55
|
* m68k: update kernel-features.hAndreas Schwab2013-02-081-0/+20
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-0811-40/+25
|
* ARM: Support loading unmarked objects from cache.Carlos O'Donell2013-02-082-2/+13
| | | | | | | | | | | | 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>
* Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2013-02-087-17/+7
|
* MIPS: Correct formatting of syscall wrapper `asm' specifiers.Maciej W. Rozycki2013-02-053-120/+120
|
* MIPS: Respect the legacy syscall restart convention.Maciej W. Rozycki2013-02-053-87/+234
| | | | | | | | | | | | | | | 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.
* Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2013-02-046-15/+7
|
* Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers2013-01-312-5/+2
|
* Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers2013-01-312-9/+2
|
* MIPS: Correct NewABI syscall wrapper whitespace damage.Maciej W. Rozycki2013-01-292-164/+164
|
* Add not-cancel.h for m68k/nptlAndreas Schwab2013-01-192-0/+2
|
* Use __extension__ with long long in installed headers.Joseph Myers2013-01-102-18/+18
|