OSDN Git Service

xtensa: fix layout of struct sigcontext to match the kernel
authorBaruch Siach <baruch@tkos.co.il>
Thu, 12 Sep 2013 09:32:53 +0000 (12:32 +0300)
committerChris Zankel <chris@zankel.net>
Mon, 4 Nov 2013 23:01:11 +0000 (15:01 -0800)
Current code breaks libgcc unwind.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Chris Zankel <chris@zankel.net>
libc/sysdeps/linux/xtensa/bits/sigcontext.h

index 409f061..c0af295 100644 (file)
@@ -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 */