[PATCH] D25560: [ELF] Emit relocation for GOT entry even if it is an absolute symbol
Rafael Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 15:23:38 PDT 2016
It is hard to see this as being the correct behaviour.
R_X86_64_RELATIVE is supposed to be load address + addend.
.long foo at gotpcrel
The entry in the got should always contain 42, not 42 + load address, no?
On 26 October 2016 at 18:06, Rafael Espíndola
<rafael.espindola at gmail.com> wrote:
> On 25 October 2016 at 09:24, Eugene Leviant <evgeny.leviant at gmail.com> wrote:
>> evgeny777 added a comment.
>> rL LLVM
More information about the llvm-commits