summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-02 19:39:31 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-02 19:39:31 +0000
commitb8a67225f3665c425bf003ecb6a643082df5185b (patch)
treea5f6261b1925f6d14d321e8ad471d4850d8af7d8
parent40a612434a7804d56c8c5e577e9c93fbed9778d8 (diff)
downloadgcc-b8a67225f3665c425bf003ecb6a643082df5185b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158978 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog18
-rw-r--r--gcc/config/i386/att.h2
-rw-r--r--gcc/config/i386/i386-interix.h2
-rw-r--r--gcc/config/i386/i386.c2
-rw-r--r--gcc/config/i386/i386elf.h2
-rw-r--r--gcc/config/i386/sysv4.h2
-rw-r--r--gcc/gcov-dump.c4
-rw-r--r--gcc/gcov-iov.c2
-rw-r--r--gcc/genchecksum.c2
9 files changed, 23 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 88aa4b038c3..bfce823cee1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,8 +1,14 @@
+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>
diff --git a/gcc/config/i386/att.h b/gcc/config/i386/att.h
index 5299e787438..279077833af 100644
--- a/gcc/config/i386/att.h
+++ b/gcc/config/i386/att.h
@@ -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)
diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h
index 5d7bfac995b..060b82ca245 100644
--- a/gcc/config/i386/i386-interix.h
+++ b/gcc/config/i386/i386-interix.h
@@ -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; \
} \
} \
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b722c4d832b..8cec42f8e52 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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. */
diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h
index a5502431114..c3f930a768e 100644
--- a/gcc/config/i386/i386elf.h
+++ b/gcc/config/i386/i386elf.h
@@ -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; \
} \
} \
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index 1dc0a36fb54..63c0cbc85a7 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -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; \
} \
} \
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 8aa6368de3e..6b06d959294 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -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++)
{
diff --git a/gcc/gcov-iov.c b/gcc/gcov-iov.c
index de2c3229729..19de059d769 100644
--- a/gcc/gcov-iov.c
+++ b/gcc/gcov-iov.c
@@ -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;
diff --git a/gcc/genchecksum.c b/gcc/genchecksum.c
index 38487a05103..235d4fec597 100644
--- a/gcc/genchecksum.c
+++ b/gcc/genchecksum.c
@@ -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