aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/arm/sysdep.h
AgeCommit message (Collapse)AuthorFilesLines
2014-02-08Move arm from ports to libc.Joseph Myers1-288/+0
I've moved the ARM port from ports to the main sysdeps hierarchy. Beyond the README update, the move of the files was simply git mv ports/sysdeps/arm sysdeps/arm git mv ports/sysdeps/unix/arm sysdeps/unix/arm git mv ports/sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux/arm and in addition to the ChangeLog entries here, I put a note at the top of ports/ChangeLog.arm similar to that at the top of ChangeLog.powerpc. There is deliberately no NEWS change, as I think it makes the most sense to put in a general note above all ports having moved if we can achieve that for 2.20. Tested that disassembly of installed shared libraries for arm is the same before and after this patch, except for data (not instructions) in ld.so (there are assertions in sysdeps/arm/dl-machine.h, and the path by which that file is found, and so by which it appears in the assertion message, changes as a result of the move). * sysdeps/arm: Move directory from ports/sysdeps/arm. * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. * sysdeps/unix/sysv/linux/arm: Move directory from ports/sysdeps/unix/sysv/linux/arm. * README: Update listing for arm-*-linux-gnueabi. ports/ChangeLog.arm: * sysdeps/arm: Move directory to ../sysdeps/arm. * sysdeps/unix/arm: Move directory to ../sysdeps.arm. * sysdeps/unix/sysv/linux/arm: Move directory to ../sysdeps/unix/sysv/linux/arm.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-10-03ARM: Add pointer encryption support.Will Newton1-0/+12
Add support for pointer encryption in glibc internal structures in C and assembler code. Pointer encryption is a glibc security feature described here: https://sourceware.org/glibc/wiki/PointerEncryption The ARM implementation uses global variables instead of thread pointer relative accesses to get the value of the pointer encryption guard because accessing the thread pointer can be very expensive on older ARM cores. ports/ChangeLog.arm: 2013-10-03 Will Newton <will.newton@linaro.org> * sysdeps/arm/__longjmp.S (__longjmp): Demangle fp, sp and lr when restoring register values. * sysdeps/arm/include/bits/setjmp.h (JMP_BUF_REGLIST): Remove sp and lr from list and replace fp with a4. * sysdeps/arm/jmpbuf-unwind.h (_jmpbuf_sp): New function. (_JMPBUF_UNWINDS_ADJ): Call _jmpbuf_sp. * sysdeps/arm/setjmp.S (__sigsetjmp): Mangle fp, sp and lr before storing register values. * sysdeps/arm/sysdep.h (LDST_GLOBAL): New macro. * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE): New macro. (PTR_DEMANGLE): Likewise. (PTR_MANGLE2): Likewise. (PTR_DEMANGLE2): Likewise.
2013-04-19ARM: Macroize assembly use of EABI unwind directives.Roland McGrath1-0/+9
2013-03-15ARM: sfi_sp assembler macroRoland McGrath1-0/+5
2013-03-15ARM: sfi_breg assembler macroRoland McGrath1-0/+42
2013-03-06arm: Implement hard-tp for GET_TLSRichard Henderson1-3/+11
2013-03-06arm: Tidy architecture selectionRichard Henderson1-7/+37
2013-03-06arm: Commonize BX conditionalsRichard Henderson1-16/+13
Add BLX macro in addition and use it where appropriate.
2013-03-06arm: Delete LOADREGS macroRichard Henderson1-4/+0
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.
2013-03-06arm: Use push/pop mnemonicsRichard Henderson1-3/+3
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.
2013-03-06arm: Enable thumb2 mode in assembly filesRichard Henderson1-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.
2013-03-06arm: Introduce and use GET_TLSRichard Henderson1-0/+19
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.
2013-03-06arm: Introduce and use NEGOFF series of macrosRichard Henderson1-0/+16
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.
2013-03-06arm: Introduce and use LDST_PCRELRichard Henderson1-0/+17
Macro-ising the few instances where we need to distinguish between arm and thumb pc-relative memory operations.
2013-02-28arm: Introduce and use PC_OFSRichard Henderson1-0/+8
Scour the source for raw "-8" adjustments that are related to the offset created by reading the pc.
2013-02-28arm: Tidy whitespace in sysdep.h filesRichard Henderson1-29/+29
2013-02-27ARM: Macroize use of .cfi_sections directive.Roland McGrath1-1/+4
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-2/+1
2012-08-02Remove ASM_TYPE_DIRECTIVE for ARM.Joseph Myers1-3/+1
2012-07-10Change ASM_GLOBAL_DIRECTIVE to .globl for ARM.Joseph Myers1-1/+1
2012-07-01Move all files into ports/ subdirectory in preparation for merge with glibcglibc-2.16-ports-before-mergeJoseph Myers1-0/+120