aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2008-11-19 17:00:08 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2008-11-19 17:00:08 +0000
commit0c6ba44890e583b5822f225c9e96e9b2d357ebe4 (patch)
tree0bd13da58138657ab6ac2f862df92795c6337f84 /tools
parent8b677d0b88e1773a27684915b0e051f7e3b06435 (diff)
downloadexternal_llvm-0c6ba44890e583b5822f225c9e96e9b2d357ebe4.zip
external_llvm-0c6ba44890e583b5822f225c9e96e9b2d357ebe4.tar.gz
external_llvm-0c6ba44890e583b5822f225c9e96e9b2d357ebe4.tar.bz2
ignore the -m elf_i386 directive used in the linux kernel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-ld/llvm-ld.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp
index c8b0d58..ed52254 100644
--- a/tools/llvm-ld/llvm-ld.cpp
+++ b/tools/llvm-ld/llvm-ld.cpp
@@ -108,6 +108,9 @@ static cl::opt<bool> CO7("start-group", cl::Hidden,
static cl::opt<bool> CO8("end-group", cl::Hidden,
cl::desc("Compatibility option: ignored"));
+static cl::opt<std::string> CO9("m", cl::Hidden,
+ cl::desc("Compatibility option: ignored"));
+
/// This is just for convenience so it doesn't have to be passed around
/// everywhere.
static std::string progname;