forked from OSchip/llvm-project
[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:
parent
abae6b588b
commit
4f1dae295f
|
@ -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">;
|
||||
|
|
Loading…
Reference in New Issue