From 49977fa7e3048d41518223b704c90f1b82588904 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Sat, 18 Apr 2015 12:05:45 -0700 Subject: external/boringssl: fix Clang build. The immediate in this operation is too large for ARM. GCC will automatically rewrite it to use bic (where bic does an AND NOT). Clang, however doesn't, and reasonably throws an error. This change switches to using bic in the source file, thus making both happy. Change-Id: I117083f4f70c199e5d2f933c0a0516a6f4059a92 --- src/crypto/poly1305/poly1305_arm_asm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/crypto/poly1305/poly1305_arm_asm.S b/src/crypto/poly1305/poly1305_arm_asm.S index 9d87413..e16f83b 100644 --- a/src/crypto/poly1305/poly1305_arm_asm.S +++ b/src/crypto/poly1305/poly1305_arm_asm.S @@ -160,7 +160,7 @@ openssl_poly1305_neon2_blocks: vpush {q4,q5,q6,q7} mov r12,sp sub sp,sp,#192 -and sp,sp,#0xffffffe0 +bic sp,sp,#31 # qhasm: len = input_3 # asm 1: mov >len=int32#4,