Linker(ELF): Fix addProddableBlocks usage
authorBen Gamari <bgamari.foss@gmail.com>
Sun, 27 Dec 2015 00:13:39 +0000 (01:13 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 27 Dec 2015 00:43:08 +0000 (01:43 +0100)
commit909bbdb59700b7d5c8aa6a3f9b4797003d9e62bd
tree86986abb97b3abc1416d41e369416c17f3b1f1d0
parente8672e5e6cd4db6bbe3a1183f4fbf5496292621c
Linker(ELF): Fix addProddableBlocks usage

The range marked as proddable didn't actually match the range that we
mapped. This fixed `ghc-api/T8628` et al on ARM.

Test Plan: Validate

Reviewers: austin, erikd

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1700

GHC Trac Issues: #11289
rts/Linker.c