Move target independent code out of x86_64 only path.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Feb 2016 18:24:23 +0000 (18:24 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Feb 2016 18:24:23 +0000 (18:24 +0000)
commit795dc5a0fbb056f9756c4fee4f05fffffa22bf73
tree9fb88af8e041c0168a8c19c6a4b2b44fd266ee32
parentca8e7e2e23d5c38d6e0a0d8437272556b200ffec
Move target independent code out of x86_64 only path.

The logic for deciding if an undefined symbol should have the value of a
got entry is not target specific.

llvm-svn: 261760
lld/ELF/InputSection.cpp
lld/ELF/Target.cpp
lld/ELF/Target.h
lld/ELF/Writer.cpp
lld/test/ELF/Inputs/undef-with-plt-addr.s
lld/test/ELF/shared.s
lld/test/ELF/undef-with-plt-addr-i686.s [new file with mode: 0644]