aboutsummaryrefslogtreecommitdiff
path: root/gcc/genchecksum.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2010-05-02 21:39:31 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-05-02 21:39:31 +0200
commit7c393241cf4e01cce7e893602a9f28daab7a7fa1 (patch)
treea5f6261b1925f6d14d321e8ad471d4850d8af7d8 /gcc/genchecksum.c
parent52c307baffef3b8742fce4ae431359d89ac529b1 (diff)
downloadgcc-7c393241cf4e01cce7e893602a9f28daab7a7fa1.zip
gcc-7c393241cf4e01cce7e893602a9f28daab7a7fa1.tar.gz
gcc-7c393241cf4e01cce7e893602a9f28daab7a7fa1.tar.bz2
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
Diffstat (limited to 'gcc/genchecksum.c')
-rw-r--r--gcc/genchecksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genchecksum.c b/gcc/genchecksum.c
index 38487a0..235d4fe 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