summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config.gcc')
-rw-r--r--contrib/gcc/config.gcc12
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/gcc/config.gcc b/contrib/gcc/config.gcc
index 9a142e2..b2364cc 100644
--- a/contrib/gcc/config.gcc
+++ b/contrib/gcc/config.gcc
@@ -1207,14 +1207,14 @@ i[34567]86-*-solaris2*)
# FIXME: -m64 for i[34567]86-*-* should be allowed just
# like -m32 for x86_64-*-*.
case X"${with_cpu}" in
- Xgeneric|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
+ Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
;;
X)
with_cpu=generic
;;
*)
echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
- echo "generic nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
+ echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
exit 1
;;
esac
@@ -2537,6 +2537,9 @@ if test x$with_cpu = x ; then
nocona-*)
with_cpu=nocona
;;
+ core2-*)
+ with_cpu=core2
+ ;;
pentium_m-*)
with_cpu=pentium-m
;;
@@ -2556,6 +2559,9 @@ if test x$with_cpu = x ; then
nocona-*)
with_cpu=nocona
;;
+ core2-*)
+ with_cpu=core2
+ ;;
*)
with_cpu=generic
;;
@@ -2787,7 +2793,7 @@ case "${target}" in
esac
# OK
;;
- "" | k8 | opteron | athlon64 | athlon-fx | nocona | generic)
+ "" | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
# OK
;;
*)
OpenPOWER on IntegriCloud