Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
cmd/gc: correct GOARCH in object files for amd64p32.
Browse files Browse the repository at this point in the history
LGTM=dave
R=rsc, dave
CC=golang-codereviews
https://golang.org/cl/72260045
  • Loading branch information
remyoudompheng committed Mar 7, 2014
1 parent 849ee73 commit e09ac3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/gc/obj.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e09ac3c

Please sign in to comment.