Hi

I'd like to propose a small change: converting freeldr into a PE file.

The current freeldr / setupldr are raw binaries, which makes them easy
to handle for the bootsector but it disqualifies them from proper
debugging with gdb. A solution is to convert them into PE format. As
there is no space to implement a real PE loader in the bootsector, the
image must not use a .bss section, this can easily be done with a linker
script.
I have this working in my WC.
With the result we can use gdb for debugging freeldr including symbols.
The only thing still to solve is how to remove rsym data from the files,
without stripping all symbols. Rsym data makes the file twice as big,
too big to be loaded in to real mode memory.

Any objections / suggestions?

Regards,
Timo


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to