Ensure there's only one copy of OPENSSL_armcap_P in libcrypto.a
[openssl.git] / crypto / chacha / asm / chacha-armv4.pl
index 665ca50cf5c4181f9c26dfa6d6bdfd3658e190eb..3fdecf2d2832cfc103223f9bfe916cba41a2bf79 100755 (executable)
@@ -1,5 +1,5 @@
 #! /usr/bin/env perl
-# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
 #
 # Licensed under the Apache License 2.0 (the "License").  You may not use
 # this file except in compliance with the License.  You can obtain a copy
@@ -1154,7 +1154,7 @@ $code.=<<___;
        add             sp,sp,#4*(16+3)
        ldmia           sp!,{r4-r11,pc}
 .size  ChaCha20_neon,.-ChaCha20_neon
-.comm  OPENSSL_armcap_P,4,4
+.extern        OPENSSL_armcap_P
 #endif
 ___
 }}}