patch applied (ghc): i386-darwin: disable use of code stubs for dynamic linking
Wolfgang Thaller <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20061126151902.GA22900__16085.6885057457$1164554376$gmane$org@cvs.haskell.org> |
Mon Nov 20 09:25:16 PST 2006 [email protected] * 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. M ./compiler/nativeGen/PositionIndependentCode.hs -1 +7