Support R_PPC64_REL32 relocation type
Subsystems (2)
PATCH 2/2 Support R_PPC64_REL32 relocation type
[PATCH 2/2] Support R_PPC64_REL32 relocation type
gcc-4.4 compiler creates R_PPC64_REL32 relocation type in the ppc64 purgatory code. Add support to handle R_PPC64_REL32 relocation type.
Signed-off-by M. Mohan Kumar <[email protected]>
--- kexec/arch/ppc64/kexec-elf-rel-ppc64.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
kexec/arch/ppc64/kexec-elf-rel-ppc64.c +4 -0
@@ -62,6 +62,10 @@ void machine_apply_elf_rel(struct mem_ehdr *ehdr, unsigned long r_type, *(uint64_t *)location = value;break ; +case R_PPC64_REL32 : + *(uint32_t *)location = value - (uint32_t )location; +break ; +case R_PPC64_TOC : *(uint64_t *)location =my_r2 (ehdr);break ;
Signature · 1 line
1.6.2.5
Simon Horman
AppliedQuoted 6 lines · M. Mohan Kumar
[PATCH 2/2] Support
R_PPC64_REL32relocation typegcc-4.4 compiler creates
R_PPC64_REL32relocation type in the ppc64 purgatory code. Add support to handleR_PPC64_REL32relocation type.Signed-off-by M. Mohan Kumar <[email protected]>
Thanks, applied this one too.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec