aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-07 08:39:42 +0000
committerRichard Stallman <rms@gnu.org>1992-10-07 08:39:42 +0000
commit35b528be831e82588c0503c9fae12868ce14104f (patch)
tree4219c587d2dbdc06af1679ecfc1db219b5ebdc78
parent7085b87321c9806703374153680e5b647030b75d (diff)
downloadgcc-35b528be831e82588c0503c9fae12868ce14104f.zip
gcc-35b528be831e82588c0503c9fae12868ce14104f.tar.gz
gcc-35b528be831e82588c0503c9fae12868ce14104f.tar.bz2
(TARGET_CPU_DEFAULT): Add default definition.
(TARGET_SWITCHES): Include that in the default. From-SVN: r2350
-rw-r--r--gcc/config/i386/i386.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index abec9d7..5de401d 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -57,6 +57,11 @@ extern int target_flags;
/* Macros used in the machine description to test the flags. */
+/* configure can arrage to make this 2, to force a 486. */
+#ifndef TARGET_CPU_DEFAULT
+#define TARGET_CPU_DEFAULT 0
+#endif
+
/* Compile 80387 insns for floating point (not library calls). */
#define TARGET_80387 (target_flags & 1)
/* Compile code for an i486. */
@@ -110,7 +115,7 @@ extern int target_flags;
{ "fp-ret-in-387", 0200}, \
{ "no-fp-ret-in-387", -0200}, \
SUBTARGET_SWITCHES \
- { "", TARGET_DEFAULT}}
+ { "", TARGET_DEFAULT | TARGET_CPU_DEFAULT}}
/* This is meant to be redefined in the host dependent files */
#define SUBTARGET_SWITCHES