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