aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2001-08-28 19:51:50 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-08-28 19:51:50 +0000
commit4f400cf638cb8e3ade74e3e6b8d5a5c519886c95 (patch)
tree950966deaaa3c2739cae7243c485a3953b49e16e
parentc976fa88475a5d3fd27a795d9c79206ca537152e (diff)
downloadgcc-4f400cf638cb8e3ade74e3e6b8d5a5c519886c95.zip
gcc-4f400cf638cb8e3ade74e3e6b8d5a5c519886c95.tar.gz
gcc-4f400cf638cb8e3ade74e3e6b8d5a5c519886c95.tar.bz2
darwin.h (DEFAULT_SIGNED_CHAR): Define.
2001-08-28 Dale Johannesen <dalej@apple.com> * config/rs6000/darwin.h (DEFAULT_SIGNED_CHAR): Define. From-SVN: r45235
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/darwin.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b15c0b4..0b74ebf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index f794113..6e6a04f 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