[syslinux] symbol table loading patch for mboot.c

Ram Yalamanchili 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
information.

This patched version (in attachment) does exactly that.

Refer:  "Multiboot Specification Manual",
	"TIS ELF Specification v1.2" for more details.

thanks,
Ram
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shtab.ram.patch
Type: text/x-patch
Size: 3506 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20060309/b1a9e64d/attachment.bin>


More information about the Syslinux mailing list