Add lp64e
RISC-V ABI
This commit is contained in:
parent
8b9f0f9c1c
commit
167350d3e9
@ -325,7 +325,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
|
|||||||
"" | "ilp32" | "lp64" => (),
|
"" | "ilp32" | "lp64" => (),
|
||||||
"ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
|
"ilp32f" | "lp64f" => e_flags |= elf::EF_RISCV_FLOAT_ABI_SINGLE,
|
||||||
"ilp32d" | "lp64d" => e_flags |= elf::EF_RISCV_FLOAT_ABI_DOUBLE,
|
"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"),
|
_ => bug!("unknown RISC-V ABI name"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user