MozillaFirefox/mozilla-s390-context.patch
Wolfgang Rosenauer a409d8adda - add mozilla-python313.patch to fix build with python 3.13+
* CVE-2018-12371 (bmo#1465686)
  * modifies the crash protection feature to increase the amount
    of time that plugins are allowed to be non-responsive before
  * firefox-bug506901.patch
- improve UI colors to be usable with dark themes at all
- added KDE integration patch from llunak@novell.com
  (firefox-kde.patch)
  * support for knotify, making -kde4-addon obsolete
  especially KDE integration:
  * added the ability to set the KDE default browser
  * MFSA 2009-05/CVE-2009-0357: XMLHttpRequest allows reading
  * MFSA 2009-04/CVE-2009-0356: Chrome privilege escalation via
  * MFSA 2009-02/CVE-2009-0354: XSS using a chrome XBL method
  * MFSA 2009-01/CVE-2009-0352 - CVE-2009-0353: Crashes with
    evidence of memory corruption (rv:1.9.0.6) (bmo#452913,
  * Make sure the search bar is not put back when resetting the
- Update to stability/security release 3.0.1 (bnc#407573)
  + MFSA 2008-35 Command-line URLs launch multiple tabs when
- Set browser.shell.checkDefaultBrowser to true (bnc#404119)
- fix hardlinks accross partitions
- move last change a bit further in specfile
- Mark a .png file as nonexecutable.
    * MFSA 2007-26  Privilege escalation through chrome-loaded
- Fixes bnc #295677
- added unzip to BuildRequires
- updated tango theme
    Resuming your browsing session, Previewing and subscribing
    Improved Add-ons manager, JavaScript 1.7, Extended search

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1190
2024-11-25 10:56:51 +00:00

34 lines
1.3 KiB
Diff

# HG changeset patch
# User msirringhaus@suse.de
# Date 1558452408 -7200
# Tue May 21 17:26:48 2019 +0200
# Node ID 602e92722e765a3c238d3b96b26c0c8063b5eeb4
# Parent 783ceb006fcdabe5ad23bd561362e721c7ed5f8c
[mq]: mozilla-s390-context.patch
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
@@ -174,6 +174,10 @@ using mozilla::DebugOnly;
# define FP_sig(p) ((p)->uc_mcontext.gregs[REG_FPRS])
# define SP_sig(p) ((p)->uc_mcontext.gregs[REG_SP])
# endif
+# if defined(__linux__) && defined(__s390x__)
+# define GR_sig(p, x) ((p)->uc_mcontext.gregs[x])
+# define PSWa_sig(p) ((p)->uc_mcontext.psw.addr)
+# endif
# elif defined(__NetBSD__)
# define EIP_sig(p) ((p)->uc_mcontext.__gregs[_REG_EIP])
# define EBP_sig(p) ((p)->uc_mcontext.__gregs[_REG_EBP])
@@ -416,6 +420,10 @@ struct macos_aarch64_context {
# define FP_sig(p) RFP_sig(p)
# define SP_sig(p) R03_sig(p)
# define LR_sig(p) RRA_sig(p)
+# elif defined(__s390x__)
+# define PC_sig(p) PSWa_sig(p)
+# define SP_sig(p) GR_sig(p, 15)
+# define FP_sig(p) GR_sig(p, 11)
# elif defined(__riscv)
# define PC_sig(p) RPC_sig(p)
# define FP_sig(p) RFP_sig(p)