summaryrefslogtreecommitdiffstats
path: root/unwind.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-06-19 04:24:18 +0200
committerKaz Kylheku <kaz@kylheku.com>2020-06-19 04:24:18 +0200
commitf063fb64a24be163903ec0560eaba9af05cab25c (patch)
tree7a47ad657f209b24a4ae119be246f56d78d851d6 /unwind.h
parenta7cfa5717c91b7c144cb2ec3aecc5cda9509a355 (diff)
downloadtxr-f063fb64a24be163903ec0560eaba9af05cab25c.tar.gz
txr-f063fb64a24be163903ec0560eaba9af05cab25c.tar.bz2
txr-f063fb64a24be163903ec0560eaba9af05cab25c.zip
Support MIPS64.
* jmp.S (jmp_save, jmp_restore): Defined for MIPS64. * unwind.h (struct_jmp): Provide same definition for 32 and 64 by #ifdef-ing on just __mips__.
Diffstat (limited to 'unwind.h')
-rw-r--r--unwind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unwind.h b/unwind.h
index a9f8d60c..074d6169 100644
--- a/unwind.h
+++ b/unwind.h
@@ -141,7 +141,7 @@ struct jmp {
x19-x28, x29(fp), x30(lr), (x31)sp, d8-d15. Other registers are not
saved. */
-#elif _MIPS_SZPTR == 32
+#elif __mips__
struct jmp {
unsigned long s0; /* $16 */