don't pass -f to llc, it doesn't have it anymore. Patch by Kevin Fan (PR7090)
authorChris Lattner <sabre@nondot.org>
Fri, 7 May 2010 16:27:04 +0000 (16:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 May 2010 16:27:04 +0000 (16:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103263 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-ld/llvm-ld.cpp

index ce52b59f0d26742a669db4d6a2acdbfbec200fee..ad6956cabd2442db1a477e20611b5d0969e0c1ab 100644 (file)
@@ -266,7 +266,6 @@ static int GenerateAssembly(const std::string &OutputFilename,
   // We will use GCC to assemble the program so set the assembly syntax to AT&T,
   // regardless of what the target in the bitcode file is.
   args.push_back("-x86-asm-syntax=att");
-  args.push_back("-f");
   args.push_back("-o");
   args.push_back(OutputFilename.c_str());
   args.push_back(InputFilename.c_str());
@@ -289,7 +288,6 @@ static int GenerateCFile(const std::string &OutputFile,
   std::vector<const char*> args;
   args.push_back(llc.c_str());
   args.push_back("-march=c");
-  args.push_back("-f");
   args.push_back("-o");
   args.push_back(OutputFile.c_str());
   args.push_back(InputFile.c_str());