This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: symbol type in ->check_relocs()
- From: Alan Modra <amodra at gmail dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org
- Date: Wed, 3 Feb 2010 08:26:01 +1030
- Subject: Re: symbol type in ->check_relocs()
- References: <20100202.105006.115495400.davem@davemloft.net>
On Tue, Feb 02, 2010 at 10:50:06AM -0800, David Miller wrote:
>
> All of the IFUNC BFD backend changes have added code
> which is conditional upon the symbol type to the
> target ->check_relocs() method.
>
> But this doesn't seem to be kosher.
>
> The final symbol type isn't known at this point. And it
> won't be until all of the object file symbol tables have
> been slurped in.
So anything you need to do for ifunc syms, you need to do for undef
ones. If any of the backends you look at don't do this then you've
found a bug.
--
Alan Modra
Australia Development Lab, IBM