summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c
index 896e3bef2..5a28e23c7 100644
--- a/gcc/config/i386/midipix.c
+++ b/gcc/config/i386/midipix.c
@@ -171,6 +171,7 @@ static void midipix_pe_create_got_entry(FILE * stream, const char * name, tree d
fputs("$",stream);
assemble_name(stream,name);
fputs(GOT_SECTION_ATTR,stream);
+ fputs("\n\t.linkonce discard\n\n",stream);
/* __imp_... */
fputs("\n\t.global __imp_",stream);
@@ -185,7 +186,9 @@ static void midipix_pe_create_got_entry(FILE * stream, const char * name, tree d
fputs(".rva",stream);
fputs("\t.symstr_",stream);
assemble_name(stream,name);
- fputs("\n\t.linkonce discard\n\n",stream);
+ fputs("\n",stream);
+ fputs(TARGET_64BIT ? "\t.long\t" "0" "\n" : "",stream);
+ fputs("\n\n",stream);
}