summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc45
1 files changed, 45 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 189ff02eb7b..7dfadfd973c 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2302,6 +2302,20 @@ fi
esac
;;
+ m68k*-linux*)
+ supported_defaults="cpu"
+ case "$with_cpu" in
+ "" | "m68020" | "m68030" | "m68040" | "m68060" | "m68020-40" | "m68020-60")
+ # OK
+ ;;
+ *)
+ echo "Unknown CPU used in --with-cpu=$with_cpu, known values:" 1>&2
+ echo "m68020 m68030 m68040 m68060 m68020-40 m68020-60" 1>&2
+ exit 1
+ ;;
+ esac
+ ;;
+
hppa*-*-* | parisc*-*-*)
supported_defaults="arch schedule"
@@ -2494,6 +2508,37 @@ fi
esac
;;
+ m68k*-linux*)
+ case "x$with_cpu" in
+ x)
+ # The most generic
+ target_cpu_default2="(MASK_68020|MASK_68881|MASK_BITFIELD)"
+ ;;
+ xm68020)
+ target_cpu_default2="(MASK_68020|MASK_68881|MASK_BITFIELD)"
+ ;;
+ xm68030)
+ target_cpu_default2="(MASK_68030|MASK_68020|MASK_68881|MASK_BITFIELD)"
+ ;;
+ xm68040)
+ target_cpu_default2="(MASK_68040|MASK_68040_ONLY|MASK_68020|MASK_68881|MASK_BITFIELD)"
+ ;;
+ xm68060)
+ target_cpu_default2="(MASK_68060|MASK_68040_ONLY|MASK_68020|MASK_68881|MASK_BITFIELD)"
+ ;;
+ xm68020-40)
+ target_cpu_default2="(MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040)"
+ ;;
+ xm68020-60)
+ target_cpu_default2="(MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040|MASK_68060)"
+ ;;
+ *)
+ echo "Unknown CPU used in --with-cpu=$with_cpu" 1>&2
+ exit 1
+ ;;
+ esac
+ ;;
+
hppa*-*-* | parisc*-*-*)
if test x$gas = xyes
then