[RFA]: dynamic library search order on pei386

DJ Delorie dj@delorie.com
Mon Jul 17 11:59:00 GMT 2000


> 2000-07-16  Charles Wilson  <cwilson@ece.gatech.edu>
> 
>         * src/ld/emultempl/pe.em
> (gld_${EMULATION_NAME}_open_dynamic_archive): New search order for
> dynamic library '-lfoo' on pei386: libfoo.dll.a, foo.dll.a,
> libfoo.a, libfoo.dll, foo.dll. This fixes compatibility errors
> introduced by the old dynamic lib search order.

Applied.  Thanks!

FYI: I noticed that this code only gets used with -Bdynamic.  Without,
it uses the .a/.lib search instead.  Is this intentional?


More information about the Binutils mailing list