summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gas.c4
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 {