[project @ 2000-08-02 14:13:26 by rrt]
Many fixes to DLLisation. These were previously covered up because code was leaking into the import libraries for DLLs, so the fact that some symbols were thought of as local rather than in another DLL wasn't a problem. The main problems addressed by this commit are: 1. Fixes RTS symbols working properly when DLLised. They didn't before. 2. Uses NULL instead of stg_error_entry, because DLL entry points can't be used as static initialisers. 3. PrelGHC.hi-boot changed to be in package RTS, and export of PrelNum and PrelErr moved to PrelBase, so that references to primops & the like are cross-DLL as they should be. 4. Pass imports around as Modules rather than ModuleNames, so that ModuleInitLabels can be checked to see if they're in a DLL or not.
Showing
- ghc/compiler/absCSyn/AbsCSyn.lhs 3 additions, 1 deletionghc/compiler/absCSyn/AbsCSyn.lhs
- ghc/compiler/absCSyn/CLabel.lhs 21 additions, 15 deletionsghc/compiler/absCSyn/CLabel.lhs
- ghc/compiler/absCSyn/PprAbsC.lhs 4 additions, 3 deletionsghc/compiler/absCSyn/PprAbsC.lhs
- ghc/compiler/basicTypes/Name.lhs 1 addition, 0 deletionsghc/compiler/basicTypes/Name.lhs
- ghc/compiler/codeGen/CgCase.lhs 2 additions, 2 deletionsghc/compiler/codeGen/CgCase.lhs
- ghc/compiler/codeGen/CodeGen.lhs 8 additions, 7 deletionsghc/compiler/codeGen/CodeGen.lhs
- ghc/compiler/rename/Rename.lhs 15 additions, 9 deletionsghc/compiler/rename/Rename.lhs
- ghc/compiler/rename/RnEnv.lhs 2 additions, 2 deletionsghc/compiler/rename/RnEnv.lhs
- ghc/includes/Makefile 6 additions, 2 deletionsghc/includes/Makefile
- ghc/includes/StgMacros.h 6 additions, 11 deletionsghc/includes/StgMacros.h
- ghc/includes/StgMiscClosures.h 2 additions, 2 deletionsghc/includes/StgMiscClosures.h
- ghc/lib/std/Makefile 1 addition, 1 deletionghc/lib/std/Makefile
- ghc/lib/std/PrelBase.lhs 6 additions, 3 deletionsghc/lib/std/PrelBase.lhs
- ghc/lib/std/PrelGHC.hi-boot 1 addition, 8 deletionsghc/lib/std/PrelGHC.hi-boot
- ghc/rts/StgMiscClosures.hc 4 additions, 3 deletionsghc/rts/StgMiscClosures.hc
Loading
Please register or sign in to comment