<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 6, 2016 at 2:20 PM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, May 06, 2016 at 03:36:10PM -0400, Rafael EspĂ­ndola via llvm-commits wrote:<br>
> On 6 May 2016 at 14:27, Rafael EspĂ­ndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br>
> > On 6 May 2016 at 14:23, Rui Ueyama <<a href="mailto:ruiu@google.com">ruiu@google.com</a>> wrote:<br>
> >> Can we simply drop it? I'm wondering if other libc's or dynamic linkers use<br>
> >> it.<br>
> ><br>
> > From what is written in the abi it looks like it would only be used by<br>
> > self relocating programs (i.e.: ld.so).<br>
> ><br>
> > But those could do just what musl does.<br>
> ><br>
> > Let me give it a try.<br>
><br>
> <a href="http://reviews.llvm.org/D20028" rel="noreferrer" target="_blank">http://reviews.llvm.org/D20028</a><br>
<br>
</span>Let's not produce nightmares for poor porters that have to hunt for the<br>
obscure bugs it can create please.</blockquote><div><br></div><div>I think if it works without it, the code shouldn't have been added in the first place. Or, in other words, if the code was not present, do we still want to add this piece of code just because ld.bfd and ld.gold do this? I don't think so.</div><div><br></div><div>Being said that, it's odd that both bfd and gold add that field. There might be a reason that we don't know yet?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> As for the rest of this patch: I think I agree with Rui. The added<br>
> value is really small. If going for safety you should really disable<br>
> lazy loading or even just compile with -fno-plt.<br>
<br>
</span>I agree on this part though, it seems pointless complexity for an edge<br>
case, that doesn't give much.<br>
<br>
Joerg<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>