Skip to content

Commit

Permalink
Change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Force Charlie authored and akavel committed Apr 17, 2020
1 parent 5f0b068 commit 9fdd135
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coff/coff.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ func (coff *Coff) Arch(arch string) error {
// FIXME: currently experimental -- not sure if something more doesn't need to be changed
coff.Machine = pe.IMAGE_FILE_MACHINE_AMD64
case "arm":
// see
// https://github.com/golang/go/blob/f3424ceff2fa48615ed98580f337ab044925c940/src/cmd/link/internal/ld/pe.go#L736
coff.Machine = pe.IMAGE_FILE_MACHINE_ARMNT
case "arm64":
// Waiting https://github.com/golang/go/issues/36439
coff.Machine = pe.IMAGE_FILE_MACHINE_ARM64
default:
return errors.New("coff: unknown architecture: " + arch)
Expand Down

0 comments on commit 9fdd135

Please sign in to comment.