This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch]: Fix ld pr11138 FAILures on mips*.
- From: Alan Modra <amodra at gmail dot com>
- To: David Daney <david dot daney at cavium dot com>
- Cc: binutils <binutils at sourceware dot org>, linux-mips <linux-mips at linux-mips dot org>, Manuel Lauss <manuel dot lauss at googlemail dot com>, Debian MIPS <debian-mips at lists dot debian dot org>
- Date: Wed, 7 Dec 2011 10:13:46 +1030
- Subject: Re: [Patch]: Fix ld pr11138 FAILures on mips*.
- References: <4EDD669F.30207@cavium.com> <20111206054018.GB21034@bubble.grove.modra.org> <4EDE78FE.2050509@cavium.com>
On Tue, Dec 06, 2011 at 12:20:14PM -0800, David Daney wrote:
> Then "__RLD_MAP" gets hidden and we never see it in
> _bfd_mips_elf_finish_dynamic_symbol().
I see. Well, the real question is whether this symbol needs to be
dynamic. If it does, then you can't allow it to be hidden. That
would best be accomplished by writing a mips elf_backend_hide_symbol
function, which is nicer than adding another field used by only one
target to struct elf_link_hash_entry.
--
Alan Modra
Australia Development Lab, IBM