Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
MozillaFirefox.11624
mozilla-s390-context.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mozilla-s390-context.patch of Package MozillaFirefox.11624
# HG changeset patch # User msirringhaus@suse.de # Date 1560926156 -7200 # Wed Jun 19 08:35:56 2019 +0200 # Node ID 6532e197de95ae184efc94fafb4147e7da12e75d # Parent 3381c47484164e474d725374367aafc690011f46 [mq]: mozilla-s390-context.patch diff -r 3381c4748416 -r 6532e197de95 js/src/wasm/WasmSignalHandlers.cpp --- a/js/src/wasm/WasmSignalHandlers.cpp Wed Jun 19 08:35:53 2019 +0200 +++ b/js/src/wasm/WasmSignalHandlers.cpp Wed Jun 19 08:35:56 2019 +0200 @@ -191,6 +191,10 @@ // powerpc next instruction pointer (NIP or PC) #define R32_sig(p) ((p)->uc_mcontext.gp_regs[32]) #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 XMM_sig(p, i) (((struct fxsave64*)(p)->uc_mcontext.__fpregs)->fx_xmm[i]) #define EIP_sig(p) ((p)->uc_mcontext.__gregs[_REG_EIP]) @@ -454,6 +458,10 @@ #define PC_sig(p) R32_sig(p) #define SP_sig(p) R01_sig(p) #define FP_sig(p) R01_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) #endif #if defined(PC_sig) && defined(FP_sig) && defined(SP_sig)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor