From: Ivan Maidanski Date: Mon, 23 Jan 2017 23:10:16 +0000 (+0300) Subject: Do not x86 asm in PUSH_CONTENTS_HDR for NaCl X-Git-Tag: v8.0.0~949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a45d7e1f487310750fdf22b8b7ce3fd1f94c8ed;p=gc 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). --- 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) \