diff options
| author | Jan Bujak <jan@parity.io> | 2024-10-30 11:28:37 +0000 |
|---|---|---|
| committer | Jan Bujak <jan@parity.io> | 2024-10-30 20:28:37 +0900 |
| commit | 167350d3e99f8f430949116b1e7bcdb38f9ba26c (patch) | |
| tree | 1e70db23b16d060f566c6eaaf2a2c7d2c2a984fc | |
| parent | 8b9f0f9c1cf26c8685d3f62341de4b2132b372af (diff) | |
| download | rust-167350d3e99f8f430949116b1e7bcdb38f9ba26c.tar.gz rust-167350d3e99f8f430949116b1e7bcdb38f9ba26c.zip | |
Add `lp64e` RISC-V ABI
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/metadata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/metadata.rs b/compiler/rustc_codegen_ssa/src/back/metadata.rs index 8857fda1e97..49365ace0e2 100644 --- a/compiler/rustc_codegen_ssa/src/back/metadata.rs +++ b/compiler/rustc_codegen_ssa/src/back/metadata.rs @@ -325,7 +325,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static "" | "ilp32" | "lp64" => (), "ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE, "ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE, - "ilp32e" => e_flags |= elf::EF_RISCV_RVE, + "ilp32e" | "lp64e" => e_flags |= elf::EF_RISCV_RVE, _ => bug!("unknown RISC-V ABI name"), } |
