summaryrefslogtreecommitdiff
path: root/waterfox/build-ppc-jit.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-09-14 11:39:42 -0400
committerB Stack <bgstack15@gmail.com>2018-09-14 11:39:42 -0400
commit4ecb6db04ce862ec1b8a88db5daef0eda7c7a05d (patch)
tree512b8eae0c2ef46e9debfe96af748b308deb27c4 /waterfox/build-ppc-jit.patch
parentMerge branch 'add-ublock' into 'master' (diff)
downloadstackrpms-4ecb6db04ce862ec1b8a88db5daef0eda7c7a05d.tar.gz
stackrpms-4ecb6db04ce862ec1b8a88db5daef0eda7c7a05d.tar.bz2
stackrpms-4ecb6db04ce862ec1b8a88db5daef0eda7c7a05d.zip
bring in chinforpms/waterfox
Diffstat (limited to 'waterfox/build-ppc-jit.patch')
-rw-r--r--waterfox/build-ppc-jit.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/waterfox/build-ppc-jit.patch b/waterfox/build-ppc-jit.patch
new file mode 100644
index 0000000..a9dc6d1
--- /dev/null
+++ b/waterfox/build-ppc-jit.patch
@@ -0,0 +1,51 @@
+diff -up firefox-55.0/js/src/jit/MIR.h.old firefox-55.0/js/src/jit/MIR.h
+--- firefox-55.0/js/src/jit/MIR.h.old 2017-08-08 14:04:44.528460099 +0200
++++ firefox-55.0/js/src/jit/MIR.h 2017-08-08 14:05:11.045364831 +0200
+@@ -12434,7 +12434,7 @@ class MNearbyInt
+ TRIVIAL_NEW_WRAPPERS
+
+ static bool HasAssemblerSupport(RoundingMode mode) {
+- return Assembler::HasRoundInstruction(mode);
++ return false;
+ }
+
+ RoundingMode roundingMode() const { return roundingMode_; }
+diff -up firefox-55.0/js/src/jit/ExecutableAllocator.h.old firefox-55.0/js/src/jit/ExecutableAllocator.h
+--- firefox-55.0/js/src/jit/ExecutableAllocator.h.old 2017-08-09 09:24:18.784983505 +0200
++++ firefox-55.0/js/src/jit/ExecutableAllocator.h 2017-08-09 09:28:01.471100075 +0200
+@@ -307,6 +307,10 @@ class ExecutableAllocator
+ {
+ sync_instruction_memory((caddr_t)code, size);
+ }
++#else
++ static void cacheFlush(void*, size_t)
++ {
++ }
+ #endif
+
+ private:
+diff -up firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old firefox-55.0/js/src/wasm/WasmBuiltins.cpp
+--- firefox-55.0/js/src/wasm/WasmBuiltins.cpp.old 2017-08-09 12:50:46.877450765 +0200
++++ firefox-55.0/js/src/wasm/WasmBuiltins.cpp 2017-08-09 12:50:59.725406974 +0200
+@@ -881,7 +881,6 @@ wasm::EnsureBuiltinThunksInitialized()
+ MOZ_ASSERT(!masm.numSymbolicAccesses());
+ #endif
+
+- ExecutableAllocator::cacheFlush(thunks->codeBase, thunks->codeSize);
+ if (!ExecutableAllocator::makeExecutable(thunks->codeBase, thunks->codeSize))
+ return false;
+
+diff -up firefox-55.0/js/src/wasm/WasmCode.cpp.old firefox-55.0/js/src/wasm/WasmCode.cpp
+--- firefox-55.0/js/src/wasm/WasmCode.cpp.old 2017-08-09 12:50:37.205483731 +0200
++++ firefox-55.0/js/src/wasm/WasmCode.cpp 2017-08-09 12:51:10.365370708 +0200
+@@ -287,8 +287,6 @@ CodeSegment::initialize(Tier tier,
+ if (!StaticallyLink(*this, linkData))
+ return false;
+
+- ExecutableAllocator::cacheFlush(bytes_.get(), RoundupCodeLength(codeLength));
+-
+ // Reprotect the whole region to avoid having separate RW and RX mappings.
+ if (!ExecutableAllocator::makeExecutable(bytes_.get(), RoundupCodeLength(codeLength)))
+ return false;
+diff -up firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-55.0/media/webrtc/trunk/Makefile.old firefox-55.0/media/webrtc/trunk/Makefile
bgstack15