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

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #12)
> First of all, why is this filed as a GCC bug?  And what is PIE specific on
> the issue?  I mean, if -Bsymbolic doesn't cope well with like copy
> relocations, then
> the testcase doesn't work on most targets when the binary is normal
> executable rather than PIE.

It is true that the testcase doesn't work with normal executable.  I
don't believe GCC is wrong to generate copy relocation in PIE.  It
is only a GCC bug that PIE worked before, it doesn't work now and
there is no command option to make PIE to work.

Reply via email to