Thread (29 messages) 29 messages, 4 authors, 2016-08-24

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

From: "Oliver O'Halloran" <oohall@gmail.com>
Date: 2016-08-24 00:50:30
Also in: kexec, lkml

On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh [off-list ref] wrote:
quoted
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.

oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help