Patchwork PING for LTO ld -r patches

login
register
mail settings
Submitter H.J. Lu
Date July 23, 2010, 2:39 p.m.
Message ID <AANLkTin=3y26Wqa-pujjnUT+qRNFB4c_SwShLYc-ZoUZ@mail.gmail.com>
Download mbox | patch
Permalink /patch/59807/
State New
Headers show

Comments

H.J. Lu - July 23, 2010, 2:39 p.m.
On Fri, Jul 23, 2010 at 6:25 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Jul 22, 2010 at 1:22 AM, Andi Kleen <andi@firstfloor.org> wrote:
>> Review ping for:
>>
>> http://permalink.gmane.org/gmane.comp.gcc.patches/212187
>> http://permalink.gmane.org/gmane.comp.gcc.patches/212185
>> http://permalink.gmane.org/gmane.comp.gcc.patches/212186
>> http://permalink.gmane.org/gmane.comp.gcc.patches/212226
>>
>> The first three patches should be quite straight forward? Ok
>> to commit those after rebootstrap/retest?
>>
>> The fourth is a bit more complicated, but should get reviewed
>> too please.
>
> This caused:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45042
>

I checked in this as an obvious fix.

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 162464)
+++ ChangeLog	(working copy)
@@ -1,5 +1,10 @@ 
-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.
 	(plugin_symtab): Remove slots. Add aux and id.
Index: lto-plugin.c
===================================================================
--- lto-plugin.c	(revision 162464)
+++ lto-plugin.c	(working copy)
@@ -212,7 +212,8 @@ 
       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;