aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ad5bda..2aab1af 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-03 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * config/rs6000/rs6000.c (rs6000_override_options): Protect
+ darwin_one_byte_bool with #if.
+
2004-12-03 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Misc): Document TARGET_FOLD_BUILTIN.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 807f553..9c07a92 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -1303,7 +1303,9 @@ rs6000_override_options (const char *default_cpu)
{
rs6000_darwin64_abi = 1;
/* Setting to empty string is same as "-mone-byte-bool". */
+#if TARGET_MACHO
darwin_one_byte_bool = "";
+#endif
}
/* Handle -mabi= options. */