From 880383ca963721a269a8b99f41fa26e711218740 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 6 Aug 2007 14:32:08 +0000 Subject: * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1. (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of shared objects. * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64 mingw target. --- ld/pe-dll.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ld/pe-dll.c') diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 16850b6..cdbfa70 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -203,6 +203,14 @@ static const autofilter_entry_type autofilter_symbollist_i386[] = { STRING_COMMA_LEN (".text") }, /* Entry point symbols, and entry hooks. */ { STRING_COMMA_LEN ("cygwin_crt0") }, +#ifdef pe_use_x86_64 + { STRING_COMMA_LEN ("DllMain") }, + { STRING_COMMA_LEN ("DllEntryPoint") }, + { STRING_COMMA_LEN ("DllMainCRTStartup") }, + { STRING_COMMA_LEN ("_cygwin_dll_entry") }, + { STRING_COMMA_LEN ("_cygwin_crt0_common") }, + { STRING_COMMA_LEN ("_cygwin_noncygwin_dll_entry") }, +#else { STRING_COMMA_LEN ("DllMain@12") }, { STRING_COMMA_LEN ("DllEntryPoint@0") }, { STRING_COMMA_LEN ("DllMainCRTStartup@12") }, @@ -210,6 +218,7 @@ static const autofilter_entry_type autofilter_symbollist_i386[] = { STRING_COMMA_LEN ("_cygwin_crt0_common@8") }, { STRING_COMMA_LEN ("_cygwin_noncygwin_dll_entry@12") }, { STRING_COMMA_LEN ("cygwin_attach_dll") }, +#endif { STRING_COMMA_LEN ("cygwin_premain0") }, { STRING_COMMA_LEN ("cygwin_premain1") }, { STRING_COMMA_LEN ("cygwin_premain2") }, -- cgit v1.1