[ELF] - Read 16 bits for R_386_16/R_386_PC16 relocations instead of 32.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 8 Dec 2016 13:50:28 +0000 (13:50 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 8 Dec 2016 13:50:28 +0000 (13:50 +0000)
commitc49fd8c47791572c142af48ac10c9e6bb486c03f
tree18eecd3775f846795f476cabffeb406f6def7dd0
parentbaffdb8bc28e870de0810c4517a1ade1f4cc6390
[ELF] - Read 16 bits for R_386_16/R_386_PC16 relocations instead of 32.

Looks it was theoretically incorrect if the section is at the very end of the file as
reading 32 bits would pass the end of file

llvm-svn: 289046
lld/ELF/Target.cpp