summaryrefslogtreecommitdiffstats
path: root/gcc/config/rs6000/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/darwin.h')
-rw-r--r--gcc/config/rs6000/darwin.h6
1 files changed, 6 insertions, 0 deletions
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
OpenPOWER on IntegriCloud