Commit 7c393241 by Uros Bizjak

vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string placeholder from 0x%x to %#x.

	* vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string
	placeholder from 0x%x to %#x.
	(ASM_OUTPUT_DEBUG_DATA1): Ditto.
	(ASM_OUTPUT_DEBUG_DATA4): Ditto.
	(ASM_OUTPUT_DEBUG_DATA): Ditto.
	(ASM_OUTPUT_DEBUG_ADDR_DATA): Ditto.
	(ASM_OUTPUT_DEBUG_DATA8): Ditto.
	* optc-gen.awk: Ditto.
	* hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Ditto.
	(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.

From-SVN: r158978
parent 52c307ba
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>
......@@ -14,7 +20,13 @@
* 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>
......@@ -30,8 +42,6 @@
(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>
......
......@@ -46,7 +46,7 @@ do \
{ 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)
......
......@@ -212,7 +212,7 @@ along with GCC; see the file COPYING3. If not see
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
fprintf ((FILE), "%#02x", *_ascii_bytes); \
fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
......
......@@ -12007,7 +12007,7 @@ print_operand (FILE *file, rtx x, int code)
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. */
......
......@@ -88,7 +88,7 @@ along with GCC; see the file COPYING3. If not see
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
fprintf ((FILE), "%#02x", *_ascii_bytes); \
fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
......
......@@ -80,7 +80,7 @@ along with GCC; see the file COPYING3. If not see
fputs (ASM_BYTE, (FILE)); \
else \
fputc (',', (FILE)); \
fprintf ((FILE), "%#02x", *_ascii_bytes); \
fprintf ((FILE), "0x%02x", *_ascii_bytes); \
bytes_in_chunk += 5; \
} \
} \
......
......@@ -267,7 +267,7 @@ tag_function (const char *filename ATTRIBUTE_UNUSED,
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)
{
......@@ -418,7 +418,7 @@ tag_summary (const char *filename ATTRIBUTE_UNUSED,
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++)
{
......
......@@ -64,7 +64,7 @@ main (int argc, char **argv)
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;
......
......@@ -60,7 +60,7 @@ dosum (const char *file)
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
......
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