<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I committed a change with the solution
that I suggested below as part of r205280.<br>
<br>
Thanks<br>
<br>
Shankar Easwaran<br>
<br>
On 3/31/2014 12:26 PM, Shankar Easwaran wrote:<br>
</div>
<blockquote cite="mid:5339A535.7070206@codeaurora.org" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<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>