From: Nick Clifton Date: Sun, 15 Jul 2001 10:22:51 +0000 (+0000) Subject: Assert 'endian' not 'machine' in endian specs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8313db6c07dc5aaa023792a47dad7e990f07aa5;p=gcc.git Assert 'endian' not 'machine' in endian specs From-SVN: r44018 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95e2f32433b..2d4928c2448 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-07-15 Nick Clifton + + * config/rs6000/sysv4.h (CPP_ENDIAN_BIG_SPEC): Assert 'endian' + not 'machine'. + (CPP_ENDIAN_LITTLE_SPEC): Assert 'endian' not 'machine'. + (CPP_ENDIAN_SOLARIS_SPEC): Assert 'endian' not 'machine'. + 2001-07-15 Neil Booth * dbxout.c (dbxout_source_line): Make static, update prototype. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 9500e72025c..39017b11d5e 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1191,11 +1191,11 @@ do { \ #define CPP_SYSV_DEFAULT_SPEC "-D_CALL_SYSV" -#define CPP_ENDIAN_BIG_SPEC "-D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian" +#define CPP_ENDIAN_BIG_SPEC "-D_BIG_ENDIAN -D__BIG_ENDIAN__ -Aendian=big" -#define CPP_ENDIAN_LITTLE_SPEC "-D_LITTLE_ENDIAN -D__LITTLE_ENDIAN__ -Amachine=littleendian" +#define CPP_ENDIAN_LITTLE_SPEC "-D_LITTLE_ENDIAN -D__LITTLE_ENDIAN__ -Aendian=little" -#define CPP_ENDIAN_SOLARIS_SPEC "-D__LITTLE_ENDIAN__ -Amachine=littleendian" +#define CPP_ENDIAN_SOLARIS_SPEC "-D__LITTLE_ENDIAN__ -Aendian=little" /* For solaris, don't define _LITTLE_ENDIAN, it conflicts with a header file. */ #define CPP_ENDIAN_SPEC \