[patch] Fix misplaced call to emulation in ld
Nick Clifton
nickc@cambridge.redhat.com
Sat Apr 28 11:00:00 GMT 2001
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
More information about the Binutils
mailing list