Print 'Symbol not found' as a debug trace instead

This commit is contained in:
Kevin Lange 2016-12-19 21:34:17 +09:00
parent 480b65d4c2
commit eb231245ab

View File

@ -351,7 +351,7 @@ static int object_relocate(elf_t * object) {
if (symname && hashmap_has(dumb_symbol_table, symname)) {
x = (uintptr_t)hashmap_get(dumb_symbol_table, symname);
} else {
fprintf(stderr, "Symbol not found: %s\n", symname);
TRACE_LD("Symbol not found: %s", symname);
x = 0x0;
}
}