This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH v4] BFD: Prevent writing the MIPS _gp_disp symbol into symbol tables
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Simon Atanasyan <simon at atanasyan dot com>, <binutils at sourceware dot org>, <libc-alpha at sourceware dot org>
- Date: Wed, 2 May 2018 16:48:46 +0100
- Subject: Re: [PATCH v4] BFD: Prevent writing the MIPS _gp_disp symbol into symbol tables
- References: <20180429065756.bvponxkyyqtmdrbg@debian64.galaxy.int> <alpine.DEB.2.00.1804300946270.11756@tp.orcam.me.uk> <alpine.DEB.2.20.1804301518320.17105@digraph.polyomino.org.uk> <alpine.DEB.2.00.1804301654210.11756@tp.orcam.me.uk> <alpine.DEB.2.20.1804301935440.3035@digraph.polyomino.org.uk> <alpine.DEB.2.00.1805011247380.11756@tp.orcam.me.uk> <alpine.DEB.2.20.1805011433240.1045@digraph.polyomino.org.uk>
On Tue, 1 May 2018, Joseph Myers wrote:
> Does strip even work to remove symbols from the dynamic symbol table (as
> opposed to the static symbol table)?
Indeed, `strip' seems unable to remove dynamic symbol table entries, so I
need to withdraw my alternative proposal.
As to filtering out all absolute symbols as I noted I don't know what
impact it may have across current targets and whether it may cause hassle
in the future, so I have no opinion either. If you think it's safe, then
I won't object.
Maciej