aboutsummaryrefslogtreecommitdiff
path: root/gcc/vmsdbgout.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2010-05-02 14:31:18 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-05-02 14:31:18 +0200
commit35c59d9c2a8b9a1f155a2a50ef2b7b4a881dfc38 (patch)
treedc141e6dcb38141eba52489ad02e60f4a5962d78 /gcc/vmsdbgout.c
parent82f81f18bfb02bde22c234feaf9b223a94662925 (diff)
downloadgcc-35c59d9c2a8b9a1f155a2a50ef2b7b4a881dfc38.zip
gcc-35c59d9c2a8b9a1f155a2a50ef2b7b4a881dfc38.tar.gz
gcc-35c59d9c2a8b9a1f155a2a50ef2b7b4a881dfc38.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: r158971
Diffstat (limited to 'gcc/vmsdbgout.c')
-rw-r--r--gcc/vmsdbgout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/vmsdbgout.c b/gcc/vmsdbgout.c
index 2ad6ed2..44e4dc8 100644
--- a/gcc/vmsdbgout.c
+++ b/gcc/vmsdbgout.c
@@ -351,34 +351,34 @@ static char text_end_label[MAX_ARTIFICIAL_LABEL_BYTES];
#ifndef ASM_OUTPUT_DEBUG_DATA1
#define ASM_OUTPUT_DEBUG_DATA1(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned char) VALUE)
+ fprintf ((FILE), "\t%s\t%#x", ASM_BYTE_OP, (unsigned char) VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_DATA2
#define ASM_OUTPUT_DEBUG_DATA2(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_SHORT_ASM_OP, \
+ fprintf ((FILE), "\t%s\t%#x", UNALIGNED_SHORT_ASM_OP, \
(unsigned short) VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_DATA4
#define ASM_OUTPUT_DEBUG_DATA4(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, (unsigned long) VALUE)
+ fprintf ((FILE), "\t%s\t%#lx", UNALIGNED_INT_ASM_OP, (unsigned long) VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_DATA
#define ASM_OUTPUT_DEBUG_DATA(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_OFFSET_ASM_OP(VALUE), VALUE)
+ fprintf ((FILE), "\t%s\t%#lx", UNALIGNED_OFFSET_ASM_OP(VALUE), VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_ADDR_DATA
#define ASM_OUTPUT_DEBUG_ADDR_DATA(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_PTR_ASM_OP, \
+ fprintf ((FILE), "\t%s\t%#lx", UNALIGNED_PTR_ASM_OP, \
(unsigned long) VALUE)
#endif
#ifndef ASM_OUTPUT_DEBUG_DATA8
#define ASM_OUTPUT_DEBUG_DATA8(FILE,VALUE) \
- fprintf ((FILE), "\t%s\t0x%llx", UNALIGNED_DOUBLE_INT_ASM_OP, \
+ fprintf ((FILE), "\t%s\t%#llx", UNALIGNED_DOUBLE_INT_ASM_OP, \
(unsigned long long) VALUE)
#endif