I have managed to get the elf header at the beginning of the .text section and I can load every section I want, but I'm struggling with the section header table. As far as I can see there is no easy way to get it loaded by the system. Can someone give me some hints on how to achieve this and possibly tell the kernel where the section header table resides in memory? (possibly through a register which gets prefilled)
Help is much appreciated. Best, Samuel On Tue, Jun 12, 2012 at 5:04 PM, Samuel Hitz <[email protected]> wrote: > Hi there, > > As far as I can see gem5 only loads .text, .data and .bss section of the > elf file. Is there an easy way to get it to load the entire elf file > inclusive all sections and the elf header? I have relocate my kernel at > some point during boot up and can only do so if I have the relocation > section and the header telling me where the sections are. > > Best, > > Samuel >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
