mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
branchfirefox74
changeset 1123 7fa561e5d7c7
parent 1094 a25638dad81d
equal deleted inserted replaced
1122:a9cd24eaa361 1123:7fa561e5d7c7
     1 --- a/js/src/wasm/WasmSignalHandlers.cpp	2019-05-16 11:25:13.260881532 +0200
     1 # HG changeset patch
     2 +++ b/js/src/wasm/WasmSignalHandlers.cpp	2019-05-16 11:24:35.164589301 +0200
     2 # Parent  9bc02ee6567ae3f1dad1f8578e650c0a1faa0179
     3 @@ -243,7 +243,7 @@ using mozilla::DebugOnly;
     3 
       
     4 diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
       
     5 --- a/js/src/wasm/WasmSignalHandlers.cpp
       
     6 +++ b/js/src/wasm/WasmSignalHandlers.cpp
       
     7 @@ -240,17 +240,17 @@ using mozilla::DebugOnly;
       
     8  // Those definitions are however not present in the headers of every Linux
       
     9  // distro - Raspbian is known to be a problem, for example.  However those
       
    10  // distros are tier-3 platforms.
       
    11  //
       
    12  // If you run into compile problems on a tier-3 platform, you can disable the
     4  // emulation here.
    13  // emulation here.
     5  
    14  
     6  #if defined(__linux__) && defined(__arm__)
    15  #if defined(__linux__) && defined(__arm__)
     7 -#  define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
    16 -#  define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
     8 +// #  define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
    17 +// #  define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
     9  #endif
    18  #endif
    10  
    19  
    11  #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
    20  #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
       
    21  #  include <sys/user.h>
       
    22  #endif
       
    23  
       
    24  #if defined(ANDROID)
       
    25  // Not all versions of the Android NDK define ucontext_t or mcontext_t.