Add linux-arm64ilp32-clang target
authorHuiyue Xu <xuhuiyue@huawei.com>
Thu, 9 Nov 2023 02:54:02 +0000 (10:54 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 May 2024 09:48:58 +0000 (11:48 +0200)
While clang 15 config target by '--target', not cannot support
'-mabi=ilp32', so add the linux-arm64ilp32-clang target.

Signed-off-by: Huiyue Xu <xuhuiyue@huawei.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22666)

Configurations/10-main.conf

index ac30adc2c9ffe431a0387d56721b49a03fbaf9e4..36ecf3b263093f76a9a059b181a17b52cf7c9b31 100644 (file)
@@ -777,7 +777,14 @@ my %targets = (
         asm_arch         => 'aarch64',
         perlasm_scheme   => "linux64",
     },
-
+    "linux-arm64ilp32-clang" => {  # clang config abi by --target
+        inherit_from     => [ "linux-generic32" ],
+        CC               => "clang",
+        CXX              => "clang++",
+        bn_ops           => "SIXTY_FOUR_BIT RC4_CHAR",
+        asm_arch         => 'aarch64',
+        perlasm_scheme   => "linux64",
+    },
     "linux-mips32" => {
         # Configure script adds minimally required -march for assembly
         # support, if no -march was specified at command line.