Skip to content

Commit 167350d

Browse files
committed
Add lp64e RISC-V ABI
1 parent 8b9f0f9 commit 167350d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
325325
"" | "ilp32" | "lp64" => (),
326326
"ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
327327
"ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE,
328-
"ilp32e" => e_flags |= elf::EF_RISCV_RVE,
328+
"ilp32e" | "lp64e" => e_flags |= elf::EF_RISCV_RVE,
329329
_ => bug!("unknown RISC-V ABI name"),
330330
}
331331

0 commit comments

Comments
 (0)