On Thu, Feb 5, 2015 at 11:59 AM, Richard Henderson <r...@redhat.com> wrote: > On 02/05/2015 11:01 AM, H.J. Lu wrote: >> Can you elaborate why it depends on COPY relocation? There >> is no COPY relocation on x86-64. > > Ho hum, we appear to have switched topics mid-thread. > > I agree that we cannot override a weak symbol in the executable with even a > non-weak symbol in a shared library.
Hi HJ, Is your patch supposed to fix weak symbols too? Will SYMBOL_REF_LOCAL_P evaluate to true for weak defined symbols with this patch? I tested this in gcc-4_9 and it didnt seem to do that. Thanks Sri > > > r~