summaryrefslogtreecommitdiff
path: root/rts
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Add a new primop mkWeakNoFinalizer (#5879)Simon Marlow2012-04-272-5/+12
| |
* | Fix build on OS XIan Lynagh2012-04-271-2/+2
| |
* | Win32 build fixIan Lynagh2012-04-271-2/+2
| |
* | Win32 build fixIan Lynagh2012-04-261-1/+1
| |
* | OS X build fixesIan Lynagh2012-04-261-1/+10
| | | | | | | | | | OS X doesn't understand 'gnu_printf', so we need to onyl use it conditionally.
* | Fix warnings on Win64Ian Lynagh2012-04-2618-88/+105
| | | | | | | | | | | | Mostly this meant getting pointer<->int conversions to use the right sizes. lnat is now size_t, rather than unsigned long, as that seems a better match for how it's used.
* | A couple of build fixes for Win64Ian Lynagh2012-04-241-1/+4
| |
* | Make the prototype for postHeapEvent match the definitionIan Lynagh2012-04-241-1/+1
|/ | | | I've assumed that the definition type is right.
* Add symbol declaration for __fixunsdfdi in the linker.Paolo Capriotti2012-04-241-1/+2
|
* Implemented word-sized addressing of pointers and literals.Paolo Capriotti2012-04-161-22/+22
|
* Use monotonic time function for darwin (#5865)Paolo Capriotti2012-04-162-0/+14
|
* Use monotonic clock in Select.c (#5865)Paolo Capriotti2012-04-164-31/+48
|
* Fix crash with tiny initial stack size (#5993)Simon Marlow2012-04-121-2/+2
|
* updateThunk: minor tweak to avoid an unnecessary call to checkBlockingQueuesSimon Marlow2012-04-121-4/+8
|
* Turn on TRACE_gc with +RTS -Ds (this regressed at some point)Simon Marlow2012-04-111-1/+2
|
* Improve the handling of threadDelay in the non-threaded RTSSimon Marlow2012-04-113-18/+35
| | | | | | | Firstly, we were rounding up too much, such that the smallest delay was 20ms. Secondly, there is no need to use millisecond resolution on a 64-bit machine where we have room in the TSO to use the normal nanosecond resolution that we use elsewhere in the RTS.
* Fix crash with debug tracing and the new heap eventsSimon Marlow2012-04-111-10/+28
|
* Disable the timer signal while blocked in select() (#5991)Simon Marlow2012-04-111-4/+13
| | | | | The threaded RTS had a fix for this a long time ago (#1623) but this patch applies a similar fix to the non-threaded RTS.
* small cleanupSimon Marlow2012-04-111-5/+5
|
* Fix RTS build on OS XManuel M T Chakravarty2012-04-102-3/+22
| | | | | | * The following commits made validate fail on OS X (Lion): 65aaa9b2715c5245838123f3a0fa5d92e0a66bce and c294d95dc04950ab4c5380bf6ce8651f621f8591 * I just commented out all offending code until it validated again. The original authors need to clean this up.