summaryrefslogtreecommitdiff
path: root/tools/llvm-ld
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
commit199b66a535a131000b9f824ded2c59f4a5f8b683 (patch)
tree4f778e54acc493310c8e208684b2220eeb1488a8 /tools/llvm-ld
parentef0b14593bb8dd5651606925584adb1ac1096ba5 (diff)
downloadllvm-199b66a535a131000b9f824ded2c59f4a5f8b683.tar.gz
llvm-199b66a535a131000b9f824ded2c59f4a5f8b683.tar.bz2
llvm-199b66a535a131000b9f824ded2c59f4a5f8b683.tar.xz
don't pass -f to llc, it doesn't have it anymore. Patch by Kevin Fan (PR7090)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r--tools/llvm-ld/llvm-ld.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp
index ce52b59f0d..ad6956cabd 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/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());