https://sourceware.org/bugzilla/show_bug.cgi?id=22269

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #4)
> I agree that undefined weak symbols probably ought to resolve to 0 in a
> static PIE.  To do that on ppc it would be reasonable to add the following
> to elf32.em after_parse
> 
>   if (link_info.dynamic_undefined_weak == -1
>       && link_info.nointerp)
>     link_info.dynamic_undefined_weak = FALSE;
> 
> or perhaps something a little more specific to static PIE..

This doesn't work with

-pie --no-dynamic-linker -z dynamic-undefined-weak

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to