]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: start at address 0 when external linking
authorCherry Mui <cherryyz@google.com>
Wed, 12 May 2021 16:30:34 +0000 (12:30 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 16 Aug 2021 16:20:06 +0000 (16:20 +0000)
commitc92f5ee170e6f9c639f1ca684061a0cedde54108
treeabcb4e7622d35e7ef7447dfba8c08d6c10012e89
parent5da2010840a3b4d99fcdccb7cdef0ffbd6e9a29f
cmd/link: start at address 0 when external linking

When external linking, we are creating an object file, instead of
a executable. The absolute address is irrelevant. The external
linker will set it up. Start at address 0.

Change-Id: I3a2e0b8087b328d5c3144f29ca8ba6311aa39cba
Reviewed-on: https://go-review.googlesource.com/c/go/+/319830
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/pe.go