diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-03-06 02:55:21 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-03-06 02:55:21 +0000 |
commit | ca8030a9f97b779e8d2c2598ced9cbd5f5b8f394 (patch) | |
tree | 17fda4fa2a56cba4891247e30d63f89a559a6038 /mail | |
parent | 502a65584071431b36ddcd0de27d724860d08bfd (diff) | |
download | ports-ca8030a9f97b779e8d2c2598ced9cbd5f5b8f394.tar.gz ports-ca8030a9f97b779e8d2c2598ced9cbd5f5b8f394.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/thunderbird/files/patch-bug1532851 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-bug1532851 b/mail/thunderbird/files/patch-bug1532851 new file mode 100644 index 000000000000..a13b0ff125eb --- /dev/null +++ b/mail/thunderbird/files/patch-bug1532851 @@ -0,0 +1,40 @@ +diff --git js/src/wasm/WasmSignalHandlers.cpp js/src/wasm/WasmSignalHandlers.cpp +index fc49f361d82a..636537f84786 100644 +--- js/src/wasm/WasmSignalHandlers.cpp ++++ js/src/wasm/WasmSignalHandlers.cpp +@@ -102,6 +102,11 @@ using mozilla::DebugOnly; + #define EPC_sig(p) ((p)->sc_pc) + #define RFP_sig(p) ((p)->sc_regs[30]) + #endif ++#if defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || \ ++ defined(__PPC64LE__) ++#define R01_sig(p) ((p)->sc_frame.fixreg[1]) ++#define R32_sig(p) ((p)->sc_frame.srr0) ++#endif + #elif defined(__linux__) || defined(__sun) + #if defined(__linux__) + #define EIP_sig(p) ((p)->uc_mcontext.gregs[REG_EIP]) +@@ -169,6 +174,11 @@ using mozilla::DebugOnly; + #define EPC_sig(p) ((p)->uc_mcontext.__gregs[_REG_EPC]) + #define RFP_sig(p) ((p)->uc_mcontext.__gregs[_REG_S8]) + #endif ++#if defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || \ ++ defined(__PPC64LE__) ++#define R01_sig(p) ((p)->uc_mcontext.__gregs[_REG_R1]) ++#define R32_sig(p) ((p)->uc_mcontext.__gregs[_REG_PC]) ++#endif + #elif defined(__DragonFly__) || defined(__FreeBSD__) || \ + defined(__FreeBSD_kernel__) + #define EIP_sig(p) ((p)->uc_mcontext.mc_eip) +@@ -197,6 +207,11 @@ using mozilla::DebugOnly; + #if defined(__FreeBSD__) && defined(__mips__) + #define EPC_sig(p) ((p)->uc_mcontext.mc_pc) + #define RFP_sig(p) ((p)->uc_mcontext.mc_regs[30]) ++#endif ++#if defined(__FreeBSD__) && (defined(__ppc64__) || defined(__PPC64__) || \ ++ defined(__ppc64le__) || defined(__PPC64LE__)) ++#define R01_sig(p) ((p)->uc_mcontext.mc_gpr[1]) ++#define R32_sig(p) ((p)->uc_mcontext.mc_srr0) + #endif + #elif defined(XP_DARWIN) + #define EIP_sig(p) ((p)->thread.uts.ts32.__eip) |