diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-02 13:10:40 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-02 13:10:40 +0000 |
commit | 9c5b6e15021ce28bae0ea7a2afed31fdea871af0 (patch) | |
tree | ea3cf85e21a1429c274541a6dc4c91a4ccdd9191 /gcc/config/i386 | |
parent | 95dcf70a82102abb02cde15514081dd924af2884 (diff) | |
download | gcc-9c5b6e15021ce28bae0ea7a2afed31fdea871af0.tar.gz |
Revert:
* 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/i386.c (output_pic_addr_const): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158972 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 61a619bed2a..b722c4d832b 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10843,7 +10843,7 @@ output_pic_addr_const (FILE *file, rtx x, int code) { /* We can use %d if the number is <32 bits and positive. */ if (CONST_DOUBLE_HIGH (x) || CONST_DOUBLE_LOW (x) < 0) - fprintf (file, "%#lx%08lx", + fprintf (file, "0x%lx%08lx", (unsigned long) CONST_DOUBLE_HIGH (x), (unsigned long) CONST_DOUBLE_LOW (x)); else |