head 1.2; access; symbols pkgsrc-2020Q3:1.1.0.20 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.18 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.14 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.16 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.12 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.10 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.8 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.6 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2020.11.11.09.52.00; author nia; state dead; branches; next 1.1; commitid CwfADKOANACW8svC; 1.1 date 2018.05.11.19.18.35; author jperkin; state Exp; branches; next ; commitid PMv8Ivd9h0E2GUBA; desc @@ 1.2 log @Remove spidermonkey52 - it's no longer used. @ text @$NetBSD: patch-js_src_wasm_WasmSignalHandlers.cpp,v 1.1 2018/05/11 19:18:35 jperkin Exp $ Support SunOS. --- js/src/wasm/WasmSignalHandlers.cpp.orig 2018-04-28 01:04:03.000000000 +0000 +++ js/src/wasm/WasmSignalHandlers.cpp @@@@ -130,11 +130,12 @@@@ class AutoSetHandlingSegFault # define EPC_sig(p) ((p)->sc_pc) # define RFP_sig(p) ((p)->sc_regs[30]) # endif -#elif defined(__linux__) || defined(SOLARIS) +#elif defined(__linux__) || defined(__sun) # if defined(__linux__) # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i]) # define EIP_sig(p) ((p)->uc_mcontext.gregs[REG_EIP]) # else +# include # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[i]) # define EIP_sig(p) ((p)->uc_mcontext.gregs[REG_PC]) # endif @ 1.1 log @spidermonkey52: Add support for SunOS. Works well enough to only produce 7 minor failures out of 6679 regression tests. @ text @d1 1 a1 1 $NetBSD$ @