From ff2bdb9c0d6a2a966336c6b1d5cee3ce5bc109fe Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 18 Dec 2006 22:38:53 +0000 Subject: * 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/pe-dll.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ld/pe-dll.h') diff --git a/ld/pe-dll.h b/ld/pe-dll.h index c79e563..eb24a8a 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 */ -- cgit v1.1