alpha: switch handling of 'foreign import wrapper' (FIW) to libffi

Authored by trofi on Jul 8 2010, 1:53 AM.

Description

alpha: switch handling of 'foreign import wrapper' (FIW) to libffi

I tried to build ghc-6.12.3 and found out FIW part of code
does not compile anymore. It uses absent functions under #ifdef.
Instead of fixing it I just switched to libffi. Result built successfully
and passed 'foreign import wrapper' test I wrote for trac ticket Trac #3516.

I didn't try to build -HEAD yet, but this patch only removes code, so
it should not make -HEAD worse.

Details

Committed
trofiJul 8 2010, 1:53 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFF1148cb85d9fc: Reorder the CPP flags so -optP can override the platform defines
Branches
Unknown
Tags
Unknown