RFC: ghc's dynamic linker
Alastair Reid
alastair@reid-consulting-uk.ltd.uk
28 Aug 2002 11:21:29 +0100
> Thanks, I didn't know about libelf. That might be a good replacement
> for our custom linker (at least on ELF platforms) at some point.
Note that it's _not_ a linker - just a good clean set of struct
definitions, some code to read and write them to a file and a few
utility functions. It seems to use mmap and friends to read the file
so it's quite efficient. (But you have to turn this off at configure
time if you're _both_ reading and writing the file because mmap doesn't
work very well over NFS.)
--
A