Add loongarch64 target
authorShi Pujin <shipujin.t@gmail.com>
Fri, 15 Jul 2022 07:14:07 +0000 (15:14 +0800)
committerHugo Landau <hlandau@openssl.org>
Mon, 18 Jul 2022 07:02:59 +0000 (08:02 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18807)

Configurations/10-main.conf

index 66bc81dfb4224da0ec5405d3fe8267fb30c30552..c824f4ed4a0315c2ef5ed5cfa7d480b6e62e0e6a 100644 (file)
@@ -818,6 +818,13 @@ my %targets = (
         perlasm_scheme   => "linux64",
     },
 
+    # loongarch64 below refers to contemporary LoongArch Architecture
+    # specifications,
+    "linux64-loongarch64" => {
+        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