aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ae88275..9c84dde 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-28 Neil Booth <neil@daikokuya.co.uk>
+
+ * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
+ __mc68020__ on TARGET_68020.
+
2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c: Fix a comment typo.
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 12c30b8..cb6c190 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -29,7 +29,8 @@ Boston, MA 02111-1307, USA. */
do \
{ \
builtin_define ("__mc68000__"); \
- builtin_define ("__mc68020__"); \
+ if (TARGET_68020) \
+ builtin_define ("__mc68020__"); \
builtin_define ("__m68k__"); \
builtin_assert ("cpu=m68k"); \
builtin_assert ("machine=m68k"); \