commit 4e81cc2f8a28ba168b446dbbd24a3877e6837da9
parent 83c210834197b7ad3208214a4f9d8669134c4a3c
Author: Quentin Carbonneaux <quentin@c9x.me>
Date: Tue, 2 Mar 2021 10:00:56 +0100
renaming in gas.c
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gas.c b/gas.c
@@ -6,7 +6,7 @@ char *gasloc, *gassym;
void
gasemitdat(Dat *d, FILE *f)
{
- static int align;
+ static int aligned;
static char *dtoa[] = {
[DAlign] = ".balign",
[DB] = "\t.byte",
@@ -18,7 +18,7 @@ gasemitdat(Dat *d, FILE *f)
switch (d->type) {
case DStart:
- align = 0;
+ aligned = 0;
if (d->u.str) {
fprintf(f, ".section %s\n", d->u.str);
} else {
@@ -28,7 +28,7 @@ gasemitdat(Dat *d, FILE *f)
case DEnd:
break;
case DName:
- if (!align)
+ if (!aligned)
fprintf(f, ".balign 8\n");
p = d->u.str[0] == '"' ? "" : gassym;
if (d->export)
@@ -40,7 +40,7 @@ gasemitdat(Dat *d, FILE *f)
break;
default:
if (d->type == DAlign)
- align = 1;
+ aligned = 1;
if (d->isstr) {
if (d->type != DB)