From: Ulf Möller Date: Wed, 8 Dec 1999 22:55:06 +0000 (+0000) Subject: Don't use inline assembler on x86 Solaris (would need a different syntax). X-Git-Tag: OpenSSL_0_9_5beta1~386 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4af39ac4482355ffdd61fb61231a0c79b96997b;p=oweals%2Fopenssl.git Don't use inline assembler on x86 Solaris (would need a different syntax). --- diff --git a/crypto/bn/bn_div.c b/crypto/bn/bn_div.c index 830da87f58..36beea2296 100644 --- a/crypto/bn/bn_div.c +++ b/crypto/bn/bn_div.c @@ -207,7 +207,7 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, #if !defined(NO_ASM) && !defined(PEDANTIC) # if defined(__GNUC__) && __GNUC__>=2 -# if defined(__i386) +# if defined(__i386) && !defined(__sun) /* * There were two reasons for implementing this template: * - GNU C generates a call to a function (__udivdi3 to be exact) diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 5e62d40523..e739da2121 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -191,7 +191,7 @@ * * */ -# if defined(__i386) +# if defined(__i386) && !defined(__sun) # define ROTATE(a,n) ({ register unsigned int ret; \ asm volatile ( \ "roll %1,%0" \