[cfe-commits] r160231 - /cfe/trunk/lib/Driver/Tools.cpp

David Chisnall csdavec at swan.ac.uk
Sun Jul 15 05:53:07 PDT 2012


Author: theraven
Date: Sun Jul 15 07:53:06 2012
New Revision: 160231

URL: http://llvm.org/viewvc/llvm-project?rev=160231&view=rev
Log:
Enable new linker behaviour on FreeBSD.


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=160231&r1=160230&r2=160231&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Sun Jul 15 07:53:06 2012
@@ -4996,6 +4996,8 @@
                                  const char *LinkingOutput) const {
   const Driver &D = getToolChain().getDriver();
   ArgStringList CmdArgs;
+  CmdArgs.push_back("--hash-style=both");
+  CmdArgs.push_back("--enable-new-dtags");
 
   if (!D.SysRoot.empty())
     CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot));





More information about the cfe-commits mailing list