question on PPC64 relocatable kernel

Ming Lei mlei at Brocade.COM
Sat Aug 1 06:36:45 EST 2009


Hi,

I am researching PPC64 code and try to come up a design for relocatable kernel for ppc32. I noticed that the current ppc64 implementation only changes all the entries in RELA table to add the offset from compile load address to relocated address, but not for GOT table. Does GOT entry need the adjustment as well?

The second question is: does PPC64 relocatable kernel still needs to copy the whole kernel from running address to address 0?

Thanks
Ming


More information about the Linuxppc-dev mailing list