This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Committed: fix undefweak hidden references for CRIS
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Tue, 27 Jan 2009 08:44:32 -0500
- Subject: Re: Committed: fix undefweak hidden references for CRIS
- References: <200901270610.n0R6AeCb006443@ignucius.se.axis.com>
On Tue, Jan 27, 2009 at 07:10:40AM +0100, Hans-Peter Nilsson wrote:
> The bug caught a bfd_assert, which *REALLY* isn't helpful, as
> this is just a call to _bfd_error_handler and then linking
> continues with *no* exit error. I've changed bfd_assert locally
> to do like bfd_abort and also call _exit (EXIT_FAILURE), and I'd
> like to poll interest in doing that or the equivalent for the
> FSF code too. If nothing else, a helpful code comment why it
> isn't done. I guess letting it continue is helpful for some
> situations and bfd users, but not the common case of the linker.
> Perhaps do it optionally, default on for the linker?
I can't find the message now, but I've suggested this too.
I think having the linker abort would be a big improvement.
--
Daniel Jacobowitz
CodeSourcery