]> Cypherpunks repositories - gostls13.git/commit
cmd/link: reorder pe sections
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 8 Feb 2017 00:44:09 +0000 (11:44 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 21 Feb 2017 06:11:17 +0000 (06:11 +0000)
commitd0a978f5b503028bb9c34944edb59e52c4070f6f
treebfdf386aae7bb0bf8355d0c37c4c72e9320b725f
parent6db4d92e4c01c854e15391d18100c8d99cbbd7bc
cmd/link: reorder pe sections

dwarf writing code assumes that dwarf sections follow
.data and .bss, not .ctors. Make pe section writing code
match that assumption.

For #10776.

Change-Id: I128c3ad125f7d0db19e922f165704a054b2af7ba
Reviewed-on: https://go-review.googlesource.com/36980
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/pe.go