From: Andy Polyakov Date: Mon, 20 Apr 2015 21:18:08 +0000 (+0200) Subject: aes/asm/bsaes-armv7.pl: fix compilation with Xcode 6.3. X-Git-Tag: OpenSSL_1_1_0-pre1~1156 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4cd8316068f1c3b5a0050e60b3ea21a20db276e;p=oweals%2Fopenssl.git aes/asm/bsaes-armv7.pl: fix compilation with Xcode 6.3. Reviewed-by: Richard Levitte --- diff --git a/crypto/aes/asm/bsaes-armv7.pl b/crypto/aes/asm/bsaes-armv7.pl index 043fa383b7..f9293d599b 100644 --- a/crypto/aes/asm/bsaes-armv7.pl +++ b/crypto/aes/asm/bsaes-armv7.pl @@ -1417,7 +1417,7 @@ bsaes_ctr32_encrypt_blocks: vld1.8 {@XMM[0]}, [$ctr] @ load counter #ifdef __APPLE__ - mov $ctr, #.LREVM0SR-.LM0 + mov $ctr, #:lower16:(.LREVM0SR-.LM0) add $ctr, $const, $ctr #else add $ctr, $const, #.LREVM0SR-.LM0 @ borrow $ctr @@ -1479,7 +1479,7 @@ bsaes_ctr32_encrypt_blocks: mov r5, $rounds @ pass rounds vstmia $fp, {@XMM[10]} @ save next counter #ifdef __APPLE__ - mov $const, #.LREVM0SR-.LSR + mov $const, #:lower16:(.LREVM0SR-.LSR) sub $const, $ctr, $const #else sub $const, $ctr, #.LREVM0SR-.LSR @ pass constants