rts/linker: Use mmapForLinker to map PLT
authorBen Gamari <ben@well-typed.com>
Sat, 8 Jun 2019 19:31:54 +0000 (19:31 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Tue, 11 Jun 2019 22:43:05 +0000 (18:43 -0400)
commit0b7f81f560c602f32cfc90fd3fb5f1c52f06ad49
tree679928a0f22862795b7329fa5c760139116a60df
parentcf7f36ae5e0ceee1c37a4c38464209f04647a470
rts/linker: Use mmapForLinker to map PLT

The PLT needs to be located within a close distance of
the code calling it under the small memory model.

Fixes #16784.
rts/linker/Elf.c