Skip to content

Commit

Permalink
Add linux32-riscv32/BSD-riscv32 target
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #18308)

(cherry picked from commit 42ee6e7)
  • Loading branch information
ZenithalHourlyRate authored and t8m committed Nov 23, 2022
1 parent ef832b3 commit 624bd68
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Configurations/10-main.conf
Expand Up @@ -811,14 +811,20 @@ 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"],
perlasm_scheme => "linux64",
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" => {
Expand Down Expand Up @@ -1103,14 +1109,20 @@ 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"],
perlasm_scheme => "linux64",
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
Expand Down

0 comments on commit 624bd68

Please sign in to comment.