Linker: Use contiguous mmapping on ARM
authorBen Gamari <ben@smart-cactus.org>
Sun, 3 Jan 2016 12:21:39 +0000 (13:21 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 3 Jan 2016 20:09:23 +0000 (21:09 +0100)
commit266bc33cc6ac7c328ae3847e23df8681d8172d0a
tree77ab060c975989eae23d34a62c6345c531176b87
parente32765bf15018b21a36839da95c24d2c11ecef70
Linker: Use contiguous mmapping on ARM

ARM has a 24-bit relative jump offset just like PowerPC. Ensure that
symbols don't get too far from their symbol extras.

See #11340.

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

(cherry picked from commit 07d127ad23c7e6056471d218adcc8ec5119fac6c)
rts/Linker.c