[project @ 2001-05-15 15:29:03 by sewardj]
authorsewardj <unknown>
Tue, 15 May 2001 15:29:03 +0000 (15:29 +0000)
committersewardj <unknown>
Tue, 15 May 2001 15:29:03 +0000 (15:29 +0000)
commit5c080580dc55a8df7da0da47f08a2be7f3673e22
treead9f8867700e7725bcc8cf8d2f33ce863f004c8b
parent9e41f44aba21e28fc905c482dcaba4642a2a8d67
[project @ 2001-05-15 15:29:03 by sewardj]
Fix up the PEi386 linker well enough for ghci to start and function
on Win32.  Two potential problems still to be fixed properly:

* ocGetNames_PEi386 doesn't copy local syms into oc's local symtab,
  and it probably should (since the ELF one does).  Easy to fix.

* I can't figure out how to read syms in the executable itself
  on Win32.  This problem is solved properly for Unix-ELF by doing
  dlopen(NULL).  Here I have kludged it using RTS_MINGW_ONLY_SYMBOLS,
  but this is not a good long-term solution.
ghc/rts/Linker.c