Commit 8527f49e authored by Ken Thompson's avatar Ken Thompson

goos and goarch

SVN=121349
parent e2c3ec31
......@@ -41,6 +41,7 @@ main(int argc, char *argv[])
thechar = '6';
thestring = "amd64";
memset(debug, 0, sizeof(debug));
cinit();
outfile = 0;
......@@ -166,7 +167,7 @@ assemble(char *file)
pass = 1;
pinit(file);
Bprint(&obuf, "x86-64\n");
Bprint(&obuf, "%s\n", thestring);
for(i=0; i<nDlist; i++)
dodefine(Dlist[i]);
......
......@@ -231,7 +231,7 @@ outcode(void)
}
Binit(&b, f, OWRITE);
Bprint(&b, "x86-64\n");
Bprint(&b, "%s\n", thestring);
Bprint(&b, "!\n");
outhist(&b);
......
......@@ -49,7 +49,7 @@ dumpobj(void)
if(bout == nil)
fatal("cant open %s", outfile);
Bprint(bout, "x86-64\n");
Bprint(bout, "amd64\n");
Bprint(bout, " exports automatically generated from\n");
Bprint(bout, " %s in package \"%s\"\n", curio.infile, package);
dumpexport();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment