shithub: riscv

Download patch

ref: 37de63aec3989dee1061c73ada21fd2e23ceb7e0
parent: de356dd855bb912e40a60592d6292d2066351ffd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Feb 10 18:10:47 EST 2014

cc: emit right acid format for address

we could use 'A' here but then it would require the new acid.

--- a/sys/src/cmd/cc/acid.c
+++ b/sys/src/cmd/cc/acid.c
@@ -129,8 +129,8 @@
 			}
 		} else {
 			Bprint(&outbuf,
-				"\tprint(\"\t%s\t\", addr.%s\\X, \"\\n\");\n",
-				amap(s->name), amap(s->name));
+				"\tprint(\"\t%s\t\", addr.%s\\%c, \"\\n\");\n",
+				amap(s->name), amap(s->name), acidchar[TIND]);
 			break;
 		}