The branch openssl-3.0 has been updated via fb72a093f88f7332069659994b67f6b19aceb865 (commit) from 9c85ed8275b49bf240752386b06601358ca1e485 (commit)
- Log ----------------------------------------------------------------- commit fb72a093f88f7332069659994b67f6b19aceb865 Author: Piotr Kubaj <pku...@freebsd.org> Date: Sat Dec 18 15:21:51 2021 +0100 Add support for BSD-riscv64 target Reviewed-by: Tomas Mraz <to...@openssl.org> Reviewed-by: Ben Kaduk <ka...@mit.edu> Reviewed-by: Paul Dale <pa...@openssl.org> (cherry picked from commit c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15) (Merged from https://github.com/openssl/openssl/pull/17333) ----------------------------------------------------------------------- Summary of changes: Configurations/10-main.conf | 7 +++++++ util/perl/OpenSSL/config.pm | 1 + 2 files changed, 8 insertions(+) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 8414b34ed9..a7294d2ad1 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1062,6 +1062,13 @@ my %targets = ( perlasm_scheme => "elf", }, + # riscv64 below refers to contemporary RISCV Architecture + # specifications, + "BSD-riscv64" => { + inherit_from => [ "BSD-generic64"], + 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 7250791b5b..81e9a03b48 100755 --- a/util/perl/OpenSSL/config.pm +++ b/util/perl/OpenSSL/config.pm @@ -741,6 +741,7 @@ EOF defines => [ 'L_ENDIAN' ] } ], [ 'powerpc64-.*-.*bsd.*', { target => "BSD-generic64", defines => [ 'B_ENDIAN' ] } ], + [ 'riscv64-.*-.*bsd.*', { target => "BSD-riscv64" } ], [ 'sparc64-.*-.*bsd.*', { target => "BSD-sparc64" } ], [ 'ia64-.*-.*bsd.*', { target => "BSD-ia64" } ], [ 'x86_64-.*-dragonfly.*', { target => "BSD-x86_64" } ],