summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/bits/sigcontext.h
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-09-12 12:32:53 +0300
committerChris Zankel <chris@zankel.net>2013-11-04 15:01:11 -0800
commitcaee5620633acbf1b620d9704a5a372358adba32 (patch)
treefc102418bfdfb1fdaf1235edfffdcd6a1246e4d9 /libc/sysdeps/linux/xtensa/bits/sigcontext.h
parentc533aca08e29d4f659ca0ac011e5162b483dc6a9 (diff)
xtensa: fix layout of struct sigcontext to match the kernel
Current code breaks libgcc unwind. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'libc/sysdeps/linux/xtensa/bits/sigcontext.h')
-rw-r--r--libc/sysdeps/linux/xtensa/bits/sigcontext.h2
1 files changed, 1 insertions, 1 deletions
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 */