Explorar el Código

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 hace 10 años
padre
commit
caee562063
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 */