Source-Changes-HG archive

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

[src/netbsd-1-5]: src/gnu/usr.bin/ld/ld Pullup 1.33 [mycroft]:



details:   https://anonhg.NetBSD.org/src/rev/891e0a7d0f66
branches:  netbsd-1-5
changeset: 490012:891e0a7d0f66
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Oct 30 22:56:46 2000 +0000

description:
Pullup 1.33 [mycroft]:
Fix printf() formats for DEBUG mode.

diffstat:

 gnu/usr.bin/ld/ld/rrs.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 3a91a9af495a -r 891e0a7d0f66 gnu/usr.bin/ld/ld/rrs.c
--- a/gnu/usr.bin/ld/ld/rrs.c   Mon Oct 30 22:56:04 2000 +0000
+++ b/gnu/usr.bin/ld/ld/rrs.c   Mon Oct 30 22:56:46 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.32.2.1 2000/10/30 22:56:46 tv 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