[cfe-commits] r129299 - /cfe/trunk/lib/Driver/Tools.cpp
Chris Lattner
sabre at nondot.org
Mon Apr 11 14:15:37 PDT 2011
Author: lattner
Date: Mon Apr 11 16:15:37 2011
New Revision: 129299
URL: http://llvm.org/viewvc/llvm-project?rev=129299&view=rev
Log:
fix the path to ld.so for darwin/ppc, resolving PR9677. Patch
by Jeremy Huddleston!
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=129299&r1=129298&r2=129299&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Apr 11 16:15:37 2011
@@ -3724,9 +3724,9 @@
ToolChain.getArch() == llvm::Triple::thumb)
CmdArgs.push_back("/lib/ld-linux.so.3");
else if (ToolChain.getArch() == llvm::Triple::ppc)
- CmdArgs.push_back("/lib/ld.so");
+ CmdArgs.push_back("/lib/ld.so.1");
else if (ToolChain.getArch() == llvm::Triple::ppc64)
- CmdArgs.push_back("/lib64/ld64.so");
+ CmdArgs.push_back("/lib64/ld64.so.1");
else
CmdArgs.push_back("/lib64/ld-linux-x86-64.so.2");
}
More information about the cfe-commits
mailing list