darwin.h (DEFAULT_SIGNED_CHAR): Define.
authorDale Johannesen <dalej@apple.com>
Tue, 28 Aug 2001 19:51:50 +0000 (19:51 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Tue, 28 Aug 2001 19:51:50 +0000 (19:51 +0000)
2001-08-28  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.

From-SVN: r45235

gcc/ChangeLog
gcc/config/rs6000/darwin.h

index b15c0b4..0b74ebf 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-28  Dale Johannesen  <dalej@apple.com>
+
+       * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define.
+
 2001-08-28  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64.
index f794113..6e6a04f 100644 (file)
@@ -148,6 +148,12 @@ Boston, MA 02111-1307, USA.  */
 
 #define ASM_OUTPUT_SPECIAL_POOL_ENTRY_P(X, MODE)  0
 
+/* Unlike most other PowerPC targets, chars are signed, for
+   consistency with other Darwin architectures.  */
+
+#undef DEFAULT_SIGNED_CHAR
+#define DEFAULT_SIGNED_CHAR (1)
+
 /* Given an rtx X being reloaded into a reg required to be      
    in class CLASS, return the class of reg to actually use.     
    In general this is just CLASS; but on some machines