https://sourceware.org/bugzilla/show_bug.cgi?id=19823
--- Comment #5 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot com> --- (In reply to H.J. Lu from comment #4) > (In reply to Cary Coutant from comment #1) > > > > Or, perhaps (I need to check...), gold might be incorrectly allowing > > the COPY relocation to a protected symbol, failing to consider that > > the bindings within the shared object will be static. (I thought that > > came up a while ago, and got fixed, but maybe it was just something > > similar.) If that's the case, you can either edit the title of this PR > > or close this and file a separate one. > > It is done on purpose: > > https://sourceware.org/ml/binutils/2014-05/msg00059.html > https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00257.html I don't think this is related. The testcase is not pie. Gold already produced a copy relocation before a82bef932ec11cc16f205427f8a056c3c0ea517d. -- 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