summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongren (Zenithal) Zheng <i@zenithal.me>2022-05-13 23:23:29 +0800
committerTomas Mraz <tomas@openssl.org>2022-11-23 18:21:43 +0100
commit624bd6890da8993786efe51fee2df6fdb28cf546 (patch)
tree70ecf16904385763c9616dba2dbb1c90a67033b8
parentef832b3b5ddc67e7120fe6fb1cf2c147f92fc163 (diff)
Add linux32-riscv32/BSD-riscv32 target
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18308) (cherry picked from commit 42ee6e7be43c57136d71e5612fed22a06f7f5d0e)
-rw-r--r--Configurations/10-main.conf16
1 files changed, 14 insertions, 2 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 26cf9621a2..fea46744a4 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -811,7 +811,7 @@ my %targets = (
multilib => "64",
},
- # riscv64 below refers to contemporary RISCV Architecture
+ # riscv below refers to contemporary RISCV Architecture
# specifications,
"linux64-riscv64" => {
inherit_from => [ "linux-generic64"],
@@ -819,6 +819,12 @@ my %targets = (
asm_arch => 'riscv64',
},
+ "linux32-riscv32" => {
+ inherit_from => [ "linux-generic32"],
+ perlasm_scheme => "linux32",
+ asm_arch => 'riscv32',
+ },
+
# loongarch64 below refers to contemporary LoongArch Architecture
# specifications,
"linux64-loongarch64" => {
@@ -1103,7 +1109,7 @@ my %targets = (
perlasm_scheme => "linux64le",
},
- # riscv64 below refers to contemporary RISCV Architecture
+ # riscv below refers to contemporary RISCV Architecture
# specifications,
"BSD-riscv64" => {
inherit_from => [ "BSD-generic64"],
@@ -1111,6 +1117,12 @@ my %targets = (
asm_arch => 'riscv64',
},
+ "BSD-riscv32" => {
+ inherit_from => [ "BSD-generic32"],
+ perlasm_scheme => "linux32",
+ asm_arch => 'riscv32',
+ },
+
"BSD-armv4" => {
################################################################
# Note that -march is not among compiler options in linux-armv4