- Mar 03, 1999
-
-
sof authored
Win32 DLL tweaks
-
sof authored
rts_get*: peer through indirections, if needs be.
-
sof authored
Extend the reaches of #ifdef INTERPRETER a little bit.
-
sof authored
StgNat64 --> StgWord64
-
sof authored
- moved the Bool closure table to here (don't want to end up accidentally mangling it.) - startupHaskell: for Win32 DLLs, initialise the various closure tables now that the DLLs have been loaded and the closure addresses are in scope.
-
sof authored
StgNat* --> StgWord*
-
sof authored
remove unused include + macros
-
sof authored
Added is_heap_alloced() to the API - returns true if an address is within the range of addresses that we've been given back from the OS. Only needed for Win32 DLLs, so it's only defined when compiling up a Win32 RTS DLL.
-
sof authored
mingw32 tweaks
-
sof authored
scavenge_srt: To deal with SRT entries that refer to closures that live in DLLs, the compiler will set the LSB of the address. scavenge_srt() checks for this, and if LSB is set, does an extra level of indirection to get at the next closure to scavenge.
-
sof authored
On the Win32 DLL side, tidied up the defns of LOOKS_LIKE_STATIC() and LOOKS_LIKE_STATIC_CLOSURE() a little.
-
Simon Marlow authored
Make a few things strict.
-
Simon Marlow authored
Nat --> Word
-
Simon Marlow authored
temp. hack around timezone problems on solaris.
-
Simon Marlow authored
HPPA tweaks.
-
- Mar 02, 1999
-
-
sof authored
Don't prefix the generated output with \n
-
sof authored
doc tweaks
-
sof authored
mingw32 tweaks
-
sof authored
StgNat* --> StgWord*
-
sof authored
barf: paranoidly flush stderr..
-
sof authored
mingw32 tweaks.
-
sof authored
No signal support with mingw32
-
sof authored
Win32 platforms: use native API to compute elapsed and user times.
-
sof authored
When putting the RTS in a DLL, we have to delay filling in the Charlike and Intlike tables until load-time.
-
sof authored
StgNat64 --> StgWord64
-
sof authored
typo
-
sof authored
StgNat64 --> StgWord64
-
sof authored
initStorage: initialise gos0->to_space
-
sof authored
- misc changes to support DLLs - StgNat* --> StgWord*
-
sof authored
Partial support for working with DLLs. On mingw32, unless you supply the -static command line option, the default is now to assume that you're using DLLs when compiling and linking. ToDo: support the construction of DLLs via the driver.
-
sof authored
On mingw32, which is the only 'platform' where we support producing DLLs, prefix each static closure with a zero word. This is needed so that we can distinguish between pointers to (reversed!) info tables and static closures just by checking whether there's a zero word just above the pointed-to entity. Wish there was a better way..
-
sof authored
Remove out-of-date use of -fcompiling-prelude
-
sof authored
Compile CgCase with -fno-prune-tydecls on
-
sof authored
import list adjustments
-
sof authored
One new option: -static produce code for use in statically linked binaries. The driver makes sure that this option is on for platforms that doesn't support DLLs. Leaving it off won't have any bad effects though.
-
sof authored
ppr bugfix for dcons that are locally qualified (omit braces around context if there isn't one.)
-
sof authored
Directories can now be flagged as containing interface files that have their corresponding object codes living in Win32 DLLs. The compiler needs to keep track of whether a name refers to something in a DLL or not, since Win32 DLLs forces you to distinguish between the two at the point of use. For example, the code generated for the following snippet return (x+2); will differ. If 'x' resides in a DLL, you need to perform an extra indirection to get at its value. Effectively, the generated code becomes return (*x+2); For functions, the distinction can be made transparent, but we can avoid jumping through an extra level of indirection if we do indicate that a label will be imported from a DLL. Back to the renamer and its scheme, directories that contain the file ".dLL_ifs.hi" (name chosen to lessen the risk of a clash..) are considered as containing 'DLL interface files'. There's two caveats to this scheme: - interface files found in "." are not considered to be referring to something in a DLL. - if the compiler has got -static on the command line, then all interface file in scope are considered to be 'normal'.
-
sof authored
Win32 only: emit code that declares the DLLness of a label we're making use of.
-
Simon Marlow authored
Add missing default case to mkRegLiveness.
-
sof authored
Support for deriving 'proper' Show & Read instances for infix constructors.
-