This is necessary for adding __cxa_atexit support for Cygwin in GCC without
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 13 Aug 2014 10:43:28 +0000 (11:43 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Aug 2014 10:43:28 +0000 (11:43 +0100)
exporting __dso_handle from every DLL.

* pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
__dso_handle.

ld/ChangeLog
ld/pe-dll.c

index f62813e..fa7cab6 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-13  Yaakov Selkowitz  <yselkowi@redhat.com>
+
+       * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
+       __dso_handle.
+
 2014-08-13  Alan Modra  <amodra@gmail.com>
 
        * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
index d38f30d..61d8fa5 100644 (file)
@@ -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 }
 };