1. 10 Nov, 2009 3 commits
  2. 08 Nov, 2009 1 commit
  3. 06 Nov, 2009 3 commits
  4. 11 Nov, 2009 1 commit
  5. 09 Nov, 2009 5 commits
  6. 06 Nov, 2009 3 commits
    • Ben.Lippmeier@anu.edu.au's avatar
      validate fixes · 374a85ae
      Ben.Lippmeier@anu.edu.au authored
      374a85ae
    • Ben.Lippmeier@anu.edu.au's avatar
      a83cb1ab
    • Ben.Lippmeier@anu.edu.au's avatar
      * Refactor CLabel.RtsLabel to CLabel.CmmLabel · a02e7f40
      Ben.Lippmeier@anu.edu.au authored
      The type of the CmmLabel ctor is now
        CmmLabel :: PackageId -> FastString -> CmmLabelInfo -> CLabel
        
       - When you construct a CmmLabel you have to explicitly say what
         package it is in. Many of these will just use rtsPackageId, but
         I've left it this way to remind people not to pretend labels are
         in the RTS package when they're not. 
         
       - When parsing a Cmm file, labels that are not defined in the 
         current file are assumed to be in the RTS package. 
         
         Labels imported like
            import label
         are assumed to be in a generic "foreign" package, which is different
         from the current one.
         
         Labels imported like
            import "package-name" label
         are marked as coming from the named package.
         
         This last one is needed for the integer-gmp library as we want to
         refer to labels that are not in the same compilation unit, but
         are in the same non-rts package.
         
         This should help remove the nasty #ifdef __PIC__ stuff from
         integer-gmp/cbits/gmp-wrappers.cmm
         
      a02e7f40
  7. 22 Oct, 2009 1 commit
  8. 18 Oct, 2009 3 commits
  9. 08 Nov, 2009 2 commits
  10. 07 Nov, 2009 8 commits
  11. 06 Nov, 2009 3 commits
    • Ian Lynagh's avatar
      Fix the build · b88939db
      Ian Lynagh authored
      b88939db
    • Simon Marlow's avatar
      Rollback #1185 fix · c3685050
      Simon Marlow authored
      As far as I can tell, the hack I was using in rts/Linker.c won't work
      on OS X.  Back to the drawing board.
      
      rolling back:
      
      Tue Nov  3 16:05:47 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * Fix #1185 (RTS part, also needs corresponding change to libraries/base)
        GHC.Conc.ensureIOManagerIsRunning now creates an IO manager thread if
        one does not exist or has died/exited.
        
        Unfortunately this exposed a problem caused by the fact that we have
        two base packages, and hence two IO managers, in GHCi: see NOTE
        [io-manager-ghci] in rts/Linker.c.  The workaround can go away if/when
        we switch to a dynamically linked GHCi.
        
      
          M ./rts/Linker.c -6 +47
          M ./rts/Schedule.c +4
          M ./rts/package.conf.in +16
          M ./rts/posix/Signals.c -1 +7
          M ./rts/posix/Signals.h +2
      
      Wed Nov  4 10:11:03 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * hopefully fix validate breakage on OS X and Windows
      
          M ./rts/Linker.c -1 +1
      
      Wed Nov  4 16:27:40 GMT 2009  Simon Marlow <marlowsd@gmail.com>
        * fix build failure on Windows
      
          M ./rts/Linker.c -1 +1
      c3685050
    • Simon Marlow's avatar
      Accept any non-space characters in a header file (#3624) · 3035c581
      Simon Marlow authored
      The FFI spec doesn't say exactly which characters may occur in a
      header file, so to be on the safe side we'll accept anything that
      isn't a space.
      3035c581
  12. 05 Nov, 2009 7 commits