Skip to content

Commit

Permalink
[ELF2] - added ignored command line options for compatibility.
Browse files Browse the repository at this point in the history
Patch by George Grimar.

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

llvm-svn: 248389
  • Loading branch information
dcci committed Sep 23, 2015
1 parent a3eaa20 commit aab93b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lld/ELF/Options.td
Expand Up @@ -28,5 +28,21 @@ def discard_locals : Flag<["-"], "discard-locals">,
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">;

0 comments on commit aab93b5

Please sign in to comment.