Re: [PATCH] modpost: more complete endianness fixing

From: Sam Ravnborg
Date: Sun May 03 2009 - 15:46:59 EST


On Sun, May 03, 2009 at 02:07:35PM -0400, Anders Kaseorg wrote:
> Fix endianness of all the fields in the ELF header and section headers,
> not just some of them.
>
> The missing TO_NATIVE(sechdrs[i].sh_flags) was causing many âunexpected
> non-allocatable sectionâ warnings when cross-compiling for an architecture
> with a different endianness.

Thanks Anders.
Makes sense for the powerpc case.
But I cannot see it fixing the warnings Jean sees.

Jean?

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/