aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
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 /ld/pe-dll.c
parent65c749e7c049f9bf944c5fbe9e727b7a8b4ccc7c (diff)
downloadfsf-binutils-gdb-63e1777c6c20434c9909eb0f235b14f623d1f914.zip
fsf-binutils-gdb-63e1777c6c20434c9909eb0f235b14f623d1f914.tar.gz
fsf-binutils-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.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c1
1 files changed, 1 insertions, 0 deletions
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 }
};