================
@@ -686,6 +687,18 @@ std::string Linux::getDynamicLinker(const ArgList &Args)
const {
Loader = ("ld-linux-" + ArchName + "-" + ABIName + ".so.1").str();
break;
}
+ case llvm::Triple::riscv32be: {
+ StringRef ABIName = tools::riscv::getRISCVABI(Args, Triple);
+ LibDir = "lib";
+ Loader = ("ld-linux-riscv32be-" + ABIName + ".so.1").str();
----------------
topperc wrote:
Isn't this equivalent to what you'd you get from
`llvm::Triple::getArchTypeName(Arch);` in the little endian code above?
Can we write a test for this code?
https://github.com/llvm/llvm-project/pull/165599
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits