diff options
-rwxr-xr-x | bxgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2211,7 +2211,7 @@ void unit_write(Pool *pool, i64 unit, u16 target, i64 io_out, void *io_user_data if (section.type == SEC_SYMTAB) for (i64 sym_index = 0; sym_index < section.num_entries; ++sym_index) { Symbol_Entry sym = elf_symbol(buf, section.data, strtab, (u16) sym_index); - + if (sym.name.size == 6 && bx_mem_eq(elf_name_from_offset(buf, sym.name), "printf", 6)) { if (sym_printf.value.offset != 0) BX_LAX(0, "Symbol redefinition"); |