[PATCH] PE direct linking to dlls, accept any filename.

Pedro Alves pedro_alves@portugalmail.pt
Mon Dec 18 12:03:00 GMT 2006


Pedro Alves wrote:

> Attached is the new patch, tested on i686-pc-cygwin. I'll try
> testing on MinGW later.
> 

Sorry, forgot the ChangeLog.  It is the same as before.

Cheers,
Pedro Alves

----
ld/

2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>

      * pe-dll.c (pe_bfd_is_dll): New function.
      * pe-dll.h (pe_bfd_is_dll): Declare.
      * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file):
      Recognize dlls using pe_bfd_is_dll instead of using the filename
      extension.

ld/testsuite/

2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>

      * ld-pe/direct.exp: New file.
      * ld-pe/direct_client.c: Likewise.
      * ld-pe/direct_dll.c: Likewise.



More information about the Binutils mailing list