Avoid a printf warning.
This commit is contained in:
+1
-1
@@ -451,7 +451,7 @@ void ElfLinker::dumpSymbols(FILE *fp) const
|
|||||||
for (unsigned ic = 0; ic < nsymbols; ic++)
|
for (unsigned ic = 0; ic < nsymbols; ic++)
|
||||||
{
|
{
|
||||||
Symbol *symbol = symbols[ic];
|
Symbol *symbol = symbols[ic];
|
||||||
fprintf(fp, "%-20s 0x%08lx | %-20s 0x%08lx\n",
|
fprintf(fp, "%-20s 0x%08x | %-20s 0x%08x\n",
|
||||||
symbol->name, symbol->offset, symbol->section->name, symbol->section->offset);
|
symbol->name, symbol->offset, symbol->section->name, symbol->section->offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user