RE: Linker reorganization

2016-10-28 Thread lonetiger
> Simon Marlow writes: > > >> One concern that I have is that the RTS's header file structure (where > >> everything is #include'd via Rts.h) doesn't work very well for this > >> particular use, where we have a group of headers specific to a > >> particular subsystem (e.g.

Re: Linker reorganization

2016-10-28 Thread Ben Gamari
Simon Marlow writes: >> One concern that I have is that the RTS's header file structure (where >> everything is #include'd via Rts.h) doesn't work very well for this >> particular use, where we have a group of headers specific to a >> particular subsystem (e.g. linker/*.h).

Re: Linker reorganization

2016-10-28 Thread Simon Marlow
On 28 October 2016 at 02:33, Ben Gamari wrote: > Hello RTS people, > > Today I finally grew frustrated enough with my constant battle with the > 7000 line tangle of CPP that is rts/Linker.c to do something about it. > The result is D2643 through D2650. In short, I took the

Linker reorganization

2016-10-27 Thread Ben Gamari
Hello RTS people, Today I finally grew frustrated enough with my constant battle with the 7000 line tangle of CPP that is rts/Linker.c to do something about it. The result is D2643 through D2650. In short, I took the file and chopped it into more managable pieces: * linker/PEi386.[ch]: PE