summaryrefslogtreecommitdiff
path: root/libre/iceweasel/arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel/arm.patch')
-rw-r--r--libre/iceweasel/arm.patch23
1 files changed, 7 insertions, 16 deletions
diff --git a/libre/iceweasel/arm.patch b/libre/iceweasel/arm.patch
index a5ce2c542..9e2ed1510 100644
--- a/libre/iceweasel/arm.patch
+++ b/libre/iceweasel/arm.patch
@@ -1,24 +1,15 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=1526653
diff --git a/js/src/wasm/WasmSignalHandlers.cpp.orig b/js/src/wasm/WasmSignalHandlers.cpp
-index d46b1c6..cf4c957 100644
+index 636537f..0f3461a 100644
--- a/js/src/wasm/WasmSignalHandlers.cpp.orig
+++ b/js/src/wasm/WasmSignalHandlers.cpp
-@@ -228,7 +228,7 @@ using mozilla::DebugOnly;
- # error "Don't know how to read/write to the thread state via the mcontext_t."
- #endif
+@@ -244,7 +244,7 @@ using mozilla::DebugOnly;
+ // emulation here.
--#if defined(__linux__) && defined(__arm__)
-+#if 0 && defined(__linux__) && defined(__arm__)
- # include <sys/user.h>
+ #if defined(__linux__) && defined(__arm__)
+-# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
++//# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
#endif
-@@ -456,7 +456,7 @@ struct AutoHandlingTrap {
- }
- };
-
--#if defined(__linux__) && defined(__arm__)
-+#if 0 && defined(__linux__) && defined(__arm__)
-
- // Code to handle SIGBUS for unaligned floating point accesses on 32-bit ARM.
-
+ #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS