Bläddra i källkod

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>
Baruch Siach 11 år sedan
förälder
incheckning
caee562063
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      libc/sysdeps/linux/xtensa/bits/sigcontext.h

+ 1 - 1
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 */