------- Additional Comments From vapier at gentoo dot org 2005-02-25 15:49 ------- this also applies pretty nicely to 3.3.5, 3.4.2, 3.4.3, and even gcc cvs HEAD :(
one question though ... going by config/arm/arm.h, wouldnt you want to use this logic instead ? #if TARGET_BIG_ENDIAN_DEFAULT #define TARGET_ENDIAN_DEFAULT ARM_FLAG_BIG_END #else #define TARGET_ENDIAN_DEFAULT -ARM_FLAG_BIG_END #endif granted i havent fully tested this change from '0' to '-ARM_FLAG_BIG_END', but it *seems* to work :) also, what do we have to do in order to get this into mainline gcc ? this simple patch has been hanging around for a while :/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16350