[lld] r248503 - [ELF2] Remove ignored options handling.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 08:12:34 PDT 2015

Author: davide
Date: Thu Sep 24 10:12:34 2015
New Revision: 248503

URL: http://llvm.org/viewvc/llvm-project?rev=248503&view=rev
[ELF2] Remove ignored options handling.

This was prematurely committed (and I take the blame for that).
Ideally, we want to support only ignored options that are really used
by somebody. Some of the options listed are not even supported by gold
(but only by ld.bfd), which says a lot about their "real-world" usefulness.


Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=248503&r1=248502&r2=248503&view=diff
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Thu Sep 24 10:12:34 2015
@@ -31,21 +31,5 @@ def alias_discard_locals: Flag<["-"], "X
 def discard_none : Flag<["-"], "discard-none">,
      HelpText<"Keep all symbols in the symbol table">;
-/// Ignored options
-def dashg : Flag<["-"], "g">,
-     HelpText<"Ignored.">;
-def Qy : Flag<["-"], "Qy">,
-     HelpText<"Ignored for SVR4 Compatibility">;
-def qmagic : Flag<["-"], "qmagic">,
-     HelpText<"Ignored for Linux Compatibility">;
-def sunassert : Flag<["-"], "assert">,
-     HelpText<"Ignored for SunOS Compatibility">;
 def export_dynamic : Flag<["--"], "export-dynamic">,
      HelpText<"Put symbols in the dynamic symbol table">;

More information about the llvm-commits mailing list