Add sections to Poly1305 ARM asm code.
This code isn't generated by perlasm and so the section directives need
to be added manually.
Change-Id: I46158741743859679decbce99097fe6071bf8012
Reviewed-on: https://boringssl-review.googlesource.com/6005
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/poly1305/poly1305_arm_asm.S b/crypto/poly1305/poly1305_arm_asm.S
index e16f83b..bbd9791 100644
--- a/crypto/poly1305/poly1305_arm_asm.S
+++ b/crypto/poly1305/poly1305_arm_asm.S
@@ -153,6 +153,7 @@
# qhasm: qpushenter crypto_onetimeauth_poly1305_neon2_blocks
.align 4
+.pushsection .text.openssl_poly1305_neon2_blocks,"ax",%progbits
.global openssl_poly1305_neon2_blocks
.hidden openssl_poly1305_neon2_blocks
.type openssl_poly1305_neon2_blocks STT_FUNC
@@ -1519,6 +1520,7 @@
mov sp,r12
vpop {q4,q5,q6,q7}
bx lr
+.popsection
# qhasm: int32 input_0
@@ -1612,6 +1614,7 @@
# qhasm: enter crypto_onetimeauth_poly1305_neon2_addmulmod
.align 2
+.pushsection .text.openssl_poly1305_neon2_addmulmod,"ax",%progbits
.global openssl_poly1305_neon2_addmulmod
.hidden openssl_poly1305_neon2_addmulmod
.type openssl_poly1305_neon2_addmulmod STT_FUNC
@@ -2011,5 +2014,6 @@
# qhasm: return
add sp,sp,#0
bx lr
+.popsection
#endif /* __arm__ && !OPENSSL_NO_ASM */