From 4f400cf638cb8e3ade74e3e6b8d5a5c519886c95 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 28 Aug 2001 19:51:50 +0000 Subject: [PATCH] darwin.h (DEFAULT_SIGNED_CHAR): Define. 2001-08-28 Dale Johannesen * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define. From-SVN: r45235 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/darwin.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b15c0b49796..0b74ebfc703 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-08-28 Dale Johannesen + + * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define. + 2001-08-28 Danny Smith * config/i386/cygwin.h (BIGGEST_FIELD_ALIGNMENT): Set to 64. diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index f7941131575..6e6a04f480e 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -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