summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld/llvm-ld.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-05-07 16:27:04 +0000
committerChris Lattner <sabre@nondot.org>2010-05-07 16:27:04 +0000
commitb87e3fee0f285797736ed857b8cb93f5697fc96a (patch)
treeede08eddd5ae6ba3402f9709cfb03284446890be /llvm/tools/llvm-ld/llvm-ld.cpp
parentfb64b5dff42792979e7fbf019f199128a7ccd4d4 (diff)
downloadbcm5719-llvm-b87e3fee0f285797736ed857b8cb93f5697fc96a.tar.gz
bcm5719-llvm-b87e3fee0f285797736ed857b8cb93f5697fc96a.zip
don't pass -f to llc, it doesn't have it anymore. Patch by Kevin Fan (PR7090)
llvm-svn: 103263
Diffstat (limited to 'llvm/tools/llvm-ld/llvm-ld.cpp')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index ce52b59f0d2..ad6956cabd2 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/tools/llvm-ld/llvm-ld.cpp
@@ -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());
OpenPOWER on IntegriCloud