Re: What is the purpose of parse_elf() in misc.c

2011-12-01 Thread Mulyadi Santosa
Hi Graeme On Fri, Nov 25, 2011 at 12:30, Graeme Russ wrote: > I wrote a little stand-alone parse_elf() program, and lo-and-behold, the > outputs are identical. So, in theory, if bzImage contained a raw binary, it > could be decompressed directly to the target address. I find your experiment

What is the purpose of parse_elf() in misc.c

2011-11-24 Thread Graeme Russ
Hi All, In looking at booting a raw x86 kernel image, I discovered that the compressed image in bzImage is actually an ELF image created with: objcopy -R .comment -S vmlinux After decompressing the image, the parse_elf() function in misc.c copies the sections from the ELF image (there are 3 sect