From: Allan Jude Date: Fri, 19 Nov 2021 19:06:52 +0000 (+0000) Subject: 1_1_1-stable: Detect arm64-*-*bsd and enable assembly optimizations X-Git-Tag: OpenSSL_1_1_1p~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac2d4cb656b3a796db3dc6f8873e91e67907372d;p=thirdparty%2Fopenssl.git 1_1_1-stable: Detect arm64-*-*bsd and enable assembly optimizations Reviewed-by: Paul Dale Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17085) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 8ca8235ed56..2fcb96a0470 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -995,6 +995,13 @@ my %targets = ( perlasm_scheme => "linux64", }, + "BSD-aarch64" => { + inherit_from => [ "BSD-generic64", asm("aarch64_asm") ], + lib_cppflags => add("-DL_ENDIAN"), + bn_ops => "SIXTY_FOUR_BIT_LONG", + perlasm_scheme => "linux64", + }, + "bsdi-elf-gcc" => { inherit_from => [ "BASE_unix", asm("x86_elf_asm") ], CC => "gcc", diff --git a/config b/config index 49422981ae8..f43627cfe8a 100755 --- a/config +++ b/config @@ -709,6 +709,7 @@ case "$GUESSOS" in ia64-*-*bsd*) OUT="BSD-ia64" ;; x86_64-*-dragonfly*) OUT="BSD-x86_64" ;; amd64-*-*bsd*) OUT="BSD-x86_64" ;; + arm64-*-*bsd*) OUT="BSD-aarch64" ;; *86*-*-*bsd*) # mimic ld behaviour when it's looking for libc... if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD libc=/usr/lib/libc.so