+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for
+ hosts where CORE_ADDR is long long.
+
2010-06-25 Tom Tromey <tromey@redhat.com>
PR python/10808:
new = XZALLOC (struct so_list);
/* Encode FD and object ID in path name. */
- xsnprintf (new->so_name, sizeof new->so_name, "@0x%lx <%d>",
- data, SPUADDR_SPU (*ocl_program_addr_base));
+ xsnprintf (new->so_name, sizeof new->so_name, "@%s <%d>",
+ hex_string (data),
+ SPUADDR_SPU (*ocl_program_addr_base));
strcpy (new->so_original_name, new->so_name);
*link_ptr = new;