Simplify got handling.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 15 Apr 2016 19:14:18 +0000 (19:14 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 15 Apr 2016 19:14:18 +0000 (19:14 +0000)
commit5628ee76318a887c811defe9f3e4c42d6b7c4236
tree3ccce7608875ddea5041a5d2a0f9bab0b528032d
parentf9f1c5619afe5f683f6c7aec1b50e29999a8277d
Simplify got handling.

Each getRelExpr is now expected to return the correct got expression
instead of having Writer patch it up with needsGot.

llvm-svn: 266466
lld/ELF/Target.cpp
lld/ELF/Target.h
lld/ELF/Writer.cpp