void-packages/srcpkgs/mozjs60/patches/0011-mips-macroassembler.patch
Jürgen Buchmüller 7b32722b5a
mozjs60: fix build for mips*
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-11-22 09:32:01 +01:00

27 lines
1 KiB
Diff

From: Dragan Mladjenovic <dragan.mladjenovic>
Date: Mon, 12 Mar 2018 10:31:24 +0100
Subject: Bug 1444834 : [MIPS] Stubout MacroAssembler::speculationBarrier
From upstream, via firefox-esr 60.2.0esr-1.
Reviewed-by: jandem
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1444834
Applied-upstream: 61, commit:https://hg.mozilla.org/mozilla-central/rev/739c536d2cd6
---
js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
Index: mozjs-60.8.0/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
===================================================================
--- mozjs-60.8.0.orig/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
+++ mozjs-60.8.0/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
@@ -2687,4 +2687,8 @@ void MacroAssembler::atomicEffectOpJS(Sc
maskTemp);
}
+// ========================================================================
+// Spectre Mitigations.
+
+void MacroAssembler::speculationBarrier() { MOZ_CRASH(); }
//}}} check_macroassembler_style