Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/ld/ld Update some DEBUG printf() formats.



details:   https://anonhg.NetBSD.org/src/rev/58643281a74b
branches:  trunk
changeset: 498487:58643281a74b
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri Oct 27 01:05:30 2000 +0000

description:
Update some DEBUG printf() formats.

diffstat:

 gnu/usr.bin/ld/ld/ld.c  |  10 +++++-----
 gnu/usr.bin/ld/ld/rrs.c |   8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 7f279a8c8506 -r 58643281a74b gnu/usr.bin/ld/ld/ld.c
--- a/gnu/usr.bin/ld/ld/ld.c    Fri Oct 27 00:42:57 2000 +0000
+++ b/gnu/usr.bin/ld/ld/ld.c    Fri Oct 27 01:05:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld.c,v 1.70 2000/05/28 01:33:58 matt Exp $     */
+/*     $NetBSD: ld.c,v 1.71 2000/10/27 01:05:30 mycroft Exp $  */
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -88,7 +88,7 @@
 
 #ifndef lint
 /* from: "@(#)ld.c     6.10 (Berkeley) 5/22/91"; */
-__RCSID("$NetBSD: ld.c,v 1.70 2000/05/28 01:33:58 matt Exp $");
+__RCSID("$NetBSD: ld.c,v 1.71 2000/10/27 01:05:30 mycroft Exp $");
 #endif /* not lint */
 
 #define GNU_BINUTIL_COMPAT     /* forwards compatiblity with binutils 2.x */
@@ -2280,7 +2280,7 @@
                }
                if (sp->def_lsp) {
 #ifdef DEBUG
-printf("pass1: SO definition for %s, type %x in %s at %#x\n",
+printf("pass1: SO definition for %s, type %x in %s at %#lx\n",
        sp->name, sp->so_defined, get_file_name(sp->def_lsp->entry),
        sp->def_lsp->nzlist.nz_value);
 #endif
@@ -2406,7 +2406,7 @@
                        pic_type = RELOC_PIC_TYPE(reloc);
 
 #ifdef DEBUG
-                       printf("consider_relocation: baserel symbolnum=%d offset=%#x\n",
+                       printf("consider_relocation: baserel symbolnum=%d offset=%#lx\n",
                                reloc->r_symbolnum, lsp->nzlist.nz_value);
 #endif
 
@@ -3182,7 +3182,7 @@
                                        get_file_name(entry));
 
 #ifdef DEBUG
-                       printf("perform_relocation: baserel symbolnum=%d addend=%#x offset=%#x\n",
+                       printf("perform_relocation: baserel symbolnum=%d addend=%#lx offset=%#lx\n",
                                symindex, addend, lsp->nzlist.nz_value);
 #endif
 
diff -r 7f279a8c8506 -r 58643281a74b gnu/usr.bin/ld/ld/rrs.c
--- a/gnu/usr.bin/ld/ld/rrs.c   Fri Oct 27 00:42:57 2000 +0000
+++ b/gnu/usr.bin/ld/ld/rrs.c   Fri Oct 27 01:05:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rrs.c,v 1.32 2000/01/13 00:05:32 mycroft Exp $ */
+/*     $NetBSD: rrs.c,v 1.33 2000/10/27 01:05:30 mycroft Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -356,7 +356,7 @@
        current_jmpslot_offset += sizeof(jmpslot_t);
 
 #ifdef DEBUG
-printf("claim_rrs_jmpslot: %s: %s(%d) -> offset %x\n",
+printf("claim_rrs_jmpslot: %s: %s(%d) -> offset %lx\n",
        get_file_name(entry),
        sp->name, sp->rrs_symbolnum, sp->jmpslot_offset);
 #endif
@@ -450,7 +450,7 @@
        current_got_offset += sizeof(got_t);
 
 #ifdef DEBUG
-printf("claim_rrs_gotslot: %s(%d,%#x) slot offset %#x, addend %#x\n",
+printf("claim_rrs_gotslot: %s(%d,%#lx) slot offset %#lx, addend %#lx\n",
         sp->name, sp->rrs_symbolnum, sp->value, sp->gotslot_offset, addend);
 #endif
 
@@ -553,7 +553,7 @@
        }
 
 #ifdef DEBUG
-printf("claim_rrs_internal_gotslot: %s: slot offset %#x, addend = %#x\n",
+printf("claim_rrs_internal_gotslot: %s: slot offset %#lx, addend = %#lx\n",
        get_file_name(entry), lsp->gotslot_offset, addend);
 #endif
 



Home | Main Index | Thread Index | Old Index