[openssl] master update

Dr. Paul Dale pauli at openssl.org
Fri Nov 26 00:41:19 UTC 2021


The branch master has been updated
       via  8e22f9d6d956ad583afe10b986519731c113ac80 (commit)
      from  bc6d9c9395a74a31b4e0c4a8cd729197adbf6a46 (commit)


- Log -----------------------------------------------------------------
commit 8e22f9d6d956ad583afe10b986519731c113ac80
Author: Allan Jude <allan at klarasystems.com>
Date:   Fri Nov 19 18:58:51 2021 +0000

    Detect arm64-*-*bsd and enable assembly optimizations
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17084)

-----------------------------------------------------------------------

Summary of changes:
 Configurations/10-main.conf | 8 ++++++++
 util/perl/OpenSSL/config.pm | 1 +
 2 files changed, 9 insertions(+)

diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 8414b34ed9..9f8fb32a86 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1062,6 +1062,14 @@ my %targets = (
         perlasm_scheme   => "elf",
     },
 
+    "BSD-aarch64" => {
+        inherit_from     => [ "BSD-generic64" ],
+        lib_cppflags     => add("-DL_ENDIAN"),
+        bn_ops           => "SIXTY_FOUR_BIT_LONG",
+        asm_arch         => 'aarch64',
+        perlasm_scheme   => "linux64",
+    },
+
     "bsdi-elf-gcc" => {
         inherit_from     => [ "BASE_unix" ],
         CC               => "gcc",
diff --git a/util/perl/OpenSSL/config.pm b/util/perl/OpenSSL/config.pm
index d8be17cdc5..e3802ade43 100755
--- a/util/perl/OpenSSL/config.pm
+++ b/util/perl/OpenSSL/config.pm
@@ -745,6 +745,7 @@ EOF
       [ 'ia64-.*-.*bsd.*',        { target => "BSD-ia64" } ],
       [ 'x86_64-.*-dragonfly.*',  { target => "BSD-x86_64" } ],
       [ 'amd64-.*-.*bsd.*',       { target => "BSD-x86_64" } ],
+      [ 'arm64-.*-.*bsd.*',       { target => "BSD-aarch64" } ],
       [ '.*86.*-.*-.*bsd.*',
         sub {
             # mimic ld behaviour when it's looking for libc...


More information about the openssl-commits mailing list