I am having a bit of a hard time understanding the proper operation of
the "exact" flag to elf_add_gsym_reloc(). We apparently won't
generate proper GOTOFF64 relocations with this flag set; it is
possible that there are *no* proper uses of this flag. This clearly
needs to be figured out.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
"references to be qword absolute");
} else {
elf_add_gsym_reloc(s, segment, addr, 0,
- R_X86_64_GOTOFF64, true);
+ R_X86_64_GOTOFF64, false);
addr = 0;
}
} else if (wrt == elf_got_sect + 1) {