1
0
mirror of https://github.com/golang/go synced 2024-10-05 21:21:21 -06:00
go/src/cmd/link
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
..
internal cmd/link/internal/ld: align PE .text section to 32-byte when external linking 2015-09-04 05:27:02 +00:00
doc.go cmd/compile, cmd/link: add docs 2015-06-05 04:42:35 +00:00
main.go cmd/compile, cmd/link: create from 5g, 5l, etc 2015-05-21 17:31:51 +00:00