rts: Fix bss initialization on Windows
authorTamar Christina <tamar@zhox.com>
Thu, 22 Nov 2018 16:43:15 +0000 (11:43 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 22 Nov 2018 17:11:16 +0000 (12:11 -0500)
commit06a09a5b5764717121be41d32f7b30f58ae33e08
treeaaac71ea28f28e1fa52d1d411a0f61ec99df5c32
parent86f6890e3689f2f75ecca8172eda0338fe3e9769
rts: Fix bss initialization on Windows

This patch fixes BSS initialization such that it is
initialized to 0 as you'd expect.

Test Plan: ./validate, test T7040_ghci

Reviewers: bgamari, erikd, simonmar

Reviewed By: bgamari

Subscribers: rwbarton, carter

GHC Trac Issues: #15669

Differential Revision: https://phabricator.haskell.org/D5364
rts/linker/PEi386.c