RFC: ghc's dynamic linker

Simon Marlow simonmar@microsoft.com
Wed, 28 Aug 2002 10:05:27 +0100


> On 28 Aug 2002 01:34:37 +0100
> Alastair Reid <alastair@reid-consulting-uk.ltd.uk> wrote:
>=20
> > > 2. The BFD way=20
>=20
> I was just about to ask about this. I was going to ask what=20
> ghc uses for
> manipulating .o files. I've come accross BFD through gdb but=20
> have never had to use it seriously.

We do it The Hard Way, i.e. we have our own complete object linker.
It's a lot simpler than BFD of course, because it only has to handle
static linking.  It currently supports ELF and the Windows PE object
format.

Cheers,
	Simon