aboutsummaryrefslogtreecommitdiff
path: root/dynasm/dasm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'dynasm/dasm_x86.h')
-rw-r--r--dynasm/dasm_x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynasm/dasm_x86.h b/dynasm/dasm_x86.h
index 66a68ea5..ae5cb429 100644
--- a/dynasm/dasm_x86.h
+++ b/dynasm/dasm_x86.h
@@ -140,6 +140,7 @@ void dasm_setup(Dst_DECL, const void *actionlist)
140 if (D->pclabels) memset((void *)D->pclabels, 0, D->pcsize); 140 if (D->pclabels) memset((void *)D->pclabels, 0, D->pcsize);
141 for (i = 0; i < D->maxsection; i++) { 141 for (i = 0; i < D->maxsection; i++) {
142 D->sections[i].pos = DASM_SEC2POS(i); 142 D->sections[i].pos = DASM_SEC2POS(i);
143 D->sections[i].rbuf = D->sections[i].buf - D->sections[i].pos;
143 D->sections[i].ofs = 0; 144 D->sections[i].ofs = 0;
144 } 145 }
145} 146}