+2010-05-02 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcov-iov.c (main): Change format string placeholder
+ from %#08x to 0x%08x.
+ * genchecksum.c (dosum): Change format string placeholder
+ from %#02x to 0x%02x.
+
2010-05-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/43879
- * tree-tailcall.c (find_tail_calls): Clobbers also prevent
- tail calls.
+ * tree-tailcall.c (find_tail_calls): Clobbers also prevent tail calls.
2010-05-02 Bruno Haible <bruno@clisp.org>
* hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Change format string
placeholder from 0x%x to %#x.
(HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto.
+ * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto.
+ * config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto.
+ * config/i386/att.h (ASM_OUTPUT_ASCII): Ditto.
+ * config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto.
+ * config/i386/i386.c (ix86_target_string): Ditto.
* config/i386/i386.c (output_pic_addr_const): Ditto.
+ (print_operand): Ditto.
2010-05-02 Uros Bizjak <ubizjak@gmail.com>
(HOST_WIDE_INT_PRINT_HEX): Ditto.
(HOST_WIDEST_INT_PRINT_HEX): Ditto.
(HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto.
- * gcov-dump.c (tag_function): Ditto.
- (tag_summary): Ditto.
2010-05-01 Anatoly Sokolov <aesok@post.ru>
{ if (i%10 == 0) { if (i!=0) putc ('\n', (FILE)); \
fputs (ASM_BYTE, (FILE)); } \
else putc (',', (FILE)); \
- fprintf ((FILE), "%#x", ((PTR)[i++] & 0377)) ;} \
+ fprintf ((FILE), "0x%x", ((PTR)[i++] & 0377)) ;} \
putc ('\n', (FILE)); \
} while (0)
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
- fprintf ((FILE), "%#02x", *_ascii_bytes); \
+ fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
if (ASSEMBLER_DIALECT == ASM_ATT)
putc ('$', file);
- fprintf (file, "%#08lx", (long unsigned int) l);
+ fprintf (file, "0x%08lx", (long unsigned int) l);
}
/* These float cases don't actually occur as immediate operands. */
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
- fprintf ((FILE), "%#02x", *_ascii_bytes); \
+ fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
- fprintf ((FILE), "%#02x", *_ascii_bytes); \
+ fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
unsigned long pos = gcov_position ();
printf (" ident=%u", gcov_read_unsigned ());
- printf (", checksum=%#08x", gcov_read_unsigned ());
+ printf (", checksum=0x%08x", gcov_read_unsigned ());
if (gcov_position () - pos < length)
{
unsigned ix;
gcov_read_summary (&summary);
- printf (" checksum=%#08x", summary.checksum);
+ printf (" checksum=0x%08x", summary.checksum);
for (ix = 0; ix != GCOV_COUNTERS_SUMMABLE; ix++)
{
printf (" from `%s (%lu %lu) and %s (%c)'. */\n",
argv[1], major, minor, argv[2], phase);
printf ("\n");
- printf ("#define GCOV_VERSION ((gcov_unsigned_t)%#08x) /* %.4s */\n",
+ printf ("#define GCOV_VERSION ((gcov_unsigned_t)0x%08x) /* %.4s */\n",
version, v);
return 0;
puts ("#include \"system.h\"");
fputs ("EXPORTED_CONST unsigned char executable_checksum[16] = { ", stdout);
for (i = 0; i < 16; i++)
- printf ("%#02x%s", result[i], i == 15 ? " };\n" : ", ");
+ printf ("0x%02x%s", result[i], i == 15 ? " };\n" : ", ");
}
int