diff --git a/src/cmd/gc/obj.c b/src/cmd/gc/obj.c index c7315e0f76..b5b8df510f 100644 --- a/src/cmd/gc/obj.c +++ b/src/cmd/gc/obj.c @@ -64,7 +64,7 @@ dumpobj(void) memset(arhdr, 0, ArhdrSize); Bwrite(bout, arhdr, ArhdrSize); 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");