Add riscv64 target
authorluyahan <yahan@iscas.ac.cn>
Mon, 29 Mar 2021 07:33:23 +0000 (16:33 +0900)
committerTomas Mraz <tomas@openssl.org>
Thu, 1 Apr 2021 13:23:48 +0000 (15:23 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14723)

Configurations/10-main.conf

index ef892b555aed091186125cd77bf32be59fd560c8..9529bbfe5c864d19de7494faafea8da56e4ee755 100644 (file)
@@ -805,6 +805,13 @@ my %targets = (
         multilib         => "64",
     },
 
+    # riscv64 below refers to contemporary RISCV Architecture
+    # specifications,
+    "linux64-riscv64" => {
+        inherit_from     => [ "linux-generic64"],
+        perlasm_scheme   => "linux64",
+    },
+
     #### IA-32 targets...
     #### These two targets are a bit aged and are to be used on older Linux
     #### machines where gcc doesn't understand -m32 and -m64