Assert 'endian' not 'machine' in endian specs
authorNick Clifton <nickc@cambridge.redhat.com>
Sun, 15 Jul 2001 10:22:51 +0000 (10:22 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Sun, 15 Jul 2001 10:22:51 +0000 (10:22 +0000)
From-SVN: r44018

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 95e2f32433b6244d0af5055e26c3b66e7916c31f..2d4928c2448fe0891c7544041ac4790f29580196 100644 (file)
@@ -1,3 +1,10 @@
+2001-07-15  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * 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  <neil@daikokuya.demon.co.uk>
 
        * dbxout.c (dbxout_source_line): Make static, update prototype.
index 9500e72025cb600ee64331fc507a638ab92df953..39017b11d5ec4eb6f61fbb675697a0947a3dced0 100644 (file)
@@ -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 \