diff options
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index c96eb419a25..d7d754f030c 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -3980,8 +3980,7 @@ write_varray (varray_t *vp, /* virtual array */ return; if (debug) - fprintf (stderr, "\twarray\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twarray\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) vp, (unsigned long) offset, vp->num_allocated * vp->object_size, str); @@ -4020,8 +4019,7 @@ write_object (void) off_t offset; if (debug) - fprintf (stderr, "\n\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7u, size = %7lu, %s\n", + fprintf (stderr, "\n\twrite\tvp = %p, offset = %7u, size = %7lu, %s\n", (void *) &symbolic_header, 0, (unsigned long) sizeof (symbolic_header), "symbolic header"); @@ -4051,8 +4049,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_linenum, (long) symbolic_header.cbLineOffset, (long) symbolic_header.cbLine, "Line numbers"); @@ -4083,8 +4080,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_opt_syms, (long) symbolic_header.cbOptOffset, num_write, "Optimizer symbols"); @@ -4172,8 +4168,7 @@ write_object (void) file_ptr = file_ptr->next_file) { if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &file_ptr->fdr, file_offset, (unsigned long) sizeof (FDR), "File header"); @@ -4205,8 +4200,7 @@ write_object (void) pfatal_with_name (object_name); if (debug) - fprintf (stderr, "\twrite\tvp = " HOST_PTR_PRINTF - ", offset = %7lu, size = %7lu, %s\n", + fprintf (stderr, "\twrite\tvp = %p, offset = %7lu, size = %7lu, %s\n", (void *) &orig_rfds, (long) symbolic_header.cbRfdOffset, num_write, "Relative file descriptors"); @@ -4999,7 +4993,7 @@ allocate_cluster (Size_t npages) pfatal_with_name ("allocate_cluster"); if (debug > 3) - fprintf (stderr, "\talloc\tnpages = %lu, value = " HOST_PTR_PRINTF "\n", + fprintf (stderr, "\talloc\tnpages = %lu, value = %p\n", (unsigned long) npages, (void *) ptr); return ptr; |