From 1a45d7e1f487310750fdf22b8b7ce3fd1f94c8ed Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 24 Jan 2017 02:10:16 +0300 Subject: [PATCH] Do not x86 asm in PUSH_CONTENTS_HDR for NaCl * include/private/gc_pmark.h [I386 && __GNUC__] (LONG_MULT): Do not use asm-based implementation ("mull") if NACL (i.e. fallback to plain C). --- include/private/gc_pmark.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/private/gc_pmark.h b/include/private/gc_pmark.h index 796ed473..cab2a30a 100644 --- a/include/private/gc_pmark.h +++ b/include/private/gc_pmark.h @@ -200,7 +200,7 @@ GC_INNER mse * GC_signal_mark_stack_overflow(mse *msp); # define TRACE_TARGET(source, cmd) #endif -#if defined(I386) && defined(__GNUC__) +#if defined(I386) && defined(__GNUC__) && !defined(NACL) # define LONG_MULT(hprod, lprod, x, y) \ do { \ __asm__ __volatile__("mull %2" : "=a"(lprod), "=d"(hprod) \ -- 2.40.0