Mohan Kumar M <[EMAIL PROTECTED]> writes: > Hi Alan, > > As per kexec requirement, purgatory code is compiled with relocatable option > and > during the runtime of kexec-tools, we apply the relocation to the purgatory > code > based on the load address. > > But the relocatable object file contains some of STN_UNDEF entries in the > .rela.opd section. However .rela.text section does not have any STN_UNDEF > entries. We linked all the object files and hence there is no *undefined > symbols* in the final purgatory object file. > > Even though the .rela.opd section has undefined entries, we skipped applying > relocation for these entries and the code is working as expected.
Thanks that helps. > But we need to fix this STN_UNDEF issue in the PPC64 code. Can you tell me > how I > can resolve the STN_UNDEF entries in the .rela.opd section? The practical question is what is the opd section? Once we understand this we may be able to strip the .opd and .rela. sections or possibly ignore their relocations explicitly in the code. But we need to track down what those sections are suppsed to be used for, to know if what we want to do is safe. Eric _______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
