<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Nick, Bigcheese,<br>
<br>
I wanted to add support to support .gnu.linkonce sections in the
resolver.<br>
<br>
<u><b>About .gnu.linkonce sections</b></u><br>
.gnu.linkonce sections were primarily present in ELF that was used
in a way to model COMDAT in early ELF implementations.<br>
<br>
We have seen usecases of .gnu.linkonce sections used in various
object files(mainly libc), and I think its much needed to support
this style in lld as well.<br>
<br>
<u><b>a solution to support .gnu.linkonce in lld</b></u><br>
<br>
I was thinking of adding a typeGnuLinkOnce and special case it in
the Resolver. <br>
<br>
<u><b>Differences between .gnu.linkonce and COMDAT</b></u><br>
The only thing that I see a difference between gnu linkonce sections
and COMDAT is to raise an error when there is a similar looking
section with section groups.<br>
<br>
Do you see any better design solutions here ?<br>
<br>
Thanks<br>
<br>
Shankar Easwaran<br>
<br>
<pre class="moz-signature" cols="72">--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation</pre>
</body>
</html>