From f063fb64a24be163903ec0560eaba9af05cab25c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 19 Jun 2020 04:24:18 +0200 Subject: 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__. --- unwind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unwind.h') 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 */ -- cgit v1.2.3