This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PE direct linking to dlls, accept any filename.
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: 'Binutils' <binutils at sourceware dot org>
- Date: Mon, 18 Dec 2006 12:04:00 +0000
- Subject: Re: [PATCH] PE direct linking to dlls, accept any filename.
- References: <000001c7217c$89ce2bc0$3a4861cb@anykey> <45867FBB.5040309@portugalmail.pt>
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.