This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
musl
mirror of
git://git.musl-libc.org/musl
Watch
1
Star
0
Fork
You've already forked musl
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
9a470b0a6e
musl
/
arch
/
x86_64
/
bits
/
setjmp.h
2 lines
34 B
C
Raw
Normal View
History
Unescape
Escape
jmp_buf overhaul fixing several issues on arm, the location of the saved-signal-mask flag and mask were off by one between sigsetjmp and siglongjmp, causing incorrect behavior restoring the signal mask. this is because the siglongjmp code assumed an extra slot was in the non-sig jmp_buf for the flag, but arm did not have this. now, the extra slot is removed for all archs since it was useless. also, arm eabi requires jmp_buf to have 8-byte alignment. we achieve that using long long as the type rather than with non-portable gcc attribute tags.
2012-07-04 00:07:33 +00:00
typedef
unsigned
long
jmp_buf
[
8
]
;