1
0
mirror of https://github.com/golang/go synced 2024-11-11 21:50:21 -07:00

goos and goarch

SVN=121349
This commit is contained in:
Ken Thompson 2008-06-05 16:57:26 -07:00
parent e2c3ec3173
commit 8527f49e24
3 changed files with 4 additions and 3 deletions

View File

@ -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]);

View File

@ -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);

View File

@ -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();