[PATCH] replace LIBGCC2_WORDS_BIG_ENDIAN with __WORDS_BIG_ENDIAN__

Richard Henderson rth@redhat.com
Wed Oct 13 16:20:00 GMT 2010


On 10/12/2010 04:52 PM, Mark Mitchell wrote:
> My point was that the current codebase uses the WORDS_BIG_ENDIAN
> approach; Nathan's patch just changes things to get this from the
> compiler automatically rather than from target headers.  The change to a
> different way of expressing this in the libgcc code seems like a
> separate activity.  Am I missing something?

The conversion to __WORDS_BIG_ENDIAN__ is exposed to end users.

If it were just moving macros around in gcc internal header files
that would be one thing, but this is a case of determining the
public api that gcc supports.


r~



More information about the Gcc-patches mailing list