[PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

Oliver O'Halloran oohall at gmail.com
Wed Aug 24 10:50:26 AEST 2016

On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh <bsingharora at gmail.com> wrote:
>> zImage on ppc64 BE is an ELF32 file. This patch set only supports loading
>> ELF files of the same class as the kernel, so a 64 bit kernel can't load an
>> ELF32 file. It would be possible to add such support, but it would be a new
>> feature.
>> The distros I was able to check on ppc64 LE and BE all use vmlinux.
>> kexec-tools with kexec_load also doesn't support zImage. Do you think it is
>> important to support zImage?
> Well if it didn't work already, I think its low priority. Michael should be
> able to confirm this. Oliver's been trying to cleanup the zImage to get rid
> the old zImage limitation, cc'ing him

I don't think it's ever worked so I wouldn't worry too much about
supporting it. Fixing kexec-into-zImage and fixing the 32bit wrapper
on 64bit BE kernel problem has been on my TODO list for a while, but
it's not a priority.


More information about the Linuxppc-dev mailing list