about summary refs log tree commit diff
path: root/ports/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 libm errorMike Frysinger2013-03-121-58/+57
| | | | | | | | The current code declares double constants by using a char buffer and then casting the pointer to a different type. This makes the aliasing logic unhappy. Change it to use a union instead to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ia64: fix strict aliasing warnings with func descriptorsMike Frysinger2013-03-124-13/+22
| | | | | | | | | | | 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-114-0/+12
|
* ARM: Consolidate setjmp details in include/bits/setjmp.h file.Roland McGrath2013-03-115-10/+20
|
* ARM: Convert string/ assembly to unified syntax.Roland McGrath2013-03-114-40/+48
|
* ARM: Use r10 instead of r9.Roland McGrath2013-03-112-18/+18
|
* AM33: Use <bits/mman.h>Andreas Jaeger2013-03-111-61/+2
|
* Use <bits/mman.h> on ia64Andreas Jaeger2013-03-111-74/+2
|
* Clean up ARM preconfigure.Roland McGrath2013-03-112-46/+104
|
* 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>
* arm: Implement armv6 optimized string routinesRichard Henderson2013-03-077-0/+697
| | | | | | | | The strcpy and strchr (and related) functions are four times faster than the byte-by-byte default versions. The strlen function is twice as fast for long strings and 50% faster for short strings over the armv4 version.
* 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: Add optimized add_n and sub_nRichard Henderson2013-03-062-0/+86
| | | | | | | | Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 250% faster than the generic code as measured on Cortex-A15, and the same speed as GMP on the same core, and probably everywhere.
* arm: Add optimized submul_1Richard Henderson2013-03-061-0/+68
| | | | | | | | Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 50% faster than the generic code as measured on Cortex-A15. It is 25% slower than the current GMP routine on the same core.
* arm: Add optimized addmul_1Richard Henderson2013-03-061-0/+67
| | | | | | | | | Written from scratch rather than copied from GMP, due to LGPL 2.1 vs GPL 3, but tested with the GMP testsuite. This is 25% faster than the generic code as measured on Cortex-A15, and the same speed as GMP on the same core. It's probably slower than GMP on the A8 and A9 cores though.
* arm: Add optimized ffs for armv6t2Richard Henderson2013-03-062-0/+85
|
* arm: Implement hard-tp for GET_TLSRichard Henderson2013-03-063-11/+24
|
* arm: Tidy architecture selectionRichard Henderson2013-03-062-8/+38
|
* arm: Unless arm4t, pop return address directly into pcRichard Henderson2013-03-062-5/+10
|
* arm: Commonize BX conditionalsRichard Henderson2013-03-063-30/+14
| | | | Add BLX macro in addition and use it where appropriate.
* arm: Delete LOADREGS macroRichard Henderson2013-03-062-5/+1
| | | | | | There was only one user. It's "condition" argument was used for "ia" rather than an actual condition. The apcs26 syntax is almost certainly not needed, given current binutils requirements.
* arm: Use push/pop mnemonicsRichard Henderson2013-03-0619-134/+133
| | | | | | 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: Enable thumb2 mode in assembly filesRichard Henderson2013-03-061-2/+11
| | | | | | The preceeding patches have allowed for the few incompatibilities between arm and thumb2 mode, or have marked the file as not wanting to use thumb2 mode.
* arm: Introduce and use GET_TLSRichard Henderson2013-03-069-42/+64
| | | | | | 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-065-14/+35
| | | | | | | | | 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-064-24/+35
| | | | | 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-282-9/+6
|
* Remove powerpc32 bounded-pointers code.Joseph Myers2013-02-288-32/+16
|
* arm: Mark assembly files that will not use thumb modeRichard Henderson2013-02-2811-0/+22
| | | | | | | | | 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-289-11/+18
| | | | | 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-2810-20/+26
| | | | | 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-283-278/+274
|
* 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: Handle armv6 in preconfigureRichard Henderson2013-02-281-1/+4
|
* arm: Update preconfigure fragment for gcc 4.8Richard Henderson2013-02-281-1/+1
| | | | | | | | | | | New defines from gcc 4.8: #define __ARM_ARCH_ISA_ARM 1 #define __ARM_ARCH_PROFILE 65 #define __ARM_ARCH_ISA_THUMB 2 #define __ARM_ARCH 7 all of which got in the way of the one we wanted: #define __ARM_ARCH_7A__ 1
* ARM: Macroize use of .cfi_sections directive.Roland McGrath2013-02-274-5/+8
|
* Add support for building as MIPS16 code.Maciej W. Rozycki2013-02-2761-47/+935
|
* 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.
* Respect the user's namespace in installed header files.Thomas Schwinge2013-02-201-1/+1
| | | | Fixup for commit c7b275d6b3bceb6b400fa3044d13d1001bc605ca.
* Properly sort a libc.abilist file.Thomas Schwinge2013-02-201-11/+11
| | | | Inconsistency introduced in commit 84b3fd8407cc9a2e7f487b6247681bd8a78a4560.