]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: support windows/arm
authorJordan Rhee <jordanrh@microsoft.com>
Tue, 24 Jul 2018 22:13:41 +0000 (15:13 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Aug 2018 22:11:05 +0000 (22:11 +0000)
commitaa311fecda008d26f97af0a8e7f57dcd04cae6ae
tree55bb1c2704e431c12e58f9ffba0efb4fa10caf8d
parent39e59da76debbe98efdf6e2faa045b8c3804d742
cmd/link: support windows/arm

Enable the Go linker to generate executables for windows/arm.

Generates PE relocation tables, which are used by Windows to
dynamically relocate the Go binary in memory. Windows on ARM
requires all modules to be relocatable, unlike x86/amd64 which are
permitted to have fixed base addresses.

Updates #26148

Change-Id: Ie63964ff52c2377e121b2885e9d05ec3ed8dc1cd
Reviewed-on: https://go-review.googlesource.com/125648
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/objfile/pe.go
src/cmd/link/internal/arm/asm.go
src/cmd/link/internal/arm/obj.go
src/cmd/link/internal/ld/config.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/pe.go
src/cmd/link/internal/loadpe/ldpe.go