OSDN Git Service

* vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 May 2010 19:39:31 +0000 (19:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:57:07 +0000 (13:57 +0900)
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

gcc/ChangeLog
gcc/config/i386/att.h
gcc/config/i386/i386-interix.h
gcc/config/i386/i386.c
gcc/config/i386/i386elf.h
gcc/config/i386/sysv4.h
gcc/gcov-dump.c

index 88aa4b0..bfce823 100644 (file)
@@ -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>
 
        * 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>
 
index 5299e78..2790778 100644 (file)
@@ -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)
 
index 5d7bfac..060b82c 100644 (file)
@@ -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;                                      \
            }                                                           \
        }                                                               \
index b722c4d..8cec42f 100644 (file)
@@ -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.  */
index a550243..c3f930a 100644 (file)
@@ -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;                                      \
            }                                                           \
        }                                                               \
index 1dc0a36..63c0cbc 100644 (file)
@@ -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;                                      \
            }                                                           \
        }                                                               \
index 8aa6368..6b06d95 100644 (file)
@@ -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++)
     {