mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
changeset 1129 146af4f081b9
parent 1123 7fa561e5d7c7
--- a/mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch	Mon Nov 25 08:41:45 2019 +0100
+++ b/mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch	Thu Jun 11 22:04:26 2020 +0200
@@ -1,6 +1,15 @@
---- a/js/src/wasm/WasmSignalHandlers.cpp	2019-05-16 11:25:13.260881532 +0200
-+++ b/js/src/wasm/WasmSignalHandlers.cpp	2019-05-16 11:24:35.164589301 +0200
-@@ -243,7 +243,7 @@ using mozilla::DebugOnly;
+# HG changeset patch
+# Parent  9bc02ee6567ae3f1dad1f8578e650c0a1faa0179
+
+diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
+--- a/js/src/wasm/WasmSignalHandlers.cpp
++++ b/js/src/wasm/WasmSignalHandlers.cpp
+@@ -240,17 +240,17 @@ using mozilla::DebugOnly;
+ // Those definitions are however not present in the headers of every Linux
+ // distro - Raspbian is known to be a problem, for example.  However those
+ // distros are tier-3 platforms.
+ //
+ // If you run into compile problems on a tier-3 platform, you can disable the
  // emulation here.
  
  #if defined(__linux__) && defined(__arm__)
@@ -9,3 +18,8 @@
  #endif
  
  #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
+ #  include <sys/user.h>
+ #endif
+ 
+ #if defined(ANDROID)
+ // Not all versions of the Android NDK define ucontext_t or mcontext_t.