summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-07-25 23:32:05 +0000
committerRui Ueyama <ruiu@google.com>2017-07-25 23:32:05 +0000
commit8109789a33c079d3c1a4aacb06516304d6a173e7 (patch)
tree5f781edb656bfddd9b4b57a84980daa2a974eea1
parentadae25d35df5e59d139455462df9a8be95338be9 (diff)
downloadbcm5719-llvm-8109789a33c079d3c1a4aacb06516304d6a173e7.tar.gz
bcm5719-llvm-8109789a33c079d3c1a4aacb06516304d6a173e7.zip
Simplify ignored options.
Since the flag is ignored anyway, it doesn't matter whether it is an alias or not. llvm-svn: 309055
-rw-r--r--lld/ELF/Options.td6
1 files changed, 2 insertions, 4 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 9a2616579e9..31fdfa20b6c 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -381,13 +381,12 @@ def plugin_opt_eq: J<"plugin-opt=">;
// Options listed below are silently ignored for now for compatibility.
def allow_shlib_undefined: F<"allow-shlib-undefined">;
-def cref: Flag<["--"], "cref">;
+def cref: F<"cref">;
def detect_odr_violations: F<"detect-odr-violations">;
def g: Flag<["-"], "g">;
def no_add_needed: F<"no-add-needed">;
def no_allow_shlib_undefined: F<"no-allow-shlib-undefined">;
-def no_copy_dt_needed_entries: F<"no-copy-dt-needed-entries">,
- Alias<no_add_needed>;
+def no_copy_dt_needed_entries: F<"no-copy-dt-needed-entries">;
def no_keep_memory: F<"no-keep-memory">;
def no_mmap_output_file: F<"no-mmap-output-file">;
def no_warn_common: F<"no-warn-common">;
@@ -402,4 +401,3 @@ def EB : F<"EB">;
def EL : F<"EL">;
def G: JoinedOrSeparate<["-"], "G">;
def Qy : F<"Qy">;
-
OpenPOWER on IntegriCloud