This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: symbol type in ->check_relocs()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]