1. 22 Jul, 2001 1 commit
  2. 20 Jul, 2001 2 commits
    • sof's avatar
      [project @ 2001-07-20 01:05:11 by sof] · 9d978426
      sof authored
      lookupSymbol (PEi386-only): When chasing down a label in a DLL, try
      removing the initial underscore (if any). I've prefixed the comment
      next to the change with the label 'HACK', as I'm not sure whether
      this is a name mangling operation you should always do when going
      from the import library name to the DLL-bound thing.
      (Julian, could you have a look?)
      
      Fixes probs with 'foreign import'ing DLL-bound symbols.
      9d978426
    • sof's avatar
      [project @ 2001-07-20 00:44:33 by sof] · ddb17caa
      sof authored
      Since longlong prims are no longer in the RTS, extend RTS_MINGW_ONLY_SYMBOLS with some reqd libgcc syms
      ddb17caa
  3. 17 Jul, 2001 1 commit
  4. 29 Jun, 2001 2 commits
  5. 28 Jun, 2001 1 commit
  6. 27 Jun, 2001 1 commit
    • sewardj's avatar
      [project @ 2001-06-27 13:56:01 by sewardj] · e205ee96
      sewardj authored
      Clean up Win32 linking a bit, by fishing symbols out of msvcrt.dll
      as needed.  This reduces the size of but unfortunately does not
      eliminate the RTS_MINGW_ONLY_SYMBOLS hack.
      e205ee96
  7. 25 Jun, 2001 1 commit
  8. 22 Jun, 2001 1 commit
  9. 06 Jun, 2001 1 commit
  10. 18 May, 2001 1 commit
  11. 16 May, 2001 1 commit
    • sewardj's avatar
      [project @ 2001-05-16 09:40:11 by sewardj] · 9faa1bf9
      sewardj authored
      Add enough entries to RTS_MINGW_ONLY_SYMBOLS to make packages
      {std lang concurrent util data text} work.  Also add a proper fix
      to this using GetModuleHandle(NULL); unfortunately it doesn't
      work for some unknown reason.
      9faa1bf9
  12. 15 May, 2001 1 commit
    • sewardj's avatar
      [project @ 2001-05-15 15:29:03 by sewardj] · 5c080580
      sewardj authored
      Fix up the PEi386 linker well enough for ghci to start and function
      on Win32.  Two potential problems still to be fixed properly:
      
      * ocGetNames_PEi386 doesn't copy local syms into oc's local symtab,
        and it probably should (since the ELF one does).  Easy to fix.
      
      * I can't figure out how to read syms in the executable itself
        on Win32.  This problem is solved properly for Unix-ELF by doing
        dlopen(NULL).  Here I have kludged it using RTS_MINGW_ONLY_SYMBOLS,
        but this is not a good long-term solution.
      5c080580
  13. 24 Apr, 2001 2 commits
  14. 14 Apr, 2001 1 commit
  15. 02 Apr, 2001 1 commit
  16. 29 Mar, 2001 1 commit
  17. 28 Mar, 2001 1 commit
  18. 22 Mar, 2001 1 commit
    • hwloidl's avatar
      [project @ 2001-03-22 03:51:08 by hwloidl] · 20fc2f0c
      hwloidl authored
      -*- outline -*-
      Time-stamp: <Thu Mar 22 2001 03:50:16 Stardate: [-30]6365.79 hwloidl>
      
      This commit covers changes in GHC to get GUM (way=mp) and GUM/GdH (way=md)
      working. It is a merge of my working version of GUM, based on GHC 4.06,
      with GHC 4.11. Almost all changes are in the RTS (see below).
      
      GUM is reasonably stable, we used the 4.06 version in large-ish programs for
      recent papers. Couple of things I want to change, but nothing urgent.
      GUM/GdH has just been merged and needs more testing. Hope to do that in the
      next weeks. It works in our working build but needs tweaking to run.
      GranSim doesn't work yet (*sigh*). Most of the code should be in, but needs
      more debugging.
      
      ToDo: I still want to make the following minor modifications before the release
      - Better wrapper skript for parallel execution [ghc/compiler/main]
      - Update parallel docu: started on it but it's minimal [ghc/docs/users_guide]
      - Clean up [nofib/parallel]: it's a real mess right now (*sigh*)
      - Update visualisation tools (minor things only IIRC) [ghc/utils/parallel]
      - Add a Klingon-English glossary
      
      * RTS:
      
      Almost all changes are restricted to ghc/rts/parallel and should not
      interfere with the rest. I only comment on changes outside the parallel
      dir:
      
      - Several changes in Schedule.c (scheduling loop; createThreads etc);
        should only affect parallel code
      - Added ghc/rts/hooks/ShutdownEachPEHook.c
      - ghc/rts/Linker.[ch]: GUM doesn't know about Stable Names (ifdefs)!!
      - StgMiscClosures.h: END_TSO_QUEUE etc now defined here (from StgMiscClosures.hc)
                           END_ECAF_LIST was missing a leading stg_
      - SchedAPI.h: taskStart now defined in here; it's only a wrapper around
                    scheduleThread now, but might use some init, shutdown later
      - RtsAPI.h: I have nuked the def of rts_evalNothing
      
      * Compiler:
      
      - ghc/compiler/main/DriverState.hs
        added PVM-ish flags to the parallel way
        added new ways for parallel ticky profiling and distributed exec
      
      - ghc/compiler/main/DriverPipeline.hs
        added a fct run_phase_MoveBinary which is called with way=mp after linking;
        it moves the bin file into a PVM dir and produces a wrapper script for
        parallel execution
        maybe cleaner to add a MoveBinary phase in DriverPhases.hs but this way
        it's less intrusive and MoveBinary makes probably only sense for mp anyway
      
      * Nofib:
      
      - nofib/spectral/Makefile, nofib/real/Makefile, ghc/tests/programs/Makefile:
        modified to skip some tests if HWL_NOFIB_HACK is set; only tmp to record
        which test prgs cause problems in my working build right now
      20fc2f0c
  19. 28 Feb, 2001 1 commit
    • sewardj's avatar
      [project @ 2001-02-28 10:03:42 by sewardj] · af3063d6
      sewardj authored
      Yesterday's changes to the runtime linker:
      * Update the PEi386 stuff to compile in the new framework.
        Note!  Certainly will _not_ work properly as-is.
      * A conceptual cleanup for all platforms: only record, in the
        oc.symbols field, the names of symbols which have been put into the
        global symbol table, rather than (name, addr) pairs -- the addr
        is redundant.
      af3063d6
  20. 14 Feb, 2001 3 commits
  21. 13 Feb, 2001 2 commits
  22. 12 Feb, 2001 4 commits
  23. 11 Feb, 2001 2 commits
    • simonmar's avatar
      [project @ 2001-02-11 17:51:07 by simonmar] · 6d35596c
      simonmar authored
      Bite the bullet and make GHCi support non-optional in the RTS.  GHC
      4.11 should be able to build GHCi without any additional tweaks now.
      
      - the Linker is split into two parts: LinkerBasic.c, containing the
        routines required by the rest of the RTS, and Linker.c, containing
        the linker proper, which is not referred to from the rest of the RTS.
        Only Linker.c requires -ldl, so programs which don't make use of the
        linker (everything except GHC, in other words) won't need -ldl.
      6d35596c
    • simonmar's avatar
      [project @ 2001-02-11 13:13:37 by simonmar] · cb13cd97
      simonmar authored
      Replace some OS-specific ifdefs which should really be ARCH-specific.
      Fixes FreeBSD support.
      cb13cd97
  24. 09 Feb, 2001 2 commits
  25. 06 Feb, 2001 2 commits
  26. 01 Feb, 2001 1 commit
  27. 29 Jan, 2001 1 commit
  28. 28 Jan, 2001 1 commit
    • qrczak's avatar
      [project @ 2001-01-28 20:53:38 by qrczak] · eb3451b4
      qrczak authored
      Added rts symbols to the list:
          stg_sig_install, nocldstop, createAdjustor, rts_mkInt,
          rts_mkStablePtr, rts_apply, rts_evalIO, rts_checkSchedStatus,
          rts_getInt, stg_sel_13_upd_info, stg_sel_14_upd_info,
          stg_sel_15_upd_info.
      
      Could the list be somehow generated automatically?
      eb3451b4