[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.
Given the
.long foo at gotpcrel
The entry in the got should always contain 42, not 42 + load address, no?
Cheers,
Rafael
On 26 October 2016 at 18:06, Rafael EspĂndola
<rafael.espindola at gmail.com> wrote:
> looking
>
> On 25 October 2016 at 09:24, Eugene Leviant <evgeny.leviant at gmail.com> wrote:
>> evgeny777 added a comment.
>>
>> Ping
>>
>>
>> Repository:
>> rL LLVM
>>
>> https://reviews.llvm.org/D25560
>>
>>
>>
More information about the llvm-commits
mailing list