[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/19823] gold produces copy reloc of protected symbols
From: |
rafael.espindola at gmail dot com |
Subject: |
[Bug gold/19823] gold produces copy reloc of protected symbols |
Date: |
Tue, 15 Mar 2016 17:10:35 +0000 |
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 gold/19823] New: gold doesn't consider copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/14
- [Bug gold/19823] gold doesn't consider copy reloc of protected symbols, ccoutant at gmail dot com, 2016/03/14
- [Bug gold/19823] gold doesn't consider copy reloc of protected symbols, hjl.tools at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols, hjl.tools at gmail dot com, 2016/03/15
- [Bug gold/19823] gold produces copy reloc of protected symbols,
rafael.espindola at gmail dot com <=
- [Bug gold/19823] gold produces copy reloc of protected symbols, rafael.espindola at gmail dot com, 2016/03/21
- [Bug gold/19823] gold produces copy reloc of protected symbols, ccoutant at gmail dot com, 2016/03/31