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 f62813e93722c4da6555dad68e9d3bad009308ad..fa7cab611c00ba00adb7df470a8037c405deed37 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 d38f30da692ca9d0f6bff940c72d56d2897556f6..61d8fa5c7eea28a0f799667240dc58789b0272c3 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 }
 };