[PATCH] xtensa: fix layout of struct sigcontext
Baruch Siach
baruch at tkos.co.il
Thu Sep 12 11:24:06 UTC 2013
Sync with the kernel. This fixes libgcc unwind code. Found while testing the
Xtensa NPTL port.
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
libc/sysdeps/linux/xtensa/bits/sigcontext.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/sysdeps/linux/xtensa/bits/sigcontext.h b/libc/sysdeps/linux/xtensa/bits/sigcontext.h
index acfaa85..ca6c5d6 100644
--- a/libc/sysdeps/linux/xtensa/bits/sigcontext.h
+++ b/libc/sysdeps/linux/xtensa/bits/sigcontext.h
@@ -33,8 +33,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 */
--
1.8.4.rc3
More information about the uClibc
mailing list