mirror of https://github.com/golang/go.git
parent
e2c3ec3173
commit
8527f49e24
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue