[ELF] - ignore the -rpath-link option

Just ignore the -rpath-link command line
option in the same way like gold do.

Behavior of lld/gold differs from gnu ld here.
GNU ld tries to resolve undefined symbols in all
shared object files at link time.

Differential revision: http://reviews.llvm.org/D18269

llvm-svn: 263876
This commit is contained in:
George Rimar 2016-03-19 11:15:54 +00:00
parent abae6b588b
commit 4f1dae295f
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ def no_add_needed : Flag<["--"], "no-add-needed">;
def no_fatal_warnings : Flag<["--"], "no-fatal-warnings">;
def no_warn_common : Flag<["--", "-"], "no-warn-common">;
def no_warn_mismatch : Flag<["--"], "no-warn-mismatch">;
def rpath_link : Separate<["--", "-"], "rpath-link">;
def version_script : Separate<["--"], "version-script">;
def warn_shared_textrel : Flag<["--"], "warn-shared-textrel">;
def G : Separate<["-"], "G">;