Add elf riscv32 and elf riscv64 as options in getLDMOption during construction of link job.

This commit is contained in:
Matt Whiteside 2019-03-10 11:51:35 -07:00 committed by Andrew Kelley
parent 3cdd2c0bdd
commit b63b3dc756

View File

@ -627,6 +627,10 @@ static const char *getLDMOption(const ZigTarget *t) {
return "elf_x86_64_fbsd";
}
return "elf_x86_64";
case ZigLLVM_riscv32:
return "elf32lriscv";
case ZigLLVM_riscv64:
return "elf64lriscv";
default:
zig_unreachable();
}