Fix sigsetjmp(). It helps if we do not try to save the old signal mask

to a random memory location.  Perl works a lot better with this.
This commit is contained in:
peter 2003-06-02 21:59:13 +00:00
parent 54294f1739
commit 58b9cc83ad

View File

@ -62,6 +62,7 @@ ENTRY(sigsetjmp)
testl %esi,%esi
jz 2f
pushq %rdi
movq %rdi,%rcx
movq $1,%rdi /* SIG_BLOCK */
movq $0,%rsi /* (sigset_t*)set */
leaq 72(%rcx),%rdx /* (sigset_t*)oset */