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]

Re: [patch] Fix misplaced call to emulation in ld


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


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