Commit e09ac3cf authored by Rémy Oudompheng's avatar Rémy Oudompheng

cmd/gc: correct GOARCH in object files for amd64p32.

LGTM=dave
R=rsc, dave
CC=golang-codereviews
https://golang.org/cl/72260045
parent 849ee73f
...@@ -64,7 +64,7 @@ dumpobj(void) ...@@ -64,7 +64,7 @@ dumpobj(void)
memset(arhdr, 0, ArhdrSize); memset(arhdr, 0, ArhdrSize);
Bwrite(bout, arhdr, ArhdrSize); Bwrite(bout, arhdr, ArhdrSize);
startobj = Boffset(bout); startobj = Boffset(bout);
Bprint(bout, "go object %s %s %s %s\n", getgoos(), thestring, getgoversion(), expstring()); Bprint(bout, "go object %s %s %s %s\n", getgoos(), getgoarch(), getgoversion(), expstring());
} }
Bprint(bout, "\n!\n"); Bprint(bout, "\n!\n");
......
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