[lld] r230194 - [ELF] Add .gnu.linkonce support.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Feb 23 10:53:09 PST 2015


>> How can you merge read write data?
>
> :) So we use .gnu.linkonce.

The point is that is not a valid transformation. You cannot merge two
variables. Changing one will change the other.

>>
>>> SHF_MERGE does not work as there are specific signatures that are used
>>
>> with .gnu.linkonce to store hot code too (.gnu.linkonce.t) and we also
use
>> TLS floating point data in gnu linkonce too.
>>
>> Code isn't a floating point constant :-)
>
> We have more usecases of usage of .gnu.linkonce is what I meant to say :)

That cannot use groups? The .gnu.linkonce sections are a broken historical
artifact. It is surprising to see current tools generating them.

Cheers,

Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150223/e88ff723/attachment.html>


More information about the llvm-commits mailing list