forked from Mirrors/tinycc
added size info
parent
7ac43f6d19
commit
4c9c0ab114
|
@ -909,7 +909,7 @@ void gen_bounded_ptr_deref(void)
|
||||||
rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul);
|
rel = (Elf32_Rel *)(cur_text_section->reloc->data + vtop->c.ul);
|
||||||
sym = external_sym(func, func_old_type, 0);
|
sym = external_sym(func, func_old_type, 0);
|
||||||
if (!sym->c)
|
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));
|
rel->r_info = ELF32_R_INFO(sym->c, ELF32_R_TYPE(rel->r_info));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue