summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorPhilipp Tomsich <[email protected]>2017-10-10 16:21:13 +0200
committerPhilipp Tomsich <[email protected]>2017-11-21 23:57:22 +0100
commitb4806d6f1f82f0a2d76b7206bdc5e4ba7d567b6f (patch)
tree603302f37d76a3e3a20ebfa01bfba45e6273caaf /scripts/const_structs.checkpatch
parentff143d55564373c2a5e8a128a71223f26ee2420f (diff)
arm: provide a PCS-compliant setjmp implementation
The previous setjmp-implementation (as a static inline function that contained an 'asm volatile' sequence) was extremely fragile: (some versions of) GCC optimised the set of registers. One critical example was the removal of 'r9' from the clobber list, if -ffixed-reg9 was supplied. To increase robustness and ensure PCS-compliant behaviour, the setjmp and longjmp implementation are now in assembly and closely match what one would expect to find in a libc implementation. Signed-off-by: Philipp Tomsich <[email protected]> Tested-by: Andy Yan <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions