[ELF] - X86_64: Use white list for relocations checked by isPicRel.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 4 Apr 2018 15:21:21 +0000 (15:21 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 4 Apr 2018 15:21:21 +0000 (15:21 +0000)
commit785a79133b124d82c7124c8bff1727cf950fb1d4
treeeb11b321e3ec0fdd02d82ef2893c1c209b109437
parent0cc0306a758be76af2072a75a148e1975591a742
[ELF] - X86_64: Use white list for relocations checked by isPicRel.

isPicRel is used to check if we want to create the dynamic relocations.
Not all of the dynamic relocations we create are passing through this
check, but those that are, probably better be whitelisted.

Differential revision: https://reviews.llvm.org/D45252

llvm-svn: 329203
lld/ELF/Arch/X86_64.cpp