diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2010-11-10 19:23:45 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-10 19:44:36 +0100 |
commit | 4dc998596f0ed8c9f1da6dc57a5640e3928cc12b (patch) | |
tree | 0909ba492763f96a9cbf0e840dc1a6bc7b5df221 /libc/sysdeps/linux/microblaze/bits | |
parent | ffc5c7769dff075629e27a351b5c403e50a9f57d (diff) |
microblaze: Fix setjmp/longjmp
Some state and registers are missing from setjmp/longjmp handling.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/microblaze/bits')
-rw-r--r-- | libc/sysdeps/linux/microblaze/bits/setjmp.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/microblaze/bits/setjmp.h b/libc/sysdeps/linux/microblaze/bits/setjmp.h index d966efd2b..0c0573cd7 100644 --- a/libc/sysdeps/linux/microblaze/bits/setjmp.h +++ b/libc/sysdeps/linux/microblaze/bits/setjmp.h @@ -28,12 +28,16 @@ typedef struct /* Link pointer. */ void *__lp; - /* Callee-saved registers r18-r30. */ - int __regs[13]; + /* SDA pointers */ + void *__SDA; + void *__SDA2; + + /* Callee-saved registers r18-r31. */ + int __regs[14]; } __jmp_buf[1]; #endif -#define JB_SIZE (4 * 15) +#define JB_SIZE (4 * 18) /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */ |