ELF - section to program header mapping
Hi,
How/who decides which sections goes into which Segement and
Program header in an elf binary?
The reason I ask this the 2.6 and 2.4 kernel have different
program header to section mapping!
Thanks
S
*************************************************************************
"I've never understood how God could expect his creatures
to pick the one true religion by faith - it strikes me as a
sloppy way to run a universe."
Robert A. Heinlein
STRANGER IN A STRANGE LAND
*************************************************************************
.
Relevant Pages
- Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
... Considering the linker used it is always the 4th program header, ... The number of program header is written in the ELF header, ... any memory there to catch null pointer dereference. ... I know a simple kernel is needed to do ... (Linux-Kernel) - Re: Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
... Yes, any PT_LOAD below 64 Kbytes can only be real mode, and real-mode ... Considering the linker used it is always the 4th program header, ... the ELF file vmlinux, aren't you? ... I use kexec boot loader which has capability to load ELF kernel ... (Linux-Kernel) - Re: Re : Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
... There isn't any limitation in this function of the kernel to ... This code is currently completely Gujin specific. ... Unless if there is a problem, Gujin uses only the program header; ... after that the relocated object has to work out the relocations by itself. ... (Linux-Kernel) - Re: Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3
... May be PT_LOAD header with physical addr 0? ... Yes, any PT_LOAD below 64 Kbytes can only be real mode, and real-mode ... Gujin accepts having the real-mode treated like a program text and so in the program header, ... I did not touch the kernel entry point, the real mode entry point is at offset zero ... (Linux-Kernel) - Re: [Fastboot] [CFT] ELF Relocatable x86 and x86_64 bzImages
... then I can successfully booted into the kdump kernel. ... larger than what I needed for decompression. ... One program header of PT_LOAD type is being ... much memory will be consumed by kernel image at load time. ... (Linux-Kernel) |
|