[lld] r248056 - [elf2] Relocate against undefined weak symbols.

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 17:25:29 PDT 2015


On Fri, Sep 18, 2015 at 3:32 PM, Rafael EspĂ­ndola
<rafael.espindola at gmail.com> wrote:
>> +.global _start
>> +_start:
>> +  movl $1, sym1(%rip)
>> +
>> +.weak sym1
>> +
>> +// CHECK: movl    $1, -69642(%rip)
>>
>
> Please expand the description on why -69642 is the correct answer. See
> got.s for an example.
>
> Cheers,
> Rafael

r248071

- Michael Spencer


More information about the llvm-commits mailing list