[project @ 2004-01-05 17:32:35 by simonmar]
authorsimonmar <unknown>
Mon, 5 Jan 2004 17:32:35 +0000 (17:32 +0000)
committersimonmar <unknown>
Mon, 5 Jan 2004 17:32:35 +0000 (17:32 +0000)
commit9858bd46f74aaebbac42b234b43dee8e7cd77715
tree522ec85a1596424c1dd7bf3ebf00a57b88fa1222
parent1b1d826f356b5a1d4b05da46e3db8a1f70c9db2a
[project @ 2004-01-05 17:32:35 by simonmar]
Instead of grabbing the handle to the executable by calling
dlopen(NULL,...), use RTLD_DEFAULT as the handle to lookup symbols if
it is available.  It seems that RTLD_DEFAULT may be required on
certain systems, although I'm not sure it is available everywhere, so
I've left the old code as fallback in case it isn't available.
ghc/rts/Linker.c