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: PATCH: Better handle discarded definition (take 2)


On Mon, Jun 02, 2003 at 08:01:02AM -0700, H. J. Lu wrote:
> The current handling of discarded definitions is not very informative.
> It is very easy to tell what the problem really is. This patch tries
> to improve it.

> -			      if (! ((*finfo->info->callbacks->undefined_symbol)
[snip]
> +			    finfo->info->callbacks->error_handler

I like the idea of giving better error messages, but is it correct in
this case to use error_handler instead of undefined_symbol?  Someone
might be using bfd with their own undefined_symbol handler.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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