summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2017-11-02 18:16:01 +0000
committerjkim <jkim@FreeBSD.org>2017-11-02 18:16:01 +0000
commit0517887e7b0c526d672bf895c4b1e763b9dda0d1 (patch)
tree6eb5156cb49208a512697539d19cf513a70de863 /crypto
parent3083e2c04523a9d20648f32e48500f0ccf740b3e (diff)
downloadFreeBSD-src-0517887e7b0c526d672bf895c4b1e763b9dda0d1.zip
FreeBSD-src-0517887e7b0c526d672bf895c4b1e763b9dda0d1.tar.gz
MFC: r307976
Build OpenSSL assembly sources for aarch64.
Diffstat (limited to 'crypto')
-rwxr-xr-xcrypto/openssl/crypto/aes/asm/aesv8-armx.pl2
-rw-r--r--crypto/openssl/crypto/arm64cpuid.S1
-rwxr-xr-xcrypto/openssl/crypto/modes/asm/ghashv8-armx.pl2
3 files changed, 2 insertions, 3 deletions
diff --git a/crypto/openssl/crypto/aes/asm/aesv8-armx.pl b/crypto/openssl/crypto/aes/asm/aesv8-armx.pl
index 95ebae3..0ed263f 100755
--- a/crypto/openssl/crypto/aes/asm/aesv8-armx.pl
+++ b/crypto/openssl/crypto/aes/asm/aesv8-armx.pl
@@ -42,7 +42,7 @@ $code=<<___;
#if __ARM_MAX_ARCH__>=7
.text
___
-$code.=".arch armv8-a+crypto\n" if ($flavour =~ /64/);
+# $code.=".arch armv8-a+crypto\n" if ($flavour =~ /64/);
$code.=".arch armv7-a\n.fpu neon\n.code 32\n" if ($flavour !~ /64/);
#^^^^^^ this is done to simplify adoption by not depending
# on latest binutils.
diff --git a/crypto/openssl/crypto/arm64cpuid.S b/crypto/openssl/crypto/arm64cpuid.S
index 4778ac1..d16a7b5 100644
--- a/crypto/openssl/crypto/arm64cpuid.S
+++ b/crypto/openssl/crypto/arm64cpuid.S
@@ -1,7 +1,6 @@
#include "arm_arch.h"
.text
-.arch armv8-a+crypto
.align 5
.global _armv7_neon_probe
diff --git a/crypto/openssl/crypto/modes/asm/ghashv8-armx.pl b/crypto/openssl/crypto/modes/asm/ghashv8-armx.pl
index 0886d21..3026b44 100755
--- a/crypto/openssl/crypto/modes/asm/ghashv8-armx.pl
+++ b/crypto/openssl/crypto/modes/asm/ghashv8-armx.pl
@@ -49,7 +49,7 @@ $code=<<___;
.text
___
-$code.=".arch armv8-a+crypto\n" if ($flavour =~ /64/);
+# $code.=".arch armv8-a+crypto\n" if ($flavour =~ /64/);
$code.=".fpu neon\n.code 32\n" if ($flavour !~ /64/);
################################################################################
OpenPOWER on IntegriCloud