Compile the NEON asm with -fpic.
(More development by try-bot.)
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/openssl@234219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/openssl/crypto/chacha/chacha_vec_arm.s b/openssl/crypto/chacha/chacha_vec_arm.s
index a8f716f..35dc74d 100644
--- a/openssl/crypto/chacha/chacha_vec_arm.s
+++ b/openssl/crypto/chacha/chacha_vec_arm.s
@@ -5,7 +5,7 @@
#
# This file was generated by:
#
-# /opt/gcc-linaro-arm-linux-gnueabihf-4.7-2012.10-20121022_linux/bin/arm-linux-gnueabihf-gcc -O3 -mcpu=cortex-a8 -mfpu=neon -S chacha_vec.c -I ../../include
+# /opt/gcc-linaro-arm-linux-gnueabihf-4.7-2012.10-20121022_linux/bin/arm-linux-gnueabihf-gcc -O3 -mcpu=cortex-a8 -mfpu=neon -S chacha_vec.c -I ../../include -fpic
#
# And then EABI attribute 28 was set to zero to allow linking with soft-float
# code.
@@ -50,12 +50,14 @@
umull r4, ip, ip, r4
ldr r6, [r6, #0]
ldr r8, [r7, #392]
+.LPIC24:
+ add r2, pc
add r4, sp, #15
str r3, [r7, #236]
- bic r4, r4, #15
str r6, [r7, #172]
- str r4, [r7, #196]
+ bic r4, r4, #15
str r0, [r7, #184]
+ str r4, [r7, #196]
lsrs ip, ip, #7
str r1, [r7, #180]
ldmia r2, {r0, r1, r2, r3}
@@ -163,7 +165,7 @@
.word 0
.word 0
.word 0
- .word .LANCHOR0
+ .word .LANCHOR0-(.LPIC24+4)
.L39:
.L3:
vadd.i32 q4, q4, q0