diff options
author | midipix <writeonce@midipix.org> | 2019-03-02 21:03:18 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-03 10:16:55 -0500 |
commit | 211ec0a33a28ba4979a45be11021231a55bafa6f (patch) | |
tree | 0f2bd0a353c689de5edeec1e7e4b4278ae004534 /gcc/config/i386 | |
parent | 8f6b012b22ff372e782b6e49b4451411524e28f2 (diff) | |
download | cbb-gcc-4.6.4-211ec0a33a28ba4979a45be11021231a55bafa6f.tar.bz2 cbb-gcc-4.6.4-211ec0a33a28ba4979a45be11021231a55bafa6f.tar.xz |
midipix_pe_create_got_entry(): explicitly pad 64-bit target entries.
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/midipix.c | 5 |
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); } |