[ros-dev] freeldr as PE file
timo.kreuzer at web.de
Sun Jul 18 02:51:49 UTC 2010
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
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?
More information about the Ros-dev