<div dir="ltr">I was trying to write the comment concretely to help readers understand the problem, but that may read that the issue would be limited to __progname. I'll update the comment. Thank you for the advice.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 11, 2015 at 11:53 AM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</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 Sun, Oct 11, 2015 at 11:39:24AM -0700, Rui Ueyama via llvm-commits wrote:<br>
> Why COPY relocation is related to this?<br>
<br>
</span>Sorry, mixed up the cases slightly. No COPY is needed, but the comments<br>
can stop talking about the specific __progname case. libwrap and<br>
allow_severity is the classic example. Some systems now patch it to<br>
provide a weak definition, but that's also worth check for. E.g. if a<br>
symbol is strongly defined in the main program and all DSOs have only a<br>
weak version, the symbol also needs to be exported.<br>
<span class="HOEnZb"><font color="#888888"><br>
Joerg<br>
</font></span></blockquote></div><br></div>