This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16350] gcc only understands little endian ARM systems
- From: "vapier at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2005 15:49:37 -0000
- Subject: [Bug target/16350] gcc only understands little endian ARM systems
- References: <20040703154501.16350.buytenh@wantstofly.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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