From 9fdd1354ac26f0b4dee51094a7b1c45c0a058934 Mon Sep 17 00:00:00 2001 From: Force Charlie Date: Tue, 14 Apr 2020 15:17:22 +0800 Subject: [PATCH] Change comment --- coff/coff.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coff/coff.go b/coff/coff.go index 68c4751..713609e 100644 --- a/coff/coff.go +++ b/coff/coff.go @@ -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)