A weak reference to a symbol that is only weakly referenced in
dependencies should remain weak, not get promoted to undef or dropped.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@189793 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for --sysroot.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@189826 91177308-0d34-0410-b5e6-96231b3b80d8
Finish -rpath implementation to actually create the DT_RPATH entries.


git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@189847 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Fix fixme by making PECOFFLinkingContext non-const.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@189865 91177308-0d34-0410-b5e6-96231b3b80d8