From 78aa81d6ed058de3c5211d15cd345238ad6997fe Mon Sep 17 00:00:00 2001 From: Shankar Easwaran Date: Mon, 10 Nov 2014 14:54:49 +0000 Subject: [PATCH] [Gnu] Add options that are ignored Add options that are ignored and exists just for compatibility reasons. llvm-svn: 221585 --- lld/lib/Driver/GnuLdOptions.td | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lld/lib/Driver/GnuLdOptions.td b/lld/lib/Driver/GnuLdOptions.td index ca55152..c3ed1426 100644 --- a/lld/lib/Driver/GnuLdOptions.td +++ b/lld/lib/Driver/GnuLdOptions.td @@ -274,6 +274,21 @@ def alias_output_filetype: Joined<["--"], "output-filetype=">, Alias; //===----------------------------------------------------------------------===// +/// Ignored options +//===----------------------------------------------------------------------===// +def grp_ignored: OptionGroup<"ignored">, + HelpText<"GNU Options ignored for Compatibility ">; +def dashg : Flag<["-"], "g">, + HelpText<"Ignored.">, + Group; +def Qy : Flag<["-"], "Qy">, + HelpText<"Ignored for SVR4 Compatibility">, + Group; +def qmagic : Flag<["-"], "qmagic">, + HelpText<"Ignored for Linux Compatibility">, + Group; + +//===----------------------------------------------------------------------===// /// Help //===----------------------------------------------------------------------===// def help : Flag<["--"], "help">, -- 2.7.4