This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 23 Jul, 2002 11 commits
  2. 22 Jul, 2002 3 commits
  3. 21 Jul, 2002 1 commit
    • panne's avatar
      [project @ 2002-07-21 11:46:34 by panne] · 026fa45f
      panne authored
      Long explanation for small commit:
      With the recent reorganization of #includes, things get a little bit
      fragile: When gcc with -O is used, glibc's <stdio.h> defines a few
      inline functions (see <bits/stdio.h>), and "Stg.h" defines some global
      variables which reside in registers. But the latter must happen
      *before* any function definition has been seen, otherwise the
      generated code could be invalid. Consequently gcc complains like:
         In file included from Stg.h:182,
                          from mkNativeHdr.c:12:
         Regs.h:293: global register variable follows a function definition
         Regs.h:302: global register variable follows a function definition
      The solution is quite simple: Always #include "Stg.h" *before* any
      system headers.
  4. 20 Jul, 2002 1 commit
  5. 19 Jul, 2002 5 commits
    • sof's avatar
      [project @ 2002-07-19 18:45:21 by sof] · 0974f1a8
      sof authored
       be less ambitious, and don't kill any main_threads.
       Killing them, and possibly replacing them on the
       main_threads with the current one, turned out to
       run into problems of its own (see comments.)
       The hope/wish is that the current behaviour of
       forkProcess will suffice.
    • simonmar's avatar
      [project @ 2002-07-19 11:48:20 by simonmar] · 542e4d92
      simonmar authored
      Remove the check for >4 args when doing a foreign import "wrapper" on
      Sparc: we support unlimited arguments now (from Sven Panne).
    • simonmar's avatar
      [project @ 2002-07-19 11:47:30 by simonmar] · 5926dc51
      simonmar authored
      Code to make the general case of createAdjustor() work on Sparc, from
      Sven Panne.  Previously only 4 args were supported.
    • simonmar's avatar
      [project @ 2002-07-19 11:46:31 by simonmar] · 541d1d89
      simonmar authored
      Sparc NCG fix from Sven Panne: 8-byte align the stack ptr when doing a ccall.
    • sof's avatar
      [project @ 2002-07-19 00:06:05 by sof] · 180e628b
      sof authored
       - fix bug which left run_queue_tl in a bad state.
       - be better behaved wrt 'main threads', i.e.,
         if the killing thread isn't the main thread,
         make sure it's hooked up to main_threads +
         correctly signal the completion/killing of
         any main threads.
  6. 18 Jul, 2002 7 commits
  7. 17 Jul, 2002 5 commits
    • krasimir's avatar
      [project @ 2002-07-17 19:26:49 by krasimir] · f9e19f4f
      krasimir authored
      ObjectIO link
    • simonmar's avatar
      [project @ 2002-07-17 13:49:15 by simonmar] · c9316ee5
      simonmar authored
      Turn off prompt for non-TTY input (non-readline case)
    • simonmar's avatar
      [project @ 2002-07-17 09:21:48 by simonmar] · 7457757f
      simonmar authored
      Remove most #includes of system headers from Stg.h, and instead
      #include any required headers directly in each RTS source file.
      The idea is to (a) reduce namespace pollution from system headers that
      we don't need, (c) be clearer about dependencies on system things in
      the RTS, and (c) improve via-C compilation times (maybe).
      In practice though, HsBase.h #includes everything anyway, so the
      difference from the point of view of .hc source is minimal.  However,
      this makes it easier to move to zero-includes if we wanted to (see
      discussion on the FFI list; I'm still not sure that's possible but
      at least this is a step in the right direction).
    • simonmar's avatar
      [project @ 2002-07-17 09:14:27 by simonmar] · 2790095b
      simonmar authored
      turn off -Wcast-align, it generates gobs of complaints on Sparc
    • simonmar's avatar
      [project @ 2002-07-17 08:26:44 by simonmar] · e9148ae0
      simonmar authored
      oops, missed one instance of __stginit_GHCziPrim (I killed it yesterday)
  8. 16 Jul, 2002 7 commits
    • lewie's avatar
      [project @ 2002-07-16 22:26:49 by lewie] · 5d7120f9
      lewie authored
      Fix typo in explanation of "What AbsBinds means" just to prove that I'm
      not deadweight on the GHC committers list ;-)
    • simonmar's avatar
      [project @ 2002-07-16 15:07:15 by simonmar] · 45249cb5
      simonmar authored
      Silly me, the version number in the interface isn't correct until
      after mkFinalIface, so don't grab it until then.
    • simonmar's avatar
      [project @ 2002-07-16 14:56:08 by simonmar] · 9a972425
      simonmar authored
      Implement a primitive failsafe mechanism for protecting against
      linking inconsistent object files.  The idea is that if object files
      which were compiled in the wrong order (non-dependency order) or
      compiled in different ways (eg. profiled vs. non-profiled) are linked
      together, a link error will result.
      This is achieved by adding the module version and the way to the
      module init label.  For example, previously the init label for a
      module Foo was named
      now it is named
      where <version> is the module version of Foo (same as the version in
      the interface file), and <way> is the current way (or empty).
      We also have to have a way to refer to the old plain init label, for
      using as the argument to shutdownHaskell() in a program using foreign
      exports.  So the old label now points to a jump instruction which
      transfers control to the new init code.
    • simonmar's avatar
      [project @ 2002-07-16 14:49:38 by simonmar] · 8c086331
      simonmar authored
      comment fix
    • simonmar's avatar
      [project @ 2002-07-16 12:05:37 by simonmar] · 2db30d06
      simonmar authored
      un-rot one transformation on x86: we normally transform
      	movl $_blah, %eax
      	jmp  *%eax
      into simply
      	jmp _blah
      but the pattern had rotted w.r.t. gcc so this was no longer applying.
      Should reduce code size measurably.
    • simonmar's avatar
      [project @ 2002-07-16 10:58:16 by simonmar] · f9206647
      simonmar authored
      Remove DLL_IMPORT from the two closure declarations in this file,
      because otherwise the file is not standalone.
      Doing the right thing doesn't seem easy, because we have to get the
      right value of DONT_WANT_WIN32_DLLS from somewhere.  Anyway if/when
      DLL support is revived we'll have to revisit this.
    • simonmar's avatar
      [project @ 2002-07-16 10:51:12 by simonmar] · 025f5dfe
      simonmar authored
      The restore instruction on Sparc apparently has arguments under GCC
      3.1, which caused one of the patterns to break in the mangler.
      I can now run simple programs compiled with GHC on Sparc using GCC
      3.1, so hopefully this fixes it.
      MERGE TO STABLE (and the previous one).