diff options
Diffstat (limited to 'src/common/android/ucontext_constants.h')
-rw-r--r-- | src/common/android/ucontext_constants.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/android/ucontext_constants.h b/src/common/android/ucontext_constants.h index e39f0234..1932d573 100644 --- a/src/common/android/ucontext_constants.h +++ b/src/common/android/ucontext_constants.h @@ -97,11 +97,19 @@ #elif defined(__mips__) +#if _MIPS_SIM == _ABIO32 #define MCONTEXT_PC_OFFSET 32 #define MCONTEXT_GREGS_OFFSET 40 #define MCONTEXT_FPREGS_OFFSET 296 #define MCONTEXT_FPC_CSR 556 #define UCONTEXT_SIGMASK_OFFSET 616 +#else +#define MCONTEXT_GREGS_OFFSET 40 +#define MCONTEXT_FPREGS_OFFSET 296 +#define MCONTEXT_PC_OFFSET 616 +#define MCONTEXT_FPC_CSR 624 +#define UCONTEXT_SIGMASK_OFFSET 640 +#endif #elif defined(__x86_64__) |