From caee5620633acbf1b620d9704a5a372358adba32 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 12 Sep 2013 12:32:53 +0300 Subject: 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 --- libc/sysdeps/linux/xtensa/bits/sigcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/xtensa') 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 */ -- cgit v1.2.3