about summary refs log tree commit diff
path: root/ports/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #15666] alpha: Add __sqrt*_finite definitionsRichard Henderson2013-06-241-0/+5
| | | | | With compatibility for ev6 and non-ev6 builds, as the non-ev6 did manage to get definitions emitted for the float and double functions.
* New API to set default thread attributesSiddhesh Poyarekar2013-06-1514-0/+54
| | | | | | | This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
* MicroBlaze: negated errors in lowlevellock.hKirk Meyer2013-06-141-4/+4
| | | | | | | | | 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>
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-082-2/+2
|
* Fix executable mode.Ondrej Bilka2013-06-061-0/+0
|
* Remove trailing whitespace in ports.Joseph Myers2013-06-0533-87/+87
|
* [AArch64] Ensure getcontext() initializes PSTATE.Marcus Shawcroft2013-06-042-0/+5
|
* Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado2013-05-224-5/+31
| | | | | | 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.
* Fix MIPS n32 cancellation in static libc (bug 15506).Joseph Myers2013-05-213-16/+78
|
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold2013-05-162-0/+4
|
* [AArch64] Fix out of range branch from ioctl() and clone()Marcus Shawcroft2013-05-122-4/+3
| | | | | | | | | | 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.
* MicroBlaze PortDavid Holsgrove2013-04-1855-0/+5254
| | | | | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-0213-0/+59
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* Use LIBC_CONFIG_VAR for MIPS default-abi setting.Joseph Myers2013-03-213-5/+3
|
* Use LIBC_CONFIG_VAR for ARM default-abi setting.Joseph Myers2013-03-201-3/+0
|
* aarch64: Move rtld link to /libAndreas Schwab2013-03-192-0/+2
|
* Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.Thomas Schwinge2013-03-151-1/+0
| | | | Follow-up to commit 664a9ce4ca40feabff781fff044c93a43ae15b59.
* 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-067-31/+43
| | | | | | 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-063-24/+18
| | | | | 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-287-4/+15
| | | | | 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-287-16/+14
| | | | | 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-2726-14/+418
|
* Add FUTEX_*_REQUEUE_PI support for Alpha.Richard Henderson2013-02-201-0/+25
|
* alpha: Include errno.h in sysdep.hRichard Henderson2013-02-201-0/+3
| | | | | Recent changes in malloc-sysdep.h exposed this error, the symptom being __set_errno was not defined early enough.
* 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
|