summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld/llvm-ld.cpp
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
commit0f09564ffc47f55379498ef1ea9b23bbc2eb5027 (patch)
tree116ad07bed7eca66d2224c0fd2ab008bb4a2ef9c /llvm/tools/llvm-ld/llvm-ld.cpp
parent7f480e04eb1e0d7e2e1b5b27c98af65728a8dccb (diff)
downloadbcm5719-llvm-0f09564ffc47f55379498ef1ea9b23bbc2eb5027.tar.gz
bcm5719-llvm-0f09564ffc47f55379498ef1ea9b23bbc2eb5027.zip
ignore the -m elf_i386 directive used in the linux kernel
llvm-svn: 59642
Diffstat (limited to 'llvm/tools/llvm-ld/llvm-ld.cpp')
-rw-r--r--llvm/tools/llvm-ld/llvm-ld.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp
index c8b0d58241f..ed52254573b 100644
--- a/llvm/tools/llvm-ld/llvm-ld.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud