summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/assembler.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/assembler.c b/lib/assembler.c
index 646d48f..71f1b6c 100644
--- a/lib/assembler.c
+++ b/lib/assembler.c
@@ -1900,8 +1900,8 @@ void asm_eof(FILE * f)
nbsymbols++;
writeword(0, f2, 1);
writeword(ttext->offset, f2, 1);
- writeword(strlen(ttext->Expr->symbol), f2, 1);
- writestring(ttext->Expr->symbol, f2);
+ writeword(strlen(ttext->Label), f2, 1);
+ writestring(ttext->Label, f2);
}
}
popcontext();
@@ -1974,8 +1974,8 @@ void asm_eof(FILE * f)
nbsymbols++;
writeword(0, f2, 1);
writeword(tdata->offset + s_text, f2, 1);
- writeword(strlen(tdata->Expr->symbol), f2, 1);
- writestring(tdata->Expr->symbol, f2);
+ writeword(strlen(tdata->Label), f2, 1);
+ writestring(tdata->Label, f2);
}
}
popcontext();
@@ -1995,8 +1995,8 @@ void asm_eof(FILE * f)
nbsymbols++;
writeword(0, f2, 1);
writeword(tbss->offset + s_text + s_data, f2, 1);
- writeword(strlen(tbss->Expr->symbol), f2, 1);
- writestring(tbss->Expr->symbol, f2);
+ writeword(strlen(tbss->Label), f2, 1);
+ writestring(tbss->Label, f2);
}
}
popcontext();