Store the binding in the Symbol.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Apr 2016 13:50:46 +0000 (13:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Apr 2016 13:50:46 +0000 (13:50 +0000)
commit9e32e4fe860534c1002d65e913287e309582d97c
tree937a692fc75d8db5b56a6054e5c1c76f64e2ff02
parenta24427533f16c173b2f6a4a6771b816db660c936
Store the binding in the Symbol.

This remove a fixme, cleans up the weak undef interaction with archives and
lets us keep weak undefs still weak if they resolve to shared.

llvm-svn: 267555
lld/ELF/OutputSections.cpp
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.h
lld/ELF/Writer.cpp
lld/test/ELF/relocation-copy-alias.s
lld/test/ELF/weak-undef-shared.s [new file with mode: 0644]