From 3db167c4d2f526983a78b553002560a43846cf3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 5 Oct 2004 13:15:41 +0000 Subject: [PATCH] %ebp was not saved which resulted in a crash on longjmp(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9196 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/arch/x86/sigsetjmp.S | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kernel/libroot/posix/arch/x86/sigsetjmp.S b/src/kernel/libroot/posix/arch/x86/sigsetjmp.S index 9aa91c9e9d..fa8cd4ae4f 100644 --- a/src/kernel/libroot/posix/arch/x86/sigsetjmp.S +++ b/src/kernel/libroot/posix/arch/x86/sigsetjmp.S @@ -25,6 +25,7 @@ FUNCTION(sigsetjmp): mov %ebx, JMP_REGS_EBX(%eax) mov %esi, JMP_REGS_ESI(%eax) mov %edi, JMP_REGS_EDI(%eax) + mov %ebp, JMP_REGS_EBP(%eax) // save stack and return address (because that's where we intend to jump to) lea 4(%esp,1), %ecx