summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/midipix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c
index 30a7ff91f..b194a33c3 100644
--- a/gcc/config/i386/midipix.c
+++ b/gcc/config/i386/midipix.c
@@ -138,6 +138,13 @@ static void midipix_pe_create_got_entry(FILE * stream, const char * name, tree d
? winnt_ptrsize_quad
: winnt_ptrsize_long;
+ if (decl->decl_with_vis.visibility == VISIBILITY_DEFAULT)
+ if (default_visibility != VISIBILITY_DEFAULT)
+ return;
+
+ if (decl->decl_with_vis.visibility != VISIBILITY_DEFAULT)
+ return;
+
fputs("\n",stream);
fputs(GAS_SECTION,stream);