[lld] r248389 - [ELF2] - added ignored command line options for compatibility.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 08:46:44 PDT 2015


Author: davide
Date: Wed Sep 23 10:46:44 2015
New Revision: 248389

URL: http://llvm.org/viewvc/llvm-project?rev=248389&view=rev
Log:
[ELF2] - added ignored command line options for compatibility.

Patch by George Grimar.

Differential Revision:	 http://reviews.llvm.org/D13097

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=248389&r1=248388&r2=248389&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Wed Sep 23 10:46:44 2015
@@ -28,5 +28,21 @@ def discard_locals : Flag<["-"], "discar
 def alias_discard_locals: Flag<["-"], "X">,
      Alias<discard_locals>;
 
+//===----------------------------------------------------------------------===//
+/// 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