]> Shamusworld >> Repos - rln/commitdiff
Fixes for verbosity to reloc_segment().
authorJames Hammons <jlhamm@acm.org>
Thu, 29 Dec 2011 09:54:15 +0000 (09:54 +0000)
committerJames Hammons <jlhamm@acm.org>
Thu, 29 Dec 2011 09:54:15 +0000 (09:54 +0000)
rln.c

diff --git a/rln.c b/rln.c
index 05760020e4b5a7a69e66d54d13069ae185de261c..2e0c76745fa4438d8a2d0fa32708e0ae3545271f 100644 (file)
--- a/rln.c
+++ b/rln.c
@@ -754,7 +754,7 @@ int reloc_segment(struct OFILE * ofile, int flag)
                // Shamus: Let's output some info to aid in debugging this crap
                if (vflag)
                {
-                       printf("reloc_segment(): %s, $%08X: $%08X => $%08X\n", sym, addr, olddata, getlong(sptr + addr));
+                       printf("reloc_segment(): %s, $%08X: $%08X => $%08X\n", (glblreloc ? sym : "(LOCAL)"), addr, olddata, getlong(sptr + addr));
                }
 
                rptr += 8;                              // Point to the next relocation record