[project @ 2001-07-20 01:05:11 by sof]
authorsof <unknown>
Fri, 20 Jul 2001 01:05:11 +0000 (01:05 +0000)
committersof <unknown>
Fri, 20 Jul 2001 01:05:11 +0000 (01:05 +0000)
commit9d9784263ae1cb1d2add4b714ca676ca4b6cc22c
tree21b0adbb12978bcbc6068d9b406e3386a93ed265
parentddb17caacbdd0640a264b729313e161e310eb8af
[project @ 2001-07-20 01:05:11 by sof]
lookupSymbol (PEi386-only): When chasing down a label in a DLL, try
removing the initial underscore (if any). I've prefixed the comment
next to the change with the label 'HACK', as I'm not sure whether
this is a name mangling operation you should always do when going
from the import library name to the DLL-bound thing.
(Julian, could you have a look?)

Fixes probs with 'foreign import'ing DLL-bound symbols.
ghc/rts/Linker.c