diff options
author | Michael Forney <mforney@mforney.org> | 2019-05-14 14:34:23 -0700 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2019-05-15 10:20:12 +0200 |
commit | 9e7e5bffc4e4af37a6c29657ba87fbb6a1123cf2 (patch) | |
tree | 9273d3f42153ce7d08db6ad6c97bb4852ebd2d0a /gas.c | |
parent | 72f2e8445adaeeb4916690263f65d6b61ffa5c1d (diff) | |
download | roux-9e7e5bffc4e4af37a6c29657ba87fbb6a1123cf2.tar.gz |
Allow specifying literal global names
Diffstat (limited to 'gas.c')
-rw-r--r-- | gas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas.c b/gas.c index 8e2f04c..2a24ab2 100644 --- a/gas.c +++ b/gas.c @@ -39,7 +39,7 @@ gasemitdat(Dat *d, FILE *f) if (d->isstr) { if (d->type != DB) err("strings only supported for 'b' currently"); - fprintf(f, "\t.ascii \"%s\"\n", d->u.str); + fprintf(f, "\t.ascii %s\n", d->u.str); } else if (d->isref) { fprintf(f, "%s %s%s%+"PRId64"\n", |