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

Shankar Easwaran shankare at codeaurora.org
Mon Feb 23 10:56:44 PST 2015


On 2/23/2015 12:53 PM, Rafael EspĂ­ndola wrote:
>
>>>> 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.
Our internal clang still generates .gnu.linkonce. Our customers also use 
assembly code to generate these, as its much simpler for them.

Backwards compatibility is an option that they want too. Too many usecases.

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation





More information about the llvm-commits mailing list