cvs commit: fptools/ghc/compiler/ghci ByteCodeFFI.lhs

desrt at haskell.org desrt at haskell.org
Sat Jan 8 17:54:29 EST 2005


desrt       2005/01/08 14:54:29 PST

  Modified files:
    ghc/compiler/ghci    ByteCodeFFI.lhs 
  Log:
  Fixed this 6.4 TODO item listed on the wiki:
  
   PowerPC Linux (32bit): Fix GHCi FFI calls for arguments that are not passed on the stack (ByteCodeFFI).
  
  Separated the code for Darwin and Linux (for PowerPC only).  Rewrote the Linux version to account for the differences in the ABIs.
  
  All changes are inside #if powerpc_TARGET_ARCH && linux_TARGET_OS except:
    - import Data.List ( mapAccumL )      (used by my code)
    - small fix to a comment typo in Wolfgang's Darwin code
    - changed 'undefined' to a more meaningful 'error' message if
       mkMarshalCode is unimplemented
  
  Ran regression tests.  It passes them all except for the ones that are broken because of the 'wrapper' problems currently being addressed.
  
  Revision  Changes    Path
  1.18      +106 -3    fptools/ghc/compiler/ghci/ByteCodeFFI.lhs


More information about the Cvs-ghc mailing list