aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-06-30 03:48:22 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2005-06-29 23:48:22 -0400
commit9c6b4ed953f7c00d866e84217f4f4966bab4e19c (patch)
treebbb1ed7161b8fa0044d9b8cc60b926ed498b57d0
parent917b04f4923bdb692362b09ce5c4730d073c4c00 (diff)
downloadgcc-9c6b4ed953f7c00d866e84217f4f4966bab4e19c.zip
gcc-9c6b4ed953f7c00d866e84217f4f4966bab4e19c.tar.gz
gcc-9c6b4ed953f7c00d866e84217f4f4966bab4e19c.tar.bz2
* config/rs6000/rs6000.c (rs6000_file_start): Use PPC405_ERRATUM77.
From-SVN: r101454
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 194c814..6a9d212 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-29 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_file_start): Use PPC405_ERRATUM77.
+
2005-06-29 Diego Novillo <dnovillo@redhat.com>
PR 22234
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 5bc8ccf..96564e1 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -1850,13 +1850,11 @@ rs6000_file_start (void)
}
}
-#ifdef CONFIG_PPC405CR
- if (rs6000_cpu == PROCESSOR_PPC405)
+ if (PPC405_ERRATUM77)
{
- fprint (file, "%s PPC405CR_ERRATUM77", start);
+ fprintf (file, "%s PPC405CR_ERRATUM77", start);
start = "";
}
-#endif
#ifdef USING_ELFOS_H
switch (rs6000_sdata)