summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-01-08 02:12:01 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-01-08 02:12:01 +0000
commit8f80cd92d9c77c58bb39add16b4ed2c6dd3a721d (patch)
tree1d5137e2605cd1fcaf0c8dd65172376991457d1d
parent9cf448039201d1d744a11586d9b3f7ffe0fbab81 (diff)
downloadbcm5719-llvm-8f80cd92d9c77c58bb39add16b4ed2c6dd3a721d.tar.gz
bcm5719-llvm-8f80cd92d9c77c58bb39add16b4ed2c6dd3a721d.zip
[lld] Add and ignore some flags for ld compat.
llvm-svn: 171835
-rw-r--r--lld/lib/Driver/LDOptions.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/lld/lib/Driver/LDOptions.td b/lld/lib/Driver/LDOptions.td
index 1d1cf402c2a..059e8c83f05 100644
--- a/lld/lib/Driver/LDOptions.td
+++ b/lld/lib/Driver/LDOptions.td
@@ -15,3 +15,9 @@ def relocatable_r : Flag<["-"], "r">, Alias<relocatable>;
def OCTOTHORPE_OCTOTHORPE_OCTOTHORPE : Flag<["-"], "###">;
def emit_yaml : Flag<["-"], "emit-yaml">;
+
+def m : Separate<["-"], "m">;
+
+def static : Flag<["-"], "static">;
+
+def L : Joined<["-"], "L">;
OpenPOWER on IntegriCloud