Permalink
Commits on Oct 20, 2011
  1. Ignore stdcall c-call in native codegen on x86_64

    The stdcall calling convention is not supported on x86_64.
    When an ffi import requests stdcall, a warning is issued as
    desired by #3336. However, the native codegen was still
    generating code that expected the callee to cleanup the
    stack arguments when calling a c function that requests
    stdcall.
    
    This patch changes the codegen to actually use the ccall
    calling convention as intended.
    committed Oct 20, 2011
  2. Change stack alignment to 16+8 bytes in STG code

    This patch changes the STG code so that %rsp to be aligned
    to a 16-byte boundary + 8. This is the alignment required by
    the x86_64 ABI on entry to a function. Previously we kept
    %rsp aligned to a 16-byte boundary, but this was causing
    problems for the LLVM backend (see #4211).
    
    We now don't need to invoke llvm stack mangler on
    x86_64 targets. Since the stack is now 16+8 byte algined in
    STG land on x86_64, we don't need to mangle the stack
    manipulations with the llvm mangler.
    
    This patch only modifies the alignement for x86_64 backends.
    committed Oct 19, 2011
Commits on Oct 18, 2011
  1. Add -fpackage-trust flag to Safe Haskell.

    David Terei committed Oct 18, 2011
Commits on Oct 17, 2011
  1. remove some old files

    David Terei committed Oct 17, 2011
  2. Fix safe haskell warnings to include src locations

    David Terei committed Oct 17, 2011
  3. Formatting wibbles.

    David Terei committed Oct 7, 2011
  4. fix warning

    simonmar committed Oct 17, 2011
  5. make CAFs atomic, to fix #5558

    See Note [atomic CAFs] in rts/sm/Storage.c
    simonmar committed Oct 17, 2011
  6. Pass Platform to pprExpr1

    Fixes build error:
    
    compiler/cmm/PprC.hs:961:33:
        Couldn't match expected type `Platform'
               against inferred type `CmmExpr'
        In the first argument of `pprExpr1', namely `expr'
        In the second argument of `(<+>)', namely `pprExpr1 expr'
        In the first argument of `parens', namely
            `(cast <+> pprExpr1 expr)'
    bgamari committed with simonmar Oct 12, 2011
Commits on Oct 15, 2011
Commits on Oct 14, 2011
  1. Remove a little more CPP

    igfoo committed Oct 14, 2011
  2. de-CPP codeGen/CgCon.lhs

    igfoo committed Oct 14, 2011
  3. Tweak a comment

    igfoo committed Oct 14, 2011
  4. Temporary hack to get Windows to validate again

    For now, turn off dynlibs when validating
    igfoo committed Oct 14, 2011
  5. Remove some CPP

    igfoo committed Oct 14, 2011
  6. Remove some CPP

    igfoo committed Oct 14, 2011
  7. Fix some warnings

    igfoo committed Oct 14, 2011
  8. Fix libffi build on Windows

    igfoo committed Oct 14, 2011
  9. Don't hide the binary package

    Cabal will use it regardless, and if people are going to use binary then
    it's a lot better if they use the one that we ship, rather than
    installing a second version.
    igfoo committed Oct 14, 2011
  10. Simplify the libffi build

    We now put the libffi objects into the RTS library, rather than trying
    to mangle libffi into being a ghc package itself. It would be nicer to
     make it a separate library (but not a ghc package), but for now
     hopefully this will get the build going through on Windows again.
    igfoo committed Oct 14, 2011
Commits on Oct 13, 2011
Commits on Oct 12, 2011
  1. Dos to Unix file encoding

    simonpj committed Oct 12, 2011