summaryrefslogtreecommitdiff
path: root/lib/linker.c
diff options
context:
space:
mode:
authorPixel <>2001-04-17 03:20:16 +0000
committerPixel <>2001-04-17 03:20:16 +0000
commita856126fe7e965bc80d17690732ee58343a655d3 (patch)
tree5464a45d4ef03e2efdcc7788de31226832a0a45c /lib/linker.c
parentf12eda64018215310e5d563ebaf9fe4d46db24ff (diff)
Pouearf
Diffstat (limited to 'lib/linker.c')
-rw-r--r--lib/linker.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/linker.c b/lib/linker.c
index 0460d41..8582142 100644
--- a/lib/linker.c
+++ b/lib/linker.c
@@ -236,7 +236,7 @@ static void dumprelog(FILE * f)
break;
}
#ifdef DEBUG
- fprintf(stderr, "Relogement effectué sur %i, de %i octets pour le symbole %s\n",
+ fprintf(stderr, "Relogement effectué sur %i (text), de %i octets pour le symbole %s\n",
s->offset, decal, s->name);
#endif
objects[s->objindex]->text[s->offset] += decal;
@@ -257,6 +257,10 @@ static void dumprelog(FILE * f)
exception(1, _("Internal error"));
break;
}
+#ifdef DEBUG
+ fprintf(stderr, "Relogement effectué sur %i (data), de %i octets pour le symbole %s\n",
+ s->offset, decal, s->name);
+#endif
objects[s->objindex]->data[s->offset] += decal;
writeword(textsize + objects[s->objindex]->datastart + s->offset, f);
break;