mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Ensure there's only one copy of OPENSSL_armcap_P in libcrypto.a
Change-Id: Ia94e528a2d55934435de6a2949784c52eb38d82f Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20621)
This commit is contained in:
parent
c3637cafd3
commit
7b508cd1e1
@ -25,9 +25,7 @@
|
||||
#endif
|
||||
#include "arm_arch.h"
|
||||
|
||||
#ifdef __aarch64__
|
||||
unsigned int OPENSSL_armcap_P = 0;
|
||||
#endif
|
||||
unsigned int OPENSSL_arm_midr = 0;
|
||||
unsigned int OPENSSL_armv8_rsa_neonized = 0;
|
||||
|
||||
|
@ -292,8 +292,7 @@ atomic_add_spinlock:
|
||||
.word 0
|
||||
#endif
|
||||
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.hidden OPENSSL_armcap_P
|
||||
.extern OPENSSL_armcap_P
|
||||
___
|
||||
|
||||
print $code;
|
||||
|
@ -325,7 +325,7 @@ $code.=<<___;
|
||||
.align 5
|
||||
|
||||
#if __ARM_MAX_ARCH__>=7
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
@ -749,7 +749,7 @@ $code.=<<___;
|
||||
.asciz "Montgomery multiplication for ARMv4/NEON, CRYPTOGAMS by <appro\@openssl.org>"
|
||||
.align 2
|
||||
#if __ARM_MAX_ARCH__>=7
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
@ -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
|
||||
___
|
||||
}}}
|
||||
|
@ -1239,7 +1239,7 @@ $code.=<<___;
|
||||
.asciz "Poly1305 for ARMv4/NEON, CRYPTOGAMS by <appro\@openssl.org>"
|
||||
.align 2
|
||||
#if __ARM_MAX_ARCH__>=7
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
@ -707,7 +707,7 @@ ___
|
||||
}}}
|
||||
$code.=<<___;
|
||||
#if __ARM_MAX_ARCH__>=7
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
@ -693,7 +693,7 @@ $code.=<<___;
|
||||
.asciz "SHA256 block transform for ARMv4/NEON/ARMv8, CRYPTOGAMS by <appro\@openssl.org>"
|
||||
.align 2
|
||||
#if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
@ -660,7 +660,7 @@ $code.=<<___;
|
||||
.asciz "SHA512 block transform for ARMv4/NEON, CRYPTOGAMS by <appro\@openssl.org>"
|
||||
.align 2
|
||||
#if __ARM_MAX_ARCH__>=7 && !defined(__KERNEL__)
|
||||
.comm OPENSSL_armcap_P,4,4
|
||||
.extern OPENSSL_armcap_P
|
||||
#endif
|
||||
___
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user