[syslinux] symbol table loading patch for mboot.c
ramy at stanford.edu
Thu Mar 9 16:48:25 PST 2006
The program segments loaded presently in mboot.c only consists of a
subset of sections described by the ELF Section Header Table (SHT) in
the ELF kernel binary. Segments with useful information often needed for
debugging purposes (symbol tables, string tables, etc.) aren't usually
present in the program segments and hence not loaded above.
Some kernels use this debugging information to provide better error
messages or logging. Also a topology of the used memory can be got from
the SHT. The multiboot specification proposes loading these extra
sections into memory and providing the multiboot kernel with the address
of the SHT. This address pointer is passed through the "syms" structure
of the MIB (Multiboot Information Block) along with other essential
This patched version (in attachment) does exactly that.
Refer: "Multiboot Specification Manual",
"TIS ELF Specification v1.2" for more details.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3506 bytes
Desc: not available
More information about the Syslinux