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 Wemm 2003-06-02 21:59:13 +00:00
parent babc58fd74
commit b8f8813c6e

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 */