This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Better handle discarded definition (take 2)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 3 Jun 2003 00:53:22 +0930
- Subject: Re: PATCH: Better handle discarded definition (take 2)
- References: <20030602080101.A30796@lucon.org>
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