commit | 746036c22a35c2b75993bd9865ab83610e214d99 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu May 26 20:31:00 2016 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu May 26 20:31:00 2016 +0000 |
tree | 92fc4ac5773161ac3d4f88d5f8602287c3de693f | |
parent | ddaf22d2bac8ecd682c462e96a3454d219dfab38 [diff] |
coff: fix weak alias to local. We were creating a weak external that tried to reference a static symbol. That would always fail to link with link.exe. We now create an external symbol in the same position as the local and refer to that. This works with link.exe and matches what gas does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270906 91177308-0d34-0410-b5e6-96231b3b80d8