[llvm-dev] clang assembler keeps .Linfo_string symbols?

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Tue May 9 12:23:08 PDT 2017


Normally they don't. Sometimes they are required, which is what
ELFObjectWriter::shouldRelocateWithSymbol tries to figure out.

Cheers,
Rafael

Michael Johnson <mpj at rowley.co.uk> writes:

> Hi Rafael,
>
> This probably doesn't help, but I wouldn't expect symbols starting with 
> .L to appear in an object file (unless -L is supplied to the assembler).
>
> Regards
> Michael
>> Michael Johnson <mpj at rowley.co.uk> writes:
>>
>>> That was probably my fault - not sure of the niceties of the list. Also
>>> not sure I understand why the integrated assembler behaves differently.
>>> I guess gold is never used with object files produced this way?
>> Good question. It is possible gas has a more targeted way of avoiding
>> the gold bug, or they might not care about it.
>>
>> I would not be opposed to trying to remove the workaround to see how
>> common the issue is these days.
>>
>> Cheers,
>> Rafael


More information about the llvm-dev mailing list