aboutsummaryrefslogtreecommitdiffstats
path: root/src/UnwindRegistersSave.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/UnwindRegistersSave.S')
-rw-r--r--src/UnwindRegistersSave.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/UnwindRegistersSave.S b/src/UnwindRegistersSave.S
index 1275c2a16175..f84b7114f777 100644
--- a/src/UnwindRegistersSave.S
+++ b/src/UnwindRegistersSave.S
@@ -87,6 +87,15 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
xorl %eax, %eax # return UNW_ESUCCESS
ret
+# elif defined(__mips__)
+
+#
+# extern int unw_getcontext(unw_context_t* thread_state)
+#
+# Just trap for the time being.
+DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
+ teq $0, $0
+
#elif defined(__ppc__)
;