diff options
author | midipix <writeonce@midipix.org> | 2019-02-24 20:24:06 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-24 21:07:15 -0500 |
commit | dfcb46d1498404257baf62475bc7387e6352e909 (patch) | |
tree | bc953604f8f0afc78bc61cb3d7d74bf298c92f83 /gcc/config/i386 | |
parent | d9e940e3516130cc23bfab1ee9d6003f35848ba0 (diff) | |
download | cbb-gcc-4.6.4-dfcb46d1498404257baf62475bc7387e6352e909.tar.bz2 cbb-gcc-4.6.4-dfcb46d1498404257baf62475bc7387e6352e909.tar.xz |
midipix targets: create .got entries for c++ virtual thunks.
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/midipix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/midipix.c b/gcc/config/i386/midipix.c index 99616aed7..022f016a0 100644 --- a/gcc/config/i386/midipix.c +++ b/gcc/config/i386/midipix.c @@ -521,8 +521,10 @@ void midipix_i386_pe_start_function (FILE * gas_exhaled, const char *name, tree void midipix_i386_pe_end_function (FILE * gas_exhaled, const char * name, tree decl) { - if (cfun->is_thunk) + if (cfun->is_thunk) { + midipix_asm_output_got_entry(gas_exhaled,name,decl,0); return; + } if (TARGET_SEH) fputs ("\t.seh_endproc\n", gas_exhaled); |