aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2014-08-13 11:43:28 +0100
committerNick Clifton <nickc@redhat.com>2014-08-13 11:43:28 +0100
commit63e1777c6c20434c9909eb0f235b14f623d1f914 (patch)
treef66ef1f7fc2889f7bd0f7276f2d08838bd59e407
parent65c749e7c049f9bf944c5fbe9e727b7a8b4ccc7c (diff)
downloadgdb-63e1777c6c20434c9909eb0f235b14f623d1f914.zip
gdb-63e1777c6c20434c9909eb0f235b14f623d1f914.tar.gz
gdb-63e1777c6c20434c9909eb0f235b14f623d1f914.tar.bz2
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.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/pe-dll.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f62813e..fa7cab6 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index d38f30d..61d8fa5 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 }
};