https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65780

--- Comment #20 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #16)
> (In reply to H.J. Lu from comment #13)
> > Check flag_pic isn't necessary.  For non-PIC, the same code sequence
> > and relocation are used to access defined and undefined symbols, common
> > or not.
> 
> What do you mean by is not necessary?  Without that, you'll return false
> from targetm.binds_local_p for DECL_COMMON in the testcase say on
> i686-linux, or if you have old linker.

I guess it won't hurt.

Reply via email to