On Sat, Feb 24, 2007 at 08:10:02PM +0100, Bruno Haible wrote: > dnl On ARM, integer types are stored in little-endian byte order, > dnl but floats are stored in big-endian word order. > AC_EGREP_CPP([mixed_endianness], [ > #if defined arm || defined __arm || defined __arm__ > mixed_endianness > #endif
That hasn't been the full story for a while. FPA (the obsolete, usually emulated floating point format) does this, but all modern systems use VFP word ordering, even if they have only software floating point. I don't see a single clear macro that determines this. __VFP_FP__ is a subset of the times that normal IEEE layout is used. -- Daniel Jacobowitz CodeSourcery