Commit 9477ccb2 by H.J. Lu

Cast to unsigned long.

2010-07-23  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/45042
	* lto-plugin.c (translate): Cast to unsigned long.

From-SVN: r162465
parent c59a0a1d
2010-07-10 Andi Kleen <ak@linux.intel.com>
2010-07-23 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/45042
* lto-plugin.c (translate): Cast to unsigned long.
2010-07-23 Andi Kleen <ak@linux.intel.com>
PR lto/44992
* lto-plugin.c (sym_aux): Add.
......
......@@ -212,7 +212,8 @@ translate (Elf_Data *symtab, struct plugin_symtab *out)
data = parse_table_entry (data, &syms[n], &aux[n]);
}
fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len, end-data);
fprintf (stderr, "n = %d len = %d end-data=%lu\n", n, len,
(unsigned long) (end - data));
assert(n < len);
out->nsyms = n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment