From 58b9cc83ad08e252efdd2bb1ef346696aaec625a Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 2 Jun 2003 21:59:13 +0000 Subject: 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. --- lib/libc/amd64/gen/sigsetjmp.S | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc') diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S index 6795307..94e1578 100644 --- a/lib/libc/amd64/gen/sigsetjmp.S +++ b/lib/libc/amd64/gen/sigsetjmp.S @@ -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 */ -- cgit v1.1