diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-07-19 16:20:32 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-07-19 16:20:32 +0200 |
commit | 779364a0d5ef25fc20ee34d0ee4ffe8be3876fbc (patch) | |
tree | 458d7409700b84b6346ee419818856f76dbb7f28 | |
parent | 9208e3a07ebf138981877240eb63867942d52e42 (diff) | |
download | bxgen-779364a0d5ef25fc20ee34d0ee4ffe8be3876fbc.zip |
Cleanup
-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"); |