summaryrefslogtreecommitdiff
path: root/ld/pe-dll.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2006-12-18 22:38:53 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2006-12-18 22:38:53 +0000
commit65e20085e70fd1692957e7e2d1a1db7884e6efd3 (patch)
tree9b2f835e85a3aebb3a267fe436bfee269ac0918e /ld/pe-dll.h
parentcc58edc774876b504215e7de6a12fafb3f72d9ca (diff)
downloadbinutils-redhat-65e20085e70fd1692957e7e2d1a1db7884e6efd3.tar.gz
* 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.
Diffstat (limited to 'ld/pe-dll.h')
-rw-r--r--ld/pe-dll.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/pe-dll.h b/ld/pe-dll.h
index c79e563b69..eb24a8a9ae 100644
--- a/ld/pe-dll.h
+++ b/ld/pe-dll.h
@@ -59,4 +59,7 @@ extern void pe_walk_relocs_of_symbol
(struct bfd_link_info *, const char *, int (*) (arelent *, asection *));
extern void pe_create_import_fixup
(arelent * rel, asection *, int);
+extern bfd_boolean pe_bfd_is_dll
+ (bfd *);
+
#endif /* PE_DLL_H */