From: Yaakov Selkowitz Date: Wed, 13 Aug 2014 10:43:28 +0000 (+0100) Subject: This is necessary for adding __cxa_atexit support for Cygwin in GCC without X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63e1777c6c20434c9909eb0f235b14f623d1f914;p=binutils-gdb.git This is necessary for adding __cxa_atexit support for Cygwin in GCC without exporting __dso_handle from every DLL. * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add __dso_handle. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f62813e9372..fa7cab611c0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2014-08-13 Yaakov Selkowitz + + * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add + __dso_handle. + 2014-08-13 Alan Modra * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class. diff --git a/ld/pe-dll.c b/ld/pe-dll.c index d38f30da692..61d8fa5c7ee 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -235,6 +235,7 @@ static const autofilter_entry_type autofilter_symbollist_i386[] = { STRING_COMMA_LEN ("_impure_ptr") }, { STRING_COMMA_LEN ("_fmode") }, { STRING_COMMA_LEN ("environ") }, + { STRING_COMMA_LEN ("__dso_handle") }, { NULL, 0 } };