summaryrefslogtreecommitdiff
path: root/build-jit-CodeAlignment.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-01-24 20:37:14 +0100
committerMartin Stransky <stransky@redhat.com>2018-01-24 20:37:14 +0100
commit0c05b34f9a4f4bd4d8d0f2631d944824c32454f6 (patch)
treea40550c184d592a01e89ee51427a68695935d571 /build-jit-CodeAlignment.patch
parentMerge branch 'master' into f26 (diff)
parentAdded build patch for jit/CodeAlignment failure (diff)
downloadlibrewolf-fedora-ff-0c05b34f9a4f4bd4d8d0f2631d944824c32454f6.tar.gz
librewolf-fedora-ff-0c05b34f9a4f4bd4d8d0f2631d944824c32454f6.tar.bz2
librewolf-fedora-ff-0c05b34f9a4f4bd4d8d0f2631d944824c32454f6.zip
Merge branch 'master' into f26
Diffstat (limited to 'build-jit-CodeAlignment.patch')
-rw-r--r--build-jit-CodeAlignment.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/build-jit-CodeAlignment.patch b/build-jit-CodeAlignment.patch
new file mode 100644
index 0000000..0f0b10c
--- /dev/null
+++ b/build-jit-CodeAlignment.patch
@@ -0,0 +1,12 @@
+diff -up firefox-58.0/js/src/jit/none/MacroAssembler-none.h.old firefox-58.0/js/src/jit/none/MacroAssembler-none.h
+--- firefox-58.0/js/src/jit/none/MacroAssembler-none.h.old 2018-01-24 20:33:52.569147937 +0100
++++ firefox-58.0/js/src/jit/none/MacroAssembler-none.h 2018-01-24 20:34:06.985088057 +0100
+@@ -88,7 +88,7 @@ static constexpr Register WasmTableCallI
+ static constexpr Register WasmTlsReg { Registers::invalid_reg };
+
+ static constexpr uint32_t ABIStackAlignment = 4;
+-static constexpr uint32_t CodeAlignment = 4;
++static constexpr uint32_t CodeAlignment = 8;
+ static constexpr uint32_t JitStackAlignment = 8;
+ static constexpr uint32_t JitStackValueAlignment = JitStackAlignment / sizeof(Value);
+
bgstack15