summaryrefslogtreecommitdiff
path: root/crypto/mips_arch.h
diff options
context:
space:
mode:
authorHua Zhang <hua.zhang1974@hotmail.com>2019-03-13 14:28:44 +0800
committerRichard Levitte <levitte@openssl.org>2019-03-19 07:37:45 +0100
commit0d0d12b80456c81faef31fddb9d8e2ccacc2eece (patch)
tree62b08924fc0f9843569a5fc8adde9cca9ca3a0ff /crypto/mips_arch.h
parent0584ce737efd26aa82d659087fc9f081ef8e30c4 (diff)
downloadopenssl-new-0d0d12b80456c81faef31fddb9d8e2ccacc2eece.tar.gz
Fix compiling error for mips32r6 and mips64r6
There are some compiling errors for mips32r6 and mips64r6: crypto/bn/bn-mips.S:56: Error: opcode not supported on this processor: mips2 (mips2) `mulu $1,$12,$7' crypto/mips_arch.h: Assembler messages: crypto/mips_arch.h:15: Error: junk at end of line, first unrecognized character is `&' Signed-off-by: Hua Zhang <hua.zhang1974@hotmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8464) (cherry picked from commit 1b9c5f2e2f283a3b12d02a89c11b8e8d97bc6312)
Diffstat (limited to 'crypto/mips_arch.h')
-rw-r--r--crypto/mips_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/mips_arch.h b/crypto/mips_arch.h
index 75043e79d3..6145f4dc46 100644
--- a/crypto/mips_arch.h
+++ b/crypto/mips_arch.h
@@ -11,7 +11,7 @@
# define __MIPS_ARCH_H__
# if (defined(__mips_smartmips) || defined(_MIPS_ARCH_MIPS32R3) || \
- defined(_MIPS_ARCH_MIPS32R5) || defined(_MIPS_ARCH_MIPS32R6))
+ defined(_MIPS_ARCH_MIPS32R5) || defined(_MIPS_ARCH_MIPS32R6)) \
&& !defined(_MIPS_ARCH_MIPS32R2)
# define _MIPS_ARCH_MIPS32R2
# endif