diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2010-05-02 14:31:18 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-05-02 14:31:18 +0200 |
commit | 35c59d9c2a8b9a1f155a2a50ef2b7b4a881dfc38 (patch) | |
tree | dc141e6dcb38141eba52489ad02e60f4a5962d78 /gcc/hwint.h | |
parent | 82f81f18bfb02bde22c234feaf9b223a94662925 (diff) | |
download | gcc-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/hwint.h')
-rw-r--r-- | gcc/hwint.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/hwint.h b/gcc/hwint.h index 7dec860..327a12f 100644 --- a/gcc/hwint.h +++ b/gcc/hwint.h @@ -82,23 +82,23 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; must be tweaked accordingly. */ # if HOST_BITS_PER_WIDE_INT == 64 # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "0x%" HOST_LONG_FORMAT "x%016" HOST_LONG_FORMAT "x" + "%#" HOST_LONG_FORMAT "x%016" HOST_LONG_FORMAT "x" # else # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "0x%" HOST_LONG_FORMAT "x%08" HOST_LONG_FORMAT "x" + "%#" HOST_LONG_FORMAT "x%08" HOST_LONG_FORMAT "x" # endif #else # define HOST_WIDE_INT_PRINT HOST_LONG_LONG_FORMAT # define HOST_WIDE_INT_PRINT_C "LL" /* We can assume that 'long long' is at least 64 bits. */ # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \ - "0x%" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" + "%#" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" #endif /* HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG */ #define HOST_WIDE_INT_PRINT_DEC "%" HOST_WIDE_INT_PRINT "d" #define HOST_WIDE_INT_PRINT_DEC_C HOST_WIDE_INT_PRINT_DEC HOST_WIDE_INT_PRINT_C #define HOST_WIDE_INT_PRINT_UNSIGNED "%" HOST_WIDE_INT_PRINT "u" -#define HOST_WIDE_INT_PRINT_HEX "0x%" HOST_WIDE_INT_PRINT "x" +#define HOST_WIDE_INT_PRINT_HEX "%#" HOST_WIDE_INT_PRINT "x" /* Set HOST_WIDEST_INT. This is a 64-bit type unless the compiler in use has no 64-bit type at all; in that case it's 32 bits. */ @@ -129,9 +129,9 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; # define HOST_WIDEST_INT_PRINT_DEC "%" HOST_LONG_LONG_FORMAT "d" # define HOST_WIDEST_INT_PRINT_DEC_C "%" HOST_LONG_LONG_FORMAT "dLL" # define HOST_WIDEST_INT_PRINT_UNSIGNED "%" HOST_LONG_LONG_FORMAT "u" -# define HOST_WIDEST_INT_PRINT_HEX "0x%" HOST_LONG_LONG_FORMAT "x" +# define HOST_WIDEST_INT_PRINT_HEX "%#" HOST_LONG_LONG_FORMAT "x" # define HOST_WIDEST_INT_PRINT_DOUBLE_HEX \ - "0x%" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" + "%#" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x" #endif /* Define HOST_WIDEST_FAST_INT to the widest integer type supported |