added size info

This commit is contained in:
bellard 2002-07-27 23:08:29 +00:00
parent 7ac43f6d19
commit 4c9c0ab114

View File

@ -909,7 +909,7 @@ void gen_bounded_ptr_deref(void)
rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul);
sym = external_sym(func, func_old_type, 0);
if (!sym->c)
put_extern_sym(sym, NULL, 0);
put_extern_sym(sym, NULL, 0, 0);
rel->r_info = ELF32_R_INFO(sym->c, ELF32_R_TYPE(rel->r_info));
}
#endif