19 lines
640 B
Diff
19 lines
640 B
Diff
--- a/lib/Driver/ToolChains/Linux.cpp
|
|
+++ b/lib/Driver/ToolChains/Linux.cpp
|
|
@@ -593,12 +593,12 @@ std::string Linux::getDynamicLinker(const ArgList &Args) const {
|
|
Loader = "ld.so.1";
|
|
break;
|
|
case llvm::Triple::ppc64:
|
|
- LibDir = "lib64";
|
|
+ LibDir = "lib";
|
|
Loader =
|
|
- (tools::ppc::hasPPCAbiArg(Args, "elfv2")) ? "ld64.so.2" : "ld64.so.1";
|
|
+ (tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2";
|
|
break;
|
|
case llvm::Triple::ppc64le:
|
|
- LibDir = "lib64";
|
|
+ LibDir = "lib";
|
|
Loader =
|
|
(tools::ppc::hasPPCAbiArg(Args, "elfv1")) ? "ld64.so.1" : "ld64.so.2";
|
|
break;
|