commit 3a6cc4d0c0820319fc75cdde463eaf35d1731f4c
parent 47ee853c961b8ac95b60bd91023933a7c1dc486b
Author: Quentin Carbonneaux <quentin@c9x.me>
Date: Mon, 29 Apr 2019 10:15:24 +0200
add missing gas prefix
Thanks to Jorge Acereda MaciĆ” for catching
this.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gas.c b/gas.c
@@ -42,8 +42,8 @@ gasemitdat(Dat *d, FILE *f)
fprintf(f, "\t.ascii \"%s\"\n", d->u.str);
}
else if (d->isref) {
- fprintf(f, "%s %s%+"PRId64"\n",
- dtoa[d->type], d->u.ref.nam,
+ fprintf(f, "%s %s%s%+"PRId64"\n",
+ dtoa[d->type], gassym, d->u.ref.nam,
d->u.ref.off);
}
else {