diff options
author | Allan Jude <allan@klarasystems.com> | 2021-11-19 19:06:52 +0000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-05-05 11:13:43 +0200 |
commit | ac2d4cb656b3a796db3dc6f8873e91e67907372d (patch) | |
tree | 65989fe0055f6b517152b32604e99b0afff72fe8 | |
parent | ec1b4bf26c1b2440546f323873c578374f60b2de (diff) |
1_1_1-stable: Detect arm64-*-*bsd and enable assembly optimizations
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17085)
-rw-r--r-- | Configurations/10-main.conf | 7 | ||||
-rwxr-xr-x | config | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 8ca8235ed5..2fcb96a047 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", @@ -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 |