This reverts commit r267154 and r267161.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 22 Apr 2016 16:39:59 +0000 (16:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 22 Apr 2016 16:39:59 +0000 (16:39 +0000)
commit197d6a882f434653b8a254e7ef54e6b3f6f26542
tree548cacfc2fefba3a8922de86209d9b4f86ca0892
parente2c64057089bb597fccd178a2baff353504d4150
This reverts commit r267154 and r267161.

It turns out that this will read data from the section to properly
handle Elf_Rel implicit addends.

Sorry for the noise.

Original messages:

Try to fix Windows lld build.

Move getRelocTarget to ObjectFile.
It doesn't use anything from the InputSection.

llvm-svn: 267163
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h
lld/ELF/MarkLive.cpp
lld/ELF/OutputSections.cpp