diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2019-04-29 10:15:24 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2019-04-29 10:15:24 +0200 |
commit | 3a6cc4d0c0820319fc75cdde463eaf35d1731f4c (patch) | |
tree | 1d664cc3d00f2af22f64518ad40d410d70cfe1dc | |
parent | 47ee853c961b8ac95b60bd91023933a7c1dc486b (diff) | |
download | roux-3a6cc4d0c0820319fc75cdde463eaf35d1731f4c.tar.gz |
add missing gas prefix
Thanks to Jorge Acereda MaciĆ” for catching this.
-rw-r--r-- | gas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas.c b/gas.c index 6c3317d..1b6a053 100644 --- 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 { |