1. 27 Feb, 2002 7 commits
  2. 26 Feb, 2002 5 commits
    • sof's avatar
      [project @ 2002-02-26 19:18:00 by sof] · 2a966c8e
      sof authored
      stg_gc_unbx_r1: fixed what was surely a typo in the 06/07/01
      commit which instead of pushing an info pointer, started
      pushing the entry code (stg_gc_unbx_r1_ret).
      
      Unbreaks the mini-interpreter.
      2a966c8e
    • sof's avatar
      [project @ 2002-02-26 14:56:43 by sof] · eaae176c
      sof authored
      comment wibble
      eaae176c
    • sewardj's avatar
      [project @ 2002-02-26 12:52:58 by sewardj] · 3f7ae19b
      sewardj authored
      Fix sparc borkage.
      3f7ae19b
    • simonmar's avatar
      [project @ 2002-02-26 12:15:11 by simonmar] · 93bd5753
      simonmar authored
      Mention that you can say 'make way=foo' to build a particular way only
      in the current directory.
      
      Clean up some markup, and fix a markup error at the same time.
      93bd5753
    • sof's avatar
      [project @ 2002-02-26 05:03:27 by sof] · bcfa1e5a
      sof authored
      INFO_VECTOR (MINIINTERPRETER case): gcc-2.96 doesn't
      like a mixture of labelled and non-labelled members
      in a struct initializer, which is reasonable. So,
      be explicit that we're initializing the 'vector' member.
      
      I'd be surprised if this change causes breakage with earlier
      GCCen.
      
      A comment next to INFO_VECTOR as to why it has to be empty
      in the non-MINIINTERPRETER case, would be nice.
      bcfa1e5a
  3. 25 Feb, 2002 3 commits
  4. 22 Feb, 2002 4 commits
  5. 21 Feb, 2002 1 commit
    • sewardj's avatar
      [project @ 2002-02-21 14:42:17 by sewardj] · 3c10dbeb
      sewardj authored
      In DsForeign.fexportEntry, track recent changes to f-x-dynamic
      implementation.  At the same time completely rewrite this fn, since I
      couldn't figure out how the previous incarnation worked.
      3c10dbeb
  6. 19 Feb, 2002 1 commit
  7. 18 Feb, 2002 7 commits
    • sof's avatar
      [project @ 2002-02-18 17:27:24 by sof] · 80f067ce
      sof authored
      unused arg wibble
      80f067ce
    • sof's avatar
      [project @ 2002-02-18 17:26:48 by sof] · d94938cc
      sof authored
      If necessary, define THREADED_RTS and DEBUG when gen'ing rts.conf
      d94938cc
    • sof's avatar
      [project @ 2002-02-18 16:28:39 by sof] · 0ef63546
      sof authored
      Filter out _stub.c gubbins from C_SRCS
      0ef63546
    • sof's avatar
      [project @ 2002-02-18 16:27:24 by sof] · 6682da21
      sof authored
      remove STUBOBJS as an (explicit) dependency to LIBRARY (+comment as to why)
      6682da21
    • sewardj's avatar
      [project @ 2002-02-18 15:51:28 by sewardj] · 4b294905
      sewardj authored
      Fix import wibble
      4b294905
    • sof's avatar
      [project @ 2002-02-18 13:26:12 by sof] · 6e2ea06c
      sof authored
      Be clear about the lock assumptions of GarbageCollect(); it
      is now required to hold sched_mutex.
      
      The real reason for adding this requirement is so that when
      prior to scheduling finalizers and doing thread resurrection,
      GarbageCollect() may set the lock status of sched_mutex to
      the state expected by scheduleFinalizers() and resurrectThreads()
      (i.e., unlocked).
      
      Note: this is only an issue with pthreads. In the Win32 threading
      model, it's a NOP for a thread to grab a mutex it already holds.
      6e2ea06c
    • sewardj's avatar
      [project @ 2002-02-18 12:41:01 by sewardj] · 45ddebc0
      sewardj authored
      Make foreign export dynamic work in GHCi.  Main changes:
      
      * Allow literal labels to propagate through the bytecode generator
        and eventually be linked by the runtime linker.
      
      * Minor mods to driver plumbing so that GHCi produces the relevant
        *_stub.[ch] files, compiles them with gcc, and loads the resulting .o's
      
      * Dereference the stable pointer in the generated C stub, rather
        than passing it to a Haskell-world helper.  This seems simpler and
        removes the need to have a H-world helper, which in turn means the
        stub .o doesn't refer to any H-world entities.  This is important
        because our linker can't deal with mutual recursion between
        BCOs and loaded objects.
      
      Still ToDo:
      
      * Make it thread/GC safe.  (Sigbjorn?)
      
      * Get rid of the bits of code in DsForeign which generate the
        Haskell helper.  I had a go but it wasn't obvious how to do it,
        so have deferred.
      45ddebc0
  8. 17 Feb, 2002 9 commits
  9. 16 Feb, 2002 3 commits
    • sof's avatar
      [project @ 2002-02-16 19:39:51 by sof] · 8b40c306
      sof authored
      Use Foreign.free instead of destructArray (which seem to have disappeared)
      8b40c306
    • sof's avatar
      [project @ 2002-02-16 18:15:14 by sof] · 07c1fd55
      sof authored
      getPackageLibraries: replace some rather fragile string prefix matching
      code that broke when "HSstd" got renamed to "HSbase".
      07c1fd55
    • panne's avatar
      [project @ 2002-02-16 17:07:07 by panne] · 386353b1
      panne authored
      Welcome to the amazing world of shell syntax! :-) The line
      
        CATALOG_OPTION=-c $DOCBOOK_CATALOG
      
      sets the environment variable CATALOG_OPTION to "-c" and executes
      $DOCBOOK_CATALOG, which is probably not what was intended. Double
      quotes to the rescue!
      386353b1