From: Baruch Siach Date: Thu, 12 Sep 2013 09:32:53 +0000 (+0300) Subject: xtensa: fix layout of struct sigcontext to match the kernel X-Git-Url: http://git.osdn.net/view?p=uclinux-h8%2FuClibc.git;a=commitdiff_plain;h=caee5620633acbf1b620d9704a5a372358adba32 xtensa: fix layout of struct sigcontext to match the kernel Current code breaks libgcc unwind. Signed-off-by: Baruch Siach Signed-off-by: Chris Zankel --- diff --git a/libc/sysdeps/linux/xtensa/bits/sigcontext.h b/libc/sysdeps/linux/xtensa/bits/sigcontext.h index 409f06178..c0af295f9 100644 --- a/libc/sysdeps/linux/xtensa/bits/sigcontext.h +++ b/libc/sysdeps/linux/xtensa/bits/sigcontext.h @@ -32,8 +32,8 @@ struct sigcontext unsigned long sc_sar; unsigned long sc_acclo; unsigned long sc_acchi; - void *sc_xtregs; unsigned long sc_a[16]; + void *sc_xtregs; }; #endif /* _BITS_SIGCONTEXT_H */