1
0
mirror of https://github.com/golang/go synced 2024-10-04 15:21:22 -06:00
go/src/cmd
Shenghou Ma 821e124c24 cmd/link/internal/ld: align PE .text section to 32-byte when external linking
Some symbols, for example, masks requires 16-byte alignment, and
they are placed in the text section. Before this change, the text
section is only aligned to 4-byte, and it's making masks unaligned.

Fixes #12415.

Change-Id: I7767778d1b4f7d3e74c2719a02848350782a4160
Reviewed-on: https://go-review.googlesource.com/14166
Run-TryBot: Minux Ma <minux@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-09-04 05:27:02 +00:00
..
addr2line cmd/addr2line: simplify windows test 2015-06-17 14:23:20 +00:00
api api: add go1.5.txt API file, reset next.txt 2015-07-21 02:48:35 +00:00
asm cmd/asm: fix handling of nested #if[n]defs 2015-09-04 05:23:28 +00:00
cgo cmd/cgo: annotate named return struct members in comments 2015-08-26 00:24:34 +00:00
compile cmd/compile/internal/gc: allow //go:systemstack only in runtime 2015-09-04 02:16:50 +00:00
cover all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
dist all: remove executable bit from several files 2015-09-04 02:59:49 +00:00
doc cmd/doc: document that json.Decode documents encoding/json.Decoder.Decode 2015-09-02 17:58:17 +00:00
fix cmd/fix: add gotypes module 2015-07-17 01:47:14 +00:00
go cmd/doc: document that json.Decode documents encoding/json.Decoder.Decode 2015-09-02 17:58:17 +00:00
gofmt cmd/gofmt, go/format: refactor common pieces into internal/format 2015-04-01 17:35:26 +00:00
internal cmd/internal/ld: put read-only relocated data into .data.rel.ro when making a shared object 2015-09-04 05:25:10 +00:00
link cmd/link/internal/ld: align PE .text section to 32-byte when external linking 2015-09-04 05:27:02 +00:00
newlink cmd/internal/ld: put read-only relocated data into .data.rel.ro when making a shared object 2015-09-04 05:25:10 +00:00
nm all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
objdump cmd/objdump: don't run TestDisasmExtld if cgo is not enabled 2015-07-31 20:16:22 +00:00
pack all: extract "can I exec?" check from tests into internal/testenv 2015-06-16 18:07:36 +00:00
pprof cmd/pprof: fix race between viewer and web command 2015-07-23 03:51:39 +00:00
trace cmd/trace: don't fail when no browser is available 2015-08-21 20:02:23 +00:00
vendor cmd/vendor/golang.org/x/arch: import arm/armasm and x86/x86asm 2015-08-28 16:34:30 +00:00
vet cmd/vet: diagnose using Printf on a function value 2015-09-02 17:58:04 +00:00
yacc cmd/yacc: fix compile error in empty grammar 2015-08-18 13:50:36 +00:00