linux-mips
[Top] [All Lists]

Re: [Patch]: Fix ld pr11138 FAILures on mips*.

To: David Daney <david.daney@cavium.com>
Subject: Re: [Patch]: Fix ld pr11138 FAILures on mips*.
From: Alan Modra <amodra@gmail.com>
Date: Wed, 7 Dec 2011 10:13:46 +1030
Cc: binutils <binutils@sourceware.org>, linux-mips <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@googlemail.com>, Debian MIPS <debian-mips@lists.debian.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=fXdpyfC+sq4VIISAS3BfE8BMznan0nC98A3O9CFQh6U=; b=hzp+3XAsgFspHk7amLEhkavttjaXHIjG+wBkGWLGz0XLHMb05E2feqUTVNTs5GG1W+ VU932tbqy7v3SJY8xyDHAhG5blDn1OpVHYjxIzZ+5ht41ShVHpzfthdl3k798Ve+b8ru IHL4zOFeTJEnvYOcwsrzT9uF8pKNxYGzLCSyk=
In-reply-to: <4EDE78FE.2050509@cavium.com>
Mail-followup-to: David Daney <david.daney@cavium.com>, binutils <binutils@sourceware.org>, linux-mips <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@googlemail.com>, Debian MIPS <debian-mips@lists.debian.org>
References: <4EDD669F.30207@cavium.com> <20111206054018.GB21034@bubble.grove.modra.org> <4EDE78FE.2050509@cavium.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
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

<Prev in Thread] Current Thread [Next in Thread>