This is the mail archive of the binutils@sources.redhat.com 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: [RFC] unify dynamic_symbol_p implementations


On Sat, Jul 19, 2003 at 03:27:25PM +0930, Alan Modra wrote:
> 
> > 	* elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
> > 	immediately if symbol isn't defined locally.
> 
> This isn't so obvious, and I think wrong.  You do happen to be restoring
> more or less the original SYMBOL_REFERENCES_LOCAL behaviour, but I think
> the idea is to move the weak undef handling into
> _bfd_elf_dynamic_symbol_p.
> 

That is not the problem. _bfd_elf_dynamic_symbol_p came from
elfxx-ia64.c, which isn't symmetric with SYMBOL_REFERENCES_LOCAL.
I don't know how we can get it both ways.


H.J.


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