]> Cypherpunks repositories - gostls13.git/commit
debug/pe: use ws2_32.dll in TestImportTableInUnknownSection
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 28 Nov 2018 08:57:13 +0000 (19:57 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 29 Nov 2018 08:30:13 +0000 (08:30 +0000)
commit311d87dbebbb0238196d3aa13fd9a37f655e1fc3
tree9e76505dd23a155dce6c9779df157087e88e6dcd
parent4c51c937808ee2fb88d469cf89c85c8e700f665c
debug/pe: use ws2_32.dll in TestImportTableInUnknownSection

Apparently (see
https://github.com/golang/go/issues/27904#issuecomment-442140627
for details) kernel32.dll file is not present on windows/arm, so
use ws2_32.dll instead. ws2_32.dll imports table also lives in
'.rdata' section, so ws2_32.dll is as good as kernel32.dll for
testing issue #16103.

Updates #27904

Change-Id: Ibc72b24eea9a4d85abd371ffdcf00442e711b745
Reviewed-on: https://go-review.googlesource.com/c/151480
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/debug/pe/file_test.go