diff options
Diffstat (limited to 'libunwind/src/UnwindRegistersSave.S')
-rw-r--r-- | libunwind/src/UnwindRegistersSave.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libunwind/src/UnwindRegistersSave.S b/libunwind/src/UnwindRegistersSave.S index 8c5816b3a7a..1b6cff84d0c 100644 --- a/libunwind/src/UnwindRegistersSave.S +++ b/libunwind/src/UnwindRegistersSave.S @@ -116,7 +116,8 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext) xorl %eax, %eax # return UNW_ESUCCESS ret -#elif defined(__mips__) && defined(_ABIO32) && defined(__mips_soft_float) +#elif defined(__mips__) && defined(_ABIO32) && _MIPS_SIM == _ABIO32 && \ + defined(__mips_soft_float) # # extern int unw_getcontext(unw_context_t* thread_state) @@ -172,7 +173,7 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext) or $2, $0, $0 .set pop -#elif defined(__mips__) && defined(_ABI64) && defined(__mips_soft_float) +#elif defined(__mips64) && defined(__mips_soft_float) # # extern int unw_getcontext(unw_context_t* thread_state) |