This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Fix misplaced call to emulation in ld
- To: Paul Sokolovsky <paul-ml at is dot lg dot ua>
- Subject: Re: [patch] Fix misplaced call to emulation in ld
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 28 Apr 2001 19:54:58 +0100
- Cc: binutils at sources dot redhat dot com
- References: <1262.010428@is.lg.ua>
Hi Paul,
> Hello binutils,
>
> This affects ability to pass .def files for PE emulation.
>
> 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
>
> * ldlang.c (load_symbols): Give emulation a chance
> to process unrecognized file before fatal error is
> reported, not after.
Approved & applied.
I made one small change - I move the call to
ldemul_unrecognized_file() to after the call to bfd_get_error(), so
that if the emulation routine makes further bfd calls, the error value
will not be lost.
Cheers
Nick