summaryrefslogtreecommitdiff
path: root/utils/tl/span.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tl/span.c')
-rw-r--r--utils/tl/span.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/tl/span.c b/utils/tl/span.c
index 8ceaf631..6d5a0443 100644
--- a/utils/tl/span.c
+++ b/utils/tl/span.c
@@ -350,6 +350,7 @@ span(void)
* add strings to text segment
*/
c = rnd(c, 8);
+ INITRODAT = c;
for(i=0; i<NHASH; i++)
for(s = hash[i]; s != S; s = s->link) {
if(s->type != SSTRING)
@@ -358,6 +359,7 @@ span(void)
while(v & 3)
v++;
s->value = c;
+ s->base = -INITDAT; // compensate for assumptions in thumb.c
c += v;
}
}