From: Ken Thompson Date: Thu, 5 Jun 2008 23:57:26 +0000 (-0700) Subject: goos and goarch X-Git-Tag: weekly.2009-11-06~3761 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8527f49e24b1145a7c6e3020d4a7d8aa51625b17;p=gostls13.git goos and goarch SVN=121349 --- diff --git a/src/cmd/6a/lex.c b/src/cmd/6a/lex.c index ff0a0d56ee..1a1e30f152 100644 --- a/src/cmd/6a/lex.c +++ b/src/cmd/6a/lex.c @@ -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