ELF2: Ignore -( and -).

They are aliases to --start-group and --end-group, respectively.

llvm-svn: 251332
This commit is contained in:
Rui Ueyama 2015-10-26 19:05:44 +00:00
parent 6153ecc4fd
commit 0b2b964797
1 changed files with 2 additions and 0 deletions

View File

@ -134,11 +134,13 @@ def alias_undefined_u : Separate<["-"], "u">, Alias<undefined>;
def build_id : Flag<["--"], "build-id">;
def eh_frame_hdr : Flag<["--"], "eh-frame-hdr">;
def end_group : Flag<["--"], "end-group">;
def end_group_paren: Flag<["-"], ")">;
def fatal_warnings : Flag<["--"], "fatal-warnings">;
def no_add_needed : Flag<["--"], "no-add-needed">;
def no_fatal_warnings : Flag<["--"], "no-fatal-warnings">;
def no_warn_mismatch : Flag<["--"], "no-warn-mismatch">;
def start_group : Flag<["--"], "start-group">;
def start_group_paren: Flag<["-"], "(">;
def version_script : Separate<["--"], "version-script">;
def warn_common : Flag<["--"], "warn-common">;
def warn_shared_textrel : Flag<["--"], "warn-shared-textrel">;