i386-darwin: disable use of code stubs for dynamic linking
authorwolfgang.thaller@gmx.net <unknown>
Mon, 20 Nov 2006 17:25:16 +0000 (17:25 +0000)
committerwolfgang.thaller@gmx.net <unknown>
Mon, 20 Nov 2006 17:25:16 +0000 (17:25 +0000)
commit5cfeedcc9f3ad65283d98063f0b228edca9990b2
tree02d902860eb706a41bb4e05b57b4d55454416f89
parent91d2dae62cc0249671f00db03e9be330a0a586a0
i386-darwin: disable use of code stubs for dynamic linking

We can't use lazy binding for tail-calls accross shared libraries, because dyld
will crash due to incorrect stack layout. We can't get the stack alignment right for
both cross-library tailcalls and foreign calls, so we have to bypass the stub code altogether
and load the address to branch to from the non-lazy pointer table.
compiler/nativeGen/PositionIndependentCode.hs