Re: Detecting endianness in scripts/recordmcount.pl?

From: Sam Ravnborg
Date: Wed Nov 26 2008 - 12:41:48 EST


> > >
> > > The CONFIG_64BIT test could likewise be adopted for testing endianness, but
> > > not all architectures have config options for endian selections.
> > But we could add this - no?
> > Much better than executing objdump one thousand times.
>
> Adding a parameter would be better.

Which moves the problem to the caller which is OK.
And then we are back to the same discussion and again we should
introduce a CONFIG_ symbol for it.

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/