diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2017-02-06 15:18:26 +1100 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2017-02-21 01:05:55 +0000 |
| commit | a7e25562555a508571b63aedadb088eab8fc5a48 (patch) | |
| tree | aa5d8f6b843af30317fc51357207c0f97129732c /src/os/exec/exec_test.go | |
| parent | a37f9d8a17cffc6fb79120fad667b0684fd03bc7 (diff) | |
| download | go-a7e25562555a508571b63aedadb088eab8fc5a48.tar.xz | |
cmd/link: set VirtualAddress to 0 for external linker
This is what gcc does when it generates object files.
And pecoff.doc says: "for simplicity, compilers should
set this to zero". It is easier to count everything,
when it starts from 0. Make go linker do the same.
For #10776.
Change-Id: Iffa4b3ad86160624ed34adf1c6ba13feba34c658
Reviewed-on: https://go-review.googlesource.com/36976
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions
