summaryrefslogtreecommitdiff
path: root/rts
Commit message (Collapse)AuthorAgeFilesLines
* Switch to using the 'rubenvb' mingw buildsIan Lynagh2012-06-171-0/+4
|
* Build fix for Hurd.Paolo Capriotti2012-06-171-2/+2
| | | | | | Patch by Samuel Thibault. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659530.
* Fix build on win64Ian Lynagh2012-06-161-0/+1
|
* Don't use 64-bit support functions on MIPS N32.Michał Masłowski2012-06-091-1/+1
| | | | | It uses native 64-bit instructions instead of these, despite having 32-bit pointers.
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-06-071-2/+8
|\
| * throwTo: unlock the MSG_THROWTO object before returning (#6103)Simon Marlow2012-06-071-2/+8
| |
* | Add a missing closing braceIan Lynagh2012-06-071-0/+1
| |
* | Merge branch 'master' of http://darcs.haskell.org//ghcIan Lynagh2012-06-075-10/+8
|\ \ | |/
| * Fix the dynlib build on WindowsIan Lynagh2012-06-021-0/+1
| | | | | | | | | | I have no idea why this worked when Word was in base, but doesn't after it moved to ghc-prim.
| * Test USE_MINIINTERPRETER rather than GhcUnregisterisedIan Lynagh2012-05-273-7/+2
| |
| * Fix problems with getMonotonicNSec on OS XIan Lynagh2012-05-261-3/+5
| | | | | | | | | | | | | | | | | | We were incorrectly multiplying by 1e9, which (a) meant we were getting values that were far too large, and (b) meant that when we casted from double to StgWord64 the result was 0, as the value was out of range. We now do all the work as StgWord64.
* | scheduleYield: avoid doing a GC again if we just did oneIan Lynagh2012-06-073-14/+28
|/ | | | | | If we are interrupted to do a GC, then we do not immediately do another one. This avoids a starvation situation where one Capability keeps forcing a GC and the other Capabilities make no progress at all.
* Follow the move of the Word type to ghc-primIan Lynagh2012-05-223-7/+6
|
* More Win64 adjustor fixesIan Lynagh2012-05-181-33/+51
|
* Fix the way the adjustor puts things on the stack on Win64Ian Lynagh2012-05-181-43/+47
|
* Fix freeHaskellFunctionPtr on Win64Ian Lynagh2012-05-171-2/+14
|
* Merge branch 'master' of http://darcs.haskell.org//ghcIan Lynagh2012-05-171-0/+5
|\
| * Set the context_switch flag in yield#Simon Marlow2012-05-161-0/+5
| | | | | | | | | | | | | | yieldThread hasn't been working for a while: unless we set the context_switch flag to indicate that the current time slice is over, the RTS scheduler just runs the same thread again. Spotted by Andreas Voellmy (thanks!).
* | Fix build on Win64Ian Lynagh2012-05-101-0/+1
| |
* | Don't pointlessly cast sizeof's result to size_tIan Lynagh2012-05-091-1/+1
|/
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-05-087-52/+86
|\
| * Enable FileLock for win32 (#4363)Paolo Capriotti2012-05-084-13/+8
| |
| * Move getMonotonicUSec from base to the RTS.Paolo Capriotti2012-05-085-39/+78
| |
* | Add support for .text.startup sections to the LinkerIan Lynagh2012-05-071-0/+1
|/ | | | We get these in a full build on Win64
* Fix alignment when loading .a files on Win64Ian Lynagh2012-05-071-2/+17
|
* Test for misaligned sections, and fail if we find oneIan Lynagh2012-05-071-0/+4
|
* Fix RTS DLL references on Win64Ian Lynagh2012-05-062-1/+9
|
* Working towards fixing DLLs on Win64Ian Lynagh2012-05-069-13/+19
|
* Use lnats to avoid overflowing when allocating large amountsIan Lynagh2012-05-051-8/+8
| | | | Stops outofmem segfaulting on Win64
* Enable and fix building dynlibs on Win64Ian Lynagh2012-05-051-4/+3
|
* Follow libffi changes on WindowsIan Lynagh2012-05-041-4/+4
|
* Add _getpid to rtsSyms on Win64Ian Lynagh2012-05-031-0/+1
|
* Win64 build fixIan Lynagh2012-05-021-2/+3
|
* More Win64 ghci fixesIan Lynagh2012-05-022-0/+162
|
* Win64 Linker improvementsIan Lynagh2012-05-021-4/+49
| | | | | | | We now detect if we are given a value that is out of range for a 32bit relocation, and fail with an error. Added a load more symbols to rtsSyms.
* Add 'free' to the list of rtsSyms on Win64Ian Lynagh2012-05-021-0/+1
| | | | | | | | | | Without this, we ended up using (gdb) info symbol 0x7ff756a10ac msvcrt!free in section .text of C:\Windows\system32\msvcrt.dll for free, rather than (gdb) info symbol 0x2584128 free in section .text of C:\m64\ghci2\q/../inplace/bin/ghc-stage2.exe but we were trying to put the address into a 32bit relocation.
* Tell checkProddableBlock how many bytes we want to writeIan Lynagh2012-05-011-18/+23
| | | | | | | | | It doesn't suffice for checkProddableBlock to just check whether the largest possible write could be made at the address we are writing, as if we are making a smaller write then checkProddableBlock may conservatively think we will write off the end of the block. Thus we now tell checkProddableBlock how many bytes we will write.
* Revert "Revert "More Win32 build fixes""Ian Lynagh2012-05-011-27/+27
| | | | This reverts commit 29cd6f435f2afb332ad8faf39f5e920ff9c38d9a.
* Revert "Revert "Fix build of rts/Linker.c on Win32""Ian Lynagh2012-05-011-22/+28
| | | | This reverts commit 02cf6d6f71b5772aa4ddf1b70c192a802886e2c2.
* Revert "Revert "Get GHCi working on Win64""Ian Lynagh2012-05-011-35/+116
| | | | This reverts commit 27e585bda6ae8ab68f58abdcb9e06806414a6636.
* Revert "Get GHCi working on Win64"Manuel M T Chakravarty2012-05-011-116/+35
| | | | This reverts commit 05b55c670c7fe3fc01827ca02aafb6926c0b69cb.
* Revert "Fix build of rts/Linker.c on Win32"Manuel M T Chakravarty2012-05-011-28/+22
| | | | This reverts commit 0042c478f1169ddd9392fb39de7d0aed865a272e.
* Revert "More Win32 build fixes"Manuel M T Chakravarty2012-05-011-27/+27
| | | | This reverts commit e89ef70475fa5e9cf17af01b1b5d7fced0d2e13c.
* Fix maintenance of n_blocks in the RTSIan Lynagh2012-05-011-1/+1
| | | | | | | It was causing assertion failures of ASSERT(countBlocks(nursery->blocks) == nursery->n_blocks) at ghc-stage2: internal error: ASSERTION FAILED: file rts/sm/Sanity.c, line 878
* More Win32 build fixesIan Lynagh2012-04-301-27/+27
|
* Fixes for x86/LinuxIan Lynagh2012-04-302-5/+5
|
* Fix build of rts/Linker.c on Win32Ian Lynagh2012-04-301-22/+28
|
* Get GHCi working on Win64Ian Lynagh2012-04-301-35/+116
|
* Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghcIan Lynagh2012-04-273-6/+20
|\
| * hs_init(): cope with argc and/or argv being NULL (#6006)Simon Marlow2012-04-271-1/+8
| |