aes/asm/{aes-armv4|bsaes-armv7}.pl: make it work with binutils-2.29.
[openssl.git] / crypto / aes / asm / aes-armv4.pl
index 3efe415e66e60ddd6c9b52d2cc81d93c3bcb94b7..c6474b8aadcd46b35a9dade3e0cedd8feb48774b 100644 (file)
@@ -1,4 +1,11 @@
-#!/usr/bin/env perl
+#! /usr/bin/env perl
+# Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (the "License").  You may not use
+# this file except in compliance with the License.  You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
 
 # ====================================================================
 # Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
@@ -193,7 +200,7 @@ AES_encrypt:
 #ifndef        __thumb2__
        sub     r3,pc,#8                @ AES_encrypt
 #else
-       adr     r3,AES_encrypt
+       adr     r3,.
 #endif
        stmdb   sp!,{r1,r4-r12,lr}
 #ifdef __APPLE__
@@ -443,7 +450,7 @@ _armv4_AES_set_encrypt_key:
 #ifndef        __thumb2__
        sub     r3,pc,#8                @ AES_set_encrypt_key
 #else
-       adr     r3,AES_set_encrypt_key
+       adr     r3,.
 #endif
        teq     r0,#0
 #ifdef __thumb2__
@@ -969,7 +976,7 @@ AES_decrypt:
 #ifndef        __thumb2__
        sub     r3,pc,#8                @ AES_decrypt
 #else
-       adr     r3,AES_decrypt
+       adr     r3,.
 #endif
        stmdb   sp!,{r1,r4-r12,lr}
 #ifdef __APPLE__