Re: [PATCH] modpost: more complete endianness fixing
From: Jean Delvare
Date: Mon May 04 2009 - 04:01:23 EST
On Sun, 3 May 2009 21:48:48 +0200, Sam Ravnborg wrote:
> 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?
It indeed didn't help me (but your other fix did.)
--
Jean Delvare
--
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/