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