symbol type in ->check_relocs()

Alan Modra amodra@gmail.com
Tue Feb 2 21:56:00 GMT 2010


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



More information about the Binutils mailing list