summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbxgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bxgen.c b/bxgen.c
index 5644561..7bfd9dc 100755
--- a/bxgen.c
+++ b/bxgen.c
@@ -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");