%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
This commit is contained in:
Axel Dörfler 2004-10-05 13:15:41 +00:00
parent a4611f9d2b
commit 3db167c4d2
1 changed files with 1 additions and 0 deletions

View File

@ -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