* pe-dll.c (pe_bfd_is_dll): New function.
authorChristopher Faylor <me+cygwin@cgf.cx>
Mon, 18 Dec 2006 22:38:53 +0000 (22:38 +0000)
committerChristopher Faylor <me+cygwin@cgf.cx>
Mon, 18 Dec 2006 22:38:53 +0000 (22:38 +0000)
commitff2bdb9c0d6a2a966336c6b1d5cee3ce5bc109fe
treea735301729c6c03ac6c10e931bd47a628abafee3
parent69fbadd53d1404744d3e6032c42397c894d66be3
* 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/ChangeLog
ld/emultempl/pe.em
ld/pe-dll.c
ld/pe-dll.h
ld/testsuite/ChangeLog