diff --git a/i386-gen.c b/i386-gen.c index f2a4cda..8d28c27 100644 --- a/i386-gen.c +++ b/i386-gen.c @@ -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