[project @ 1999-12-20 16:55:26 by sewardj]
* Fix silly bugs in new linker, object.[ch]. * Allow modules to have arbitrary numbers of "extra" object files as well as their primary object file. Initial requirement is that Prelude needs libHS_cbits.o/.dll as well as Prelude.o module(m).object is the primary object module(m).objectExtras are the extra objects module(m).objectExtraNames :: [Text] are their names. Modify machdep.c to assume that extra objects for module M live in the same directory as M's primary object. * Stuff 130ish symbol names into the RTS symbol table, enough so that the whole Prelude can be linked. That includes symbols in the C library needed by libHS_cbits. This is very hacky and needs to be fixed properly.
Showing
- ghc/interpreter/Makefile 2 additions, 2 deletionsghc/interpreter/Makefile
- ghc/interpreter/connect.h 5 additions, 3 deletionsghc/interpreter/connect.h
- ghc/interpreter/interface.c 233 additions, 68 deletionsghc/interpreter/interface.c
- ghc/interpreter/link.c 6 additions, 2 deletionsghc/interpreter/link.c
- ghc/interpreter/machdep.c 39 additions, 2 deletionsghc/interpreter/machdep.c
- ghc/interpreter/object.c 23 additions, 19 deletionsghc/interpreter/object.c
- ghc/interpreter/storage.c 27 additions, 10 deletionsghc/interpreter/storage.c
- ghc/interpreter/storage.h 8 additions, 4 deletionsghc/interpreter/storage.h
Loading
Please register or sign in to comment