lto-plugin.c (dump_symtab): Correct printf argument type.
2010-10-11 Kai Tietz <kai.tietz@onevision.com> * lto-plugin.c (dump_symtab): Correct printf argument type. (finish_conflict_resolution): Initialize resolution. From-SVN: r165310
This commit is contained in:
parent
a2a997bace
commit
9df2493c38
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-10-11 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* lto-plugin.c (dump_symtab): Correct printf argument type.
|
||||||
|
(finish_conflict_resolution): Initialize resolution.
|
||||||
|
|
||||||
2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
|
2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR bootstrap/45951
|
PR bootstrap/45951
|
||||||
|
|
|
@ -257,7 +257,7 @@ dump_symtab (FILE *f, struct plugin_symtab *symtab)
|
||||||
|
|
||||||
assert (resolution != LDPR_UNKNOWN);
|
assert (resolution != LDPR_UNKNOWN);
|
||||||
|
|
||||||
fprintf (f, "%d %x %s %s\n", slot, symtab->aux[j].id,
|
fprintf (f, "%u %x %s %s\n", (unsigned int) slot, symtab->aux[j].id,
|
||||||
lto_resolution_str[resolution],
|
lto_resolution_str[resolution],
|
||||||
symtab->syms[j].name);
|
symtab->syms[j].name);
|
||||||
}
|
}
|
||||||
|
@ -277,7 +277,7 @@ finish_conflict_resolution (struct plugin_symtab *symtab,
|
||||||
|
|
||||||
for (i = 0; i < symtab->nsyms; i++)
|
for (i = 0; i < symtab->nsyms; i++)
|
||||||
{
|
{
|
||||||
int resolution;
|
int resolution = LDPR_UNKNOWN;
|
||||||
|
|
||||||
if (symtab->aux[i].next_conflict == -1)
|
if (symtab->aux[i].next_conflict == -1)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue