<p dir="ltr">This is the first implementation and I just went with what looked reasonable given ELF spec saying that dt_rpath is deprecated. </p>
<p dir="ltr">A patch implementing  -enable-new-dtags is welcome :-) I am sure one making clang pass false for it on netbsd is too.</p>
<p dir="ltr">Cheers, Rafael </p>
<div class="gmail_quote">On Sep 11, 2015 6:26 PM, "Joerg Sonnenberger" <<a href="mailto:joerg@britannica.bec.de">joerg@britannica.bec.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Sep 11, 2015 at 09:18:57PM -0000, Rafael Espindola via llvm-commits wrote:<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=247475&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=247475&view=rev</a><br>
> Log:<br>
> Implement -rpath.<br>
<br>
Should we really unconditionally generate RUNPATH? IMO that's a bug<br>
created by GNU for the semi-broken behavior of glibc's dynamic linker.<br>
This is certainly going to create problems at least for NetBSD.<br>
<br>
Joerg<br>
</blockquote></div>