ELF64: GOT and PLT references need a symbol (a slot!) to reference
commit70e6c2a6cb954edcbc2d403519a0eb662987af61
authorH. Peter Anvin <hpa@zytor.com>
Sat, 18 Oct 2008 03:01:16 +0000 (17 20:01 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 18 Oct 2008 03:01:16 +0000 (17 20:01 -0700)
tree846eb08821c8ba36de93e3950890728af5ed81b8
parent8140afbaf11836aa13e633c3c6a50813b3f8f59d
ELF64: GOT and PLT references need a symbol (a slot!) to reference

GOT and PLT references need a symbol; after all, they reference a GOT
or PLT slot.  Thus, they need elf_add_gsym_reloc().  Mungify the
interface so that they can communicate the need for the PC-shifted
offset into the relocation.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outelf64.c