[RFC 07/10] arm: allow passing an ELF64 header to elf_check_arch()
jamie at shareable.org
Tue Mar 30 07:41:31 EDT 2010
Mika Westerberg wrote:
> On Tue, Mar 30, 2010 at 01:41:24AM +0200, ext Jamie Lokier wrote:
> > Wouldn't it be better to just disable the elf64 code entirely on
> > 32-bit archs, saving about half of the code size in vmcore.c which
> > looks like it will never be called?
> I took this approach from the other architectures that implement kdump.
> At least on those archs that support both 32 and 64-bit both versions should be
> supported. But I can add the required #ifdefs to vmcore code if preferred.
Ok, copying the other archs makes sense. Someone can trim vmcore.c in
a separate patch later and tidy up the archs while they're at it.
(I've put it on my todo list but I rarely actually do the things on it...)
More information about the linux-arm-kernel