From 36b818352e14ef19f3da291761a06bfb37e06c09 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 17 Jan 2002 04:12:12 +0000 Subject: Add sbrk and friends Fix bug in setjmp (jmpbuf changed size) --- libc/sysdeps/linux/sh/setjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/sh/setjmp.S') diff --git a/libc/sysdeps/linux/sh/setjmp.S b/libc/sysdeps/linux/sh/setjmp.S index 154cef1af..c263dc918 100644 --- a/libc/sysdeps/linux/sh/setjmp.S +++ b/libc/sysdeps/linux/sh/setjmp.S @@ -30,7 +30,7 @@ ENTRY (__sigsetjmp) __sigsetjmp: */ /* Save registers */ - add #(JB_SIZE), r4 + add #(JB_SIZE-5*4), r4 /* this code doesn't do FP yet */ stc.l gbr, @-r4 sts.l pr, @-r4 mov.l r15, @-r4 -- cgit v1.2.3