summaryrefslogtreecommitdiff
path: root/test/elftest64.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-17 20:01:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-17 20:01:16 -0700
commit70e6c2a6cb954edcbc2d403519a0eb662987af61 (patch)
tree846eb08821c8ba36de93e3950890728af5ed81b8 /test/elftest64.c
parent8140afbaf11836aa13e633c3c6a50813b3f8f59d (diff)
downloadnasm-70e6c2a6cb954edcbc2d403519a0eb662987af61.tar.gz
nasm-70e6c2a6cb954edcbc2d403519a0eb662987af61.tar.bz2
nasm-70e6c2a6cb954edcbc2d403519a0eb662987af61.zip
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>
Diffstat (limited to 'test/elftest64.c')
0 files changed, 0 insertions, 0 deletions