comparison gcc/config.gcc @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 # GCC target-specific configuration file. 1 # GCC target-specific configuration file.
2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2 # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 # 2008, 2009 Free Software Foundation, Inc. 3 # 2008, 2009, 2010 Free Software Foundation, Inc.
4 4
5 #This file is part of GCC. 5 #This file is part of GCC.
6 6
7 #GCC is free software; you can redistribute it and/or modify it under 7 #GCC is free software; you can redistribute it and/or modify it under
8 #the terms of the GNU General Public License as published by the Free 8 #the terms of the GNU General Public License as published by the Free
197 gas="$gas_flag" 197 gas="$gas_flag"
198 gnu_ld="$gnu_ld_flag" 198 gnu_ld="$gnu_ld_flag"
199 default_use_cxa_atexit=no 199 default_use_cxa_atexit=no
200 target_gtfiles= 200 target_gtfiles=
201 need_64bit_hwint= 201 need_64bit_hwint=
202 need_64bit_isa=
203 # Selects the object file format reader/writer used by LTO.
204 lto_binary_reader=lto-elf
202 205
203 # Don't carry these over build->host->target. Please. 206 # Don't carry these over build->host->target. Please.
204 xm_file= 207 xm_file=
205 md_file= 208 md_file=
206 209
230 | *-*-linux*coff* \ 233 | *-*-linux*coff* \
231 | *-*-linux*libc1* \ 234 | *-*-linux*libc1* \
232 | *-*-linux*oldld* \ 235 | *-*-linux*oldld* \
233 | *-*-rtemsaout* \ 236 | *-*-rtemsaout* \
234 | *-*-rtemscoff* \ 237 | *-*-rtemscoff* \
235 | *-*-solaris2.[0-6] \ 238 | *-*-solaris2.[0-7] \
236 | *-*-solaris2.[0-6].* \ 239 | *-*-solaris2.[0-7].* \
237 | *-*-sysv* \ 240 | *-*-sysv* \
238 | vax-*-vms* \ 241 | vax-*-vms* \
239 ) 242 )
240 echo "*** Configuration ${target} not supported" 1>&2 243 echo "*** Configuration ${target} not supported" 1>&2
241 exit 1 244 exit 1
643 tm_file="alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h" 646 tm_file="alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h"
644 # default x-alpha is only appropriate for dec-osf. 647 # default x-alpha is only appropriate for dec-osf.
645 target_cpu_default="MASK_GAS" 648 target_cpu_default="MASK_GAS"
646 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" 649 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
647 ;; 650 ;;
648 alpha*-dec-osf[45]*) 651 alpha*-dec-osf5.1*)
649 if test x$stabs = xyes 652 if test x$stabs = xyes
650 then 653 then
651 tm_file="${tm_file} dbx.h" 654 tm_file="${tm_file} dbx.h"
652 fi 655 fi
653 if test x$gas != xyes 656 if test x$gas != xyes
654 then 657 then
655 extra_passes="mips-tfile mips-tdump" 658 extra_passes="mips-tfile mips-tdump"
656 fi 659 fi
657 use_collect2=yes 660 use_collect2=yes
658 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4" 661 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf5"
659 tm_file="${tm_file} alpha/osf.h" 662 tm_file="${tm_file} alpha/osf5.h"
663 tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
660 extra_headers=va_list.h 664 extra_headers=va_list.h
661 use_gcc_stdint=provide 665 use_gcc_stdint=provide
662 case ${target} in
663 *-*-osf4*)
664 # Define TARGET_SUPPORT_ARCH except on 4.0a.
665 case ${target} in
666 *-*-osf4.0a) ;;
667 *) tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
668 esac
669 ;;
670 *-*-osf5*)
671 tm_file="${tm_file} alpha/osf5.h"
672 tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
673 ;;
674 esac
675 case ${enable_threads} in 666 case ${enable_threads} in
676 "" | yes | posix) 667 "" | yes | posix)
677 thread_file='posix' 668 thread_file='posix'
678 tmake_file="${tmake_file} alpha/t-osf-pthread" 669 tmake_file="${tmake_file} alpha/t-osf-pthread"
679 ;; 670 ;;
1076 ;; 1067 ;;
1077 esac 1068 esac
1078 ;; 1069 ;;
1079 i[34567]86-*-darwin*) 1070 i[34567]86-*-darwin*)
1080 need_64bit_hwint=yes 1071 need_64bit_hwint=yes
1072 need_64bit_isa=yes
1081 1073
1082 # This is so that '.../configure && make' doesn't fail due to 1074 # This is so that '.../configure && make' doesn't fail due to
1083 # config.guess deciding that the configuration is i386-*-darwin* and 1075 # config.guess deciding that the configuration is i386-*-darwin* and
1084 # then this file using that to set --with-cpu=i386 which has no -m64 1076 # then this file using that to set --with-cpu=i386 which has no -m64
1085 # support. 1077 # support.
1086 with_cpu=${with_cpu:-generic} 1078 with_cpu=${with_cpu:-generic}
1087 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" 1079 tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
1080 lto_binary_reader=lto-macho
1088 ;; 1081 ;;
1089 x86_64-*-darwin*) 1082 x86_64-*-darwin*)
1090 with_cpu=${with_cpu:-generic} 1083 with_cpu=${with_cpu:-generic}
1091 tmake_file="${tmake_file} t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" 1084 tmake_file="${tmake_file} t-darwin ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
1092 tm_file="${tm_file} ${cpu_type}/darwin64.h" 1085 tm_file="${tm_file} ${cpu_type}/darwin64.h"
1086 lto_binary_reader=lto-macho
1093 ;; 1087 ;;
1094 i[34567]86-*-elf*) 1088 i[34567]86-*-elf*)
1095 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h" 1089 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
1096 tmake_file="${tmake_file} i386/t-i386elf t-svr4" 1090 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
1097 ;; 1091 ;;
1141 if test x$enable_targets = xall; then 1135 if test x$enable_targets = xall; then
1142 tm_file="${tm_file} i386/x86-64.h i386/linux64.h" 1136 tm_file="${tm_file} i386/x86-64.h i386/linux64.h"
1143 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1137 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1144 tmake_file="${tmake_file} i386/t-linux64" 1138 tmake_file="${tmake_file} i386/t-linux64"
1145 need_64bit_hwint=yes 1139 need_64bit_hwint=yes
1140 need_64bit_isa=yes
1146 case X"${with_cpu}" in 1141 case X"${with_cpu}" in
1147 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx) 1142 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1148 ;; 1143 ;;
1149 X) 1144 X)
1150 if test x$with_cpu_64 = x; then 1145 if test x$with_cpu_64 = x; then
1151 with_cpu_64=generic 1146 with_cpu_64=generic
1152 fi 1147 fi
1153 ;; 1148 ;;
1154 *) 1149 *)
1155 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1150 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1156 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2 1151 echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1157 exit 1 1152 exit 1
1158 ;; 1153 ;;
1159 esac 1154 esac
1160 else 1155 else
1161 tm_file="${tm_file} i386/linux.h" 1156 tm_file="${tm_file} i386/linux.h"
1226 extra_parts="crtbegin.o crtend.o crti.o crtn.o" 1221 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1227 tmake_file="${tmake_file} i386/t-rtems-i386 i386/t-crtstuff t-rtems" 1222 tmake_file="${tmake_file} i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1228 ;; 1223 ;;
1229 i[34567]86-*-solaris2*) 1224 i[34567]86-*-solaris2*)
1230 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h" 1225 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h"
1226 # Set default arch_32 to pentium4, tune_32 to generic like the other
1227 # i386 targets, although config.guess defaults to i386-pc-solaris2*.
1228 case ${target} in
1229 *-*-solaris2.8*)
1230 if test x$gas = xyes; then
1231 with_arch_32=${with_arch_32:-pentium4}
1232 else
1233 # Solaris 8/x86 as cannot handle sse2.
1234 with_arch_32=${with_arch_32:-pentiumpro}
1235 fi
1236 ;;
1237 *)
1238 with_arch_32=${with_arch_32:-pentium4}
1239 ;;
1240 esac
1241 with_tune_32=${with_tune_32:-generic}
1231 case ${target} in 1242 case ${target} in
1232 *-*-solaris2.1[0-9]*) 1243 *-*-solaris2.1[0-9]*)
1233 tm_file="${tm_file} sol2-10.h" 1244 tm_file="${tm_file} sol2-10.h"
1234 ;; 1245 ;;
1235 esac 1246 esac
1236 tm_file="${tm_file} i386/sol2.h" 1247 tm_file="${tm_file} i386/sol2.h"
1248 if test x$gnu_ld = xyes; then
1249 tm_file="${tm_file} sol2-gld.h"
1250 fi
1251 if test x$gas = xyes; then
1252 tm_file="${tm_file} i386/sol2-gas.h"
1253 fi
1237 tmake_file="${tmake_file} t-sol2 t-svr4" 1254 tmake_file="${tmake_file} t-sol2 t-svr4"
1238 c_target_objs="${c_target_objs} sol2-c.o" 1255 c_target_objs="${c_target_objs} sol2-c.o"
1239 cxx_target_objs="${cxx_target_objs} sol2-c.o" 1256 cxx_target_objs="${cxx_target_objs} sol2-c.o"
1240 extra_objs="sol2.o" 1257 extra_objs="sol2.o"
1241 tm_p_file="${tm_p_file} sol2-protos.h" 1258 tm_p_file="${tm_p_file} sol2-protos.h"
1256 tmake_file="$tmake_file i386/t-sol2-10" 1273 tmake_file="$tmake_file i386/t-sol2-10"
1257 # i386/t-crtstuff only affects libgcc. Its inclusion 1274 # i386/t-crtstuff only affects libgcc. Its inclusion
1258 # depends on a runtime test and is thus performed in 1275 # depends on a runtime test and is thus performed in
1259 # libgcc/configure.ac instead. 1276 # libgcc/configure.ac instead.
1260 need_64bit_hwint=yes 1277 need_64bit_hwint=yes
1278 need_64bit_isa=yes
1261 use_gcc_stdint=wrap 1279 use_gcc_stdint=wrap
1262 case X"${with_cpu}" in 1280 case X"${with_cpu}" in
1263 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx) 1281 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1264 ;; 1282 ;;
1265 X) 1283 X)
1266 if test x$with_cpu_64 = x; then 1284 if test x$with_cpu_64 = x; then
1267 with_cpu_64=generic 1285 with_cpu_64=generic
1268 fi 1286 fi
1269 ;; 1287 ;;
1270 *) 1288 *)
1271 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1289 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1272 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2 1290 echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1273 exit 1 1291 exit 1
1274 ;; 1292 ;;
1275 esac 1293 esac
1276 ;; 1294 ;;
1277 *) 1295 *)
1318 extra_gcc_objs=cygwin1.o 1336 extra_gcc_objs=cygwin1.o
1319 if test x$enable_threads = xyes; then 1337 if test x$enable_threads = xyes; then
1320 thread_file='posix' 1338 thread_file='posix'
1321 fi 1339 fi
1322 use_gcc_stdint=wrap 1340 use_gcc_stdint=wrap
1341 lto_binary_reader=lto-coff
1323 ;; 1342 ;;
1324 i[34567]86-*-mingw* | x86_64-*-mingw*) 1343 i[34567]86-*-mingw* | x86_64-*-mingw*)
1325 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h" 1344 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
1326 xm_file=i386/xm-mingw32.h 1345 xm_file=i386/xm-mingw32.h
1327 case ${target} in 1346 case ${target} in
1328 x86_64-*-* | *-w64-*) 1347 x86_64-*-* | *-w64-*)
1329 need_64bit_hwint=yes 1348 need_64bit_hwint=yes
1349 need_64bit_isa=yes
1330 ;; 1350 ;;
1331 *) 1351 *)
1332 ;; 1352 ;;
1333 esac 1353 esac
1334 # This makes the logic if mingw's or the w64 feature set has to be used 1354 # This makes the logic if mingw's or the w64 feature set has to be used
1335 case ${target} in 1355 case ${target} in
1336 *-w64-*) 1356 *-w64-*)
1337 tm_file="${tm_file} i386/mingw-w64.h" 1357 tm_file="${tm_file} i386/mingw-w64.h"
1338 tmake_file="${tmake_file} i386/t-mingw-w64"
1339 if test x$enable_targets = xall; then 1358 if test x$enable_targets = xall; then
1340 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1359 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1341 case X"${with_cpu}" in 1360 case X"${with_cpu}" in
1342 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx) 1361 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xbdver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1343 ;; 1362 ;;
1344 X) 1363 X)
1345 if test x$with_cpu_64 = x; then 1364 if test x$with_cpu_64 = x; then
1346 with_cpu_64=generic 1365 with_cpu_64=generic
1347 fi 1366 fi
1348 ;; 1367 ;;
1349 *) 1368 *)
1350 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1369 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1351 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx" 1>&2 1370 echo "generic atom core2 nocona x86-64 bdver1 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1352 exit 1 1371 exit 1
1353 ;; 1372 ;;
1354 esac 1373 esac
1355 fi 1374 fi
1356 ;; 1375 ;;
1357 *) 1376 *)
1358 tmake_file="${tmake_file} i386/t-mingw32"
1359 ;; 1377 ;;
1360 esac 1378 esac
1361 tm_file="${tm_file} i386/mingw-stdint.h" 1379 tm_file="${tm_file} i386/mingw-stdint.h"
1362 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h 1380 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
1363 if test x$sjlj = x0; then 1381 if test x$sjlj = x0; then
1364 tmake_eh_file="i386/t-dw2-eh" 1382 tmake_eh_file="i386/t-dw2-eh"
1365 else 1383 else
1366 tmake_eh_file="i386/t-sjlj-eh" 1384 tmake_eh_file="i386/t-sjlj-eh"
1367 fi 1385 fi
1368 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming" 1386 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming"
1387 case ${target} in
1388 x86_64-w64-*)
1389 tmake_file="${tmake_file} i386/t-mingw-w64"
1390 ;;
1391 i[34567]86-w64-*)
1392 tmake_file="${tmake_file} i386/t-mingw-w32"
1393 ;;
1394 *)
1395 tmake_file="${tmake_file} i386/t-mingw32"
1396 ;;
1397 esac
1369 target_gtfiles="\$(srcdir)/config/i386/winnt.c" 1398 target_gtfiles="\$(srcdir)/config/i386/winnt.c"
1370 extra_options="${extra_options} i386/cygming.opt i386/mingw.opt" 1399 extra_options="${extra_options} i386/cygming.opt i386/mingw.opt"
1371 case ${target} in 1400 case ${target} in
1372 *-w64-*) 1401 *-w64-*)
1373 extra_options="${extra_options} i386/mingw-w64.opt" 1402 extra_options="${extra_options} i386/mingw-w64.opt"
1378 extra_objs="winnt.o winnt-stubs.o" 1407 extra_objs="winnt.o winnt-stubs.o"
1379 c_target_objs="${c_target_objs} msformat-c.o" 1408 c_target_objs="${c_target_objs} msformat-c.o"
1380 cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o" 1409 cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
1381 default_use_cxa_atexit=yes 1410 default_use_cxa_atexit=yes
1382 use_gcc_stdint=wrap 1411 use_gcc_stdint=wrap
1412 lto_binary_reader=lto-coff
1383 case ${enable_threads} in 1413 case ${enable_threads} in
1384 "" | yes | win32) thread_file='win32' 1414 "" | yes | win32) thread_file='win32'
1385 tmake_file="${tmake_file} i386/t-gthr-win32" 1415 tmake_file="${tmake_file} i386/t-gthr-win32"
1386 ;; 1416 ;;
1387 esac 1417 esac
1477 out_file=iq2000/iq2000.c 1507 out_file=iq2000/iq2000.c
1478 md_file=iq2000/iq2000.md 1508 md_file=iq2000/iq2000.md
1479 ;; 1509 ;;
1480 lm32-*-elf*) 1510 lm32-*-elf*)
1481 tm_file="dbxelf.h elfos.h ${tm_file}" 1511 tm_file="dbxelf.h elfos.h ${tm_file}"
1482 tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp" 1512 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1483 ;; 1513 ;;
1514 lm32-*-rtems*)
1515 tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h"
1516 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1517 tmake_file="${tmake_file} t-rtems"
1518 ;;
1484 lm32-*-uclinux*) 1519 lm32-*-uclinux*)
1485 tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h" 1520 tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h"
1486 tmake_file="${tmake_file} lm32/t-fprules-softfp soft-fp/t-softfp" 1521 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1487 ;; 1522 ;;
1488 m32r-*-elf*) 1523 m32r-*-elf*)
1489 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 1524 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
1490 extra_parts="crtinit.o crtfini.o" 1525 extra_parts="crtinit.o crtfini.o"
1491 ;; 1526 ;;
1646 test "x$with_headers" = x; then 1681 test "x$with_headers" = x; then
1647 with_headers=yes 1682 with_headers=yes
1648 fi 1683 fi
1649 use_gcc_stdint=wrap 1684 use_gcc_stdint=wrap
1650 ;; 1685 ;;
1651 mips-sgi-irix[56]*) 1686 mips-sgi-irix6.5*)
1652 tm_file="elfos.h ${tm_file} mips/iris.h" 1687 tm_file="elfos.h ${tm_file} mips/iris6.h"
1653 tmake_file="mips/t-iris mips/t-slibgcc-irix" 1688 tmake_file="mips/t-iris mips/t-iris6 mips/t-slibgcc-irix"
1654 target_cpu_default="MASK_ABICALLS" 1689 target_cpu_default="MASK_ABICALLS"
1655 case ${target} in 1690 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
1656 *-*-irix5*) 1691 # Only IRIX Development Foundation 1.3 for IRIX 6.5 provides stdint.h.
1657 tm_file="${tm_file} mips/iris5.h" 1692 use_gcc_stdint=wrap
1658 ;;
1659
1660 *-*-irix6*)
1661 tm_file="${tm_file} mips/iris6.h"
1662 tmake_file="${tmake_file} mips/t-iris6"
1663 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
1664 ;;
1665 esac
1666 if test "x$stabs" = xyes 1693 if test "x$stabs" = xyes
1667 then 1694 then
1668 tm_file="${tm_file} dbx.h mips/dbxmdebug.h" 1695 tm_file="${tm_file} dbx.h"
1669 fi 1696 fi
1670 if test "x$gnu_ld" = xyes 1697 if test "x$gnu_ld" = xyes
1671 then 1698 then
1672 tm_defines="${tm_defines} IRIX_USING_GNU_LD" 1699 tm_defines="${tm_defines} IRIX_USING_GNU_LD"
1673 fi 1700 fi
1731 ;; 1758 ;;
1732 *) 1759 *)
1733 # MIPS toolkit libraries. 1760 # MIPS toolkit libraries.
1734 tm_file="$tm_file mips/sdemtk.h" 1761 tm_file="$tm_file mips/sdemtk.h"
1735 tmake_file="$tmake_file mips/t-sdemtk" 1762 tmake_file="$tmake_file mips/t-sdemtk"
1736 extra_options="$extra_options mips/sdemtk.opt"
1737 case ${enable_threads} in 1763 case ${enable_threads} in
1738 "" | yes | mipssde) 1764 "" | yes | mipssde)
1739 thread_file='mipssde' 1765 thread_file='mipssde'
1740 ;; 1766 ;;
1741 esac 1767 esac
1874 tm_file="${tm_file} rs6000/darwin7.h" 1900 tm_file="${tm_file} rs6000/darwin7.h"
1875 ;; 1901 ;;
1876 *-darwin[0-6]*) 1902 *-darwin[0-6]*)
1877 ;; 1903 ;;
1878 esac 1904 esac
1905 lto_binary_reader=lto-macho
1879 extra_headers=altivec.h 1906 extra_headers=altivec.h
1880 ;; 1907 ;;
1881 powerpc64-*-darwin*) 1908 powerpc64-*-darwin*)
1882 tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h" 1909 tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
1883 extra_options="${extra_options} ${cpu_type}/darwin.opt" 1910 extra_options="${extra_options} ${cpu_type}/darwin.opt"
1884 # We're omitting t-darwin8 to avoid building any multilibs 1911 # We're omitting t-darwin8 to avoid building any multilibs
1912 lto_binary_reader=lto-macho
1885 extra_headers=altivec.h 1913 extra_headers=altivec.h
1886 ;; 1914 ;;
1887 powerpc*-*-freebsd*) 1915 powerpc*-*-freebsd*)
1888 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" 1916 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
1889 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" 1917 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
2346 sparc-*-rtems*) 2374 sparc-*-rtems*)
2347 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h" 2375 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
2348 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems" 2376 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
2349 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 2377 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2350 ;; 2378 ;;
2351 sparc64-*-solaris2* | sparcv9-*-solaris2*) 2379 sparc64-*-rtems*)
2380 tm_file="${tm_file} dbxelf.h elfos.h svr4.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
2381 extra_options="${extra_options} sparc/little-endian.opt"
2382 tmake_file="${tmake_file} sparc/t-crtfm t-rtems"
2383 extra_parts="crtbegin.o crtend.o"
2384 ;;
2385 sparc*-*-solaris2*)
2352 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h" 2386 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
2353 case ${target} in 2387 case ${target} in
2354 *-*-solaris2.1[0-9]*) 2388 *-*-solaris2.1[0-9]*)
2355 tm_file="${tm_file} sol2-10.h" 2389 tm_file="${tm_file} sol2-10.h"
2356 use_gcc_stdint=wrap 2390 use_gcc_stdint=wrap
2357 ;; 2391 ;;
2358 *) 2392 *)
2359 use_gcc_stdint=provide 2393 use_gcc_stdint=provide
2360 ;; 2394 ;;
2361 esac 2395 esac
2362 tm_file="${tm_file} sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h" 2396 tm_file="${tm_file} sparc/sol2.h"
2363 if test x$gnu_ld = xyes; then 2397 case ${target} in
2364 tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h" 2398 sparc64-*-* | sparcv9-*-*)
2365 fi 2399 tm_file="${tm_file} sparc/sol2-64.h"
2400 ;;
2401 *)
2402 test x$with_cpu != x || with_cpu=v9
2403 ;;
2404 esac
2405 tm_file="${tm_file} sparc/sol2-bi.h"
2366 if test x$gas = xyes; then 2406 if test x$gas = xyes; then
2367 tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h" 2407 tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h"
2408 fi
2409 if test x$gnu_ld = xyes; then
2410 tm_file="${tm_file} sol2-gld.h sparc/sol2-gld-bi.h"
2368 fi 2411 fi
2369 tm_file="${tm_file} tm-dwarf2.h" 2412 tm_file="${tm_file} tm-dwarf2.h"
2370 tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm" 2413 tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
2371 if test x$gnu_ld = xyes; then 2414 if test x$gnu_ld = xyes; then
2372 tmake_file="$tmake_file t-slibgcc-elf-ver" 2415 tmake_file="$tmake_file t-slibgcc-elf-ver"
2373 else 2416 else
2374 tmake_file="$tmake_file t-slibgcc-sld" 2417 tmake_file="$tmake_file t-slibgcc-sld"
2375 fi 2418 fi
2376 c_target_objs="sol2-c.o"
2377 cxx_target_objs="sol2-c.o"
2378 extra_objs="sol2.o"
2379 tm_p_file="${tm_p_file} sol2-protos.h"
2380 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
2381 case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
2382 "":yes:* | yes:yes:* ) thread_file=posix ;;
2383 "":*:yes | yes:*:yes ) thread_file=solaris ;;
2384 esac
2385 ;;
2386 sparc-*-solaris2*)
2387 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
2388 case ${target} in
2389 *-*-solaris2.1[0-9]*)
2390 tm_file="${tm_file} sol2-10.h"
2391 use_gcc_stdint=wrap
2392 ;;
2393 *)
2394 use_gcc_stdint=provide
2395 ;;
2396 esac
2397 tm_file="${tm_file} sparc/sol2.h"
2398 if test x$gnu_ld = xyes; then
2399 tm_file="${tm_file} sparc/sol2-gld.h"
2400 fi
2401 if test x$gas = xyes; then 2419 if test x$gas = xyes; then
2402 tm_file="${tm_file} sparc/sol2-gas.h" 2420 tm_file="usegas.h ${tm_file}"
2403 fi 2421 fi
2404 tmake_file="t-sol2 sparc/t-sol2 sparc/t-crtfm"
2405 if test x$gnu_ld = xyes; then
2406 tmake_file="$tmake_file t-slibgcc-elf-ver"
2407 else
2408 tmake_file="$tmake_file t-slibgcc-sld"
2409 fi
2410 tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
2411 if test x$gnu_ld = xyes; then
2412 tm_file="${tm_file} sparc/sol2-gld-bi.h"
2413 fi
2414 if test x$gas = xyes; then
2415 tm_file="${tm_file} sparc/sol2-gas-bi.h"
2416 fi
2417 tm_file="${tm_file} tm-dwarf2.h"
2418 tmake_file="$tmake_file sparc/t-sol2-64"
2419 test x$with_cpu != x || with_cpu=v9
2420 c_target_objs="sol2-c.o" 2422 c_target_objs="sol2-c.o"
2421 cxx_target_objs="sol2-c.o" 2423 cxx_target_objs="sol2-c.o"
2422 extra_objs="sol2.o" 2424 extra_objs="sol2.o"
2423 tm_p_file="${tm_p_file} sol2-protos.h" 2425 tm_p_file="${tm_p_file} sol2-protos.h"
2424 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" 2426 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2594 echo "--with-cpu must be passed a value" 1>&2 2596 echo "--with-cpu must be passed a value" 1>&2
2595 exit 1 2597 exit 1
2596 ;; 2598 ;;
2597 esac 2599 esac
2598 2600
2601 # Set arch and cpu from ${target} and ${target_noncanonical}. Set cpu
2602 # to generic if there is no processor scheduler model for the target.
2603 arch=
2604 cpu=
2605 arch_without_sse2=no
2606 arch_without_64bit=no
2607 case ${target} in
2608 i386-*-*)
2609 arch=i386
2610 cpu=i386
2611 arch_without_sse2=yes
2612 arch_without_64bit=yes
2613 ;;
2614 i486-*-*)
2615 arch=i486
2616 cpu=i486
2617 arch_without_sse2=yes
2618 arch_without_64bit=yes
2619 ;;
2620 i586-*-*)
2621 arch_without_sse2=yes
2622 arch_without_64bit=yes
2623 case ${target_noncanonical} in
2624 k6_2-*)
2625 arch=k6-2
2626 cpu=k6-2
2627 ;;
2628 k6_3-*)
2629 arch=k6-3
2630 cpu=k6-3
2631 ;;
2632 k6-*)
2633 arch=k6
2634 cpu=k6
2635 ;;
2636 pentium_mmx-*|winchip_c6-*|winchip2-*|c3-*)
2637 arch=pentium-mmx
2638 cpu=pentium-mmx
2639 ;;
2640 *)
2641 arch=pentium
2642 cpu=pentium
2643 ;;
2644 esac
2645 ;;
2646 i686-*-* | i786-*-*)
2647 case ${target_noncanonical} in
2648 bdver1-*)
2649 arch=bdver1
2650 cpu=bdver1
2651 ;;
2652 amdfam10-*|barcelona-*)
2653 arch=amdfam10
2654 cpu=amdfam10
2655 ;;
2656 k8_sse3-*|opteron_sse3-*|athlon64_sse3-*)
2657 arch=k8-sse3
2658 cpu=k8-sse3
2659 ;;
2660 k8-*|opteron-*|athlon64-*|athlon_fx-*)
2661 arch=k8
2662 cpu=k8
2663 ;;
2664 athlon_xp-*|athlon_mp-*|athlon_4-*)
2665 arch=athlon-4
2666 cpu=athlon-4
2667 arch_without_sse2=yes
2668 arch_without_64bit=yes
2669 ;;
2670 athlon_tbird-*|athlon-*)
2671 arch=athlon
2672 cpu=athlon
2673 arch_without_sse2=yes
2674 ;;
2675 geode-*)
2676 arch=geode
2677 cpu=geode
2678 arch_without_sse2=yes
2679 ;;
2680 pentium2-*)
2681 arch=pentium2
2682 cpu=pentium2
2683 arch_without_sse2=yes
2684 ;;
2685 pentium3-*|pentium3m-*)
2686 arch=pentium3
2687 cpu=pentium3
2688 arch_without_sse2=yes
2689 ;;
2690 pentium4-*|pentium4m-*)
2691 arch=pentium4
2692 cpu=pentium4
2693 ;;
2694 prescott-*)
2695 arch=prescott
2696 cpu=prescott
2697 ;;
2698 nocona-*)
2699 arch=nocona
2700 cpu=nocona
2701 ;;
2702 atom-*)
2703 arch=atom
2704 cpu=atom
2705 ;;
2706 core2-*)
2707 arch=core2
2708 cpu=core2
2709 ;;
2710 pentium_m-*)
2711 arch=pentium-m
2712 cpu=pentium-m
2713 ;;
2714 pentiumpro-*)
2715 arch=pentiumpro
2716 cpu=pentiumpro
2717 arch_without_sse2=yes
2718 ;;
2719 *)
2720 arch=pentiumpro
2721 cpu=generic
2722 arch_without_sse2=yes
2723 arch_without_64bit=yes
2724 ;;
2725 esac
2726 ;;
2727 x86_64-*-*)
2728 case ${target_noncanonical} in
2729 bdver1-*)
2730 arch=bdver1
2731 cpu=bdver1
2732 ;;
2733 amdfam10-*|barcelona-*)
2734 arch=amdfam10
2735 cpu=amdfam10
2736 ;;
2737 k8_sse3-*|opteron_sse3-*|athlon64_sse3-*)
2738 arch=k8-sse3
2739 cpu=k8-sse3
2740 ;;
2741 k8-*|opteron-*|athlon_64-*)
2742 arch=k8
2743 cpu=k8
2744 ;;
2745 nocona-*)
2746 arch=nocona
2747 cpu=nocona
2748 ;;
2749 atom-*)
2750 arch=atom
2751 cpu=atom
2752 ;;
2753 core2-*)
2754 arch=core2
2755 cpu=core2
2756 ;;
2757 *)
2758 arch=x86-64
2759 cpu=generic
2760 ;;
2761 esac
2762 ;;
2763 esac
2764
2599 # If there is no $with_cpu option, try to infer one from ${target}. 2765 # If there is no $with_cpu option, try to infer one from ${target}.
2600 # This block sets nothing except for with_cpu. 2766 # This block sets nothing except for with_cpu.
2601 if test x$with_cpu = x ; then 2767 if test x$with_cpu = x ; then
2602 case ${target} in 2768 case ${target} in
2603 i386-*-*) 2769 i[34567]86-*-*|x86_64-*-*)
2604 with_cpu=i386 2770 with_cpu=$cpu
2605 ;;
2606 i486-*-*)
2607 with_cpu=i486
2608 ;;
2609 i586-*-*)
2610 case ${target_noncanonical} in
2611 k6_2-*)
2612 with_cpu=k6-2
2613 ;;
2614 k6_3-*)
2615 with_cpu=k6-3
2616 ;;
2617 k6-*)
2618 with_cpu=k6
2619 ;;
2620 pentium_mmx-*|winchip_c6-*|winchip2-*|c3-*)
2621 with_cpu=pentium-mmx
2622 ;;
2623 *)
2624 with_cpu=pentium
2625 ;;
2626 esac
2627 ;;
2628 i686-*-* | i786-*-*)
2629 case ${target_noncanonical} in
2630 amdfam10-*|barcelona-*)
2631 with_cpu=amdfam10
2632 ;;
2633 k8-*|opteron-*|athlon_64-*)
2634 with_cpu=k8
2635 ;;
2636 athlon_xp-*|athlon_mp-*|athlon_4-*)
2637 with_cpu=athlon-4
2638 ;;
2639 athlon_tbird-*|athlon-*)
2640 with_cpu=athlon
2641 ;;
2642 geode-*)
2643 with_cpu=geode
2644 ;;
2645 pentium2-*)
2646 with_cpu=pentium2
2647 ;;
2648 pentium3-*|pentium3m-*)
2649 with_cpu=pentium3
2650 ;;
2651 pentium4-*|pentium4m-*)
2652 with_cpu=pentium4
2653 ;;
2654 prescott-*)
2655 with_cpu=prescott
2656 ;;
2657 nocona-*)
2658 with_cpu=nocona
2659 ;;
2660 core2-*)
2661 with_cpu=core2
2662 ;;
2663 pentium_m-*)
2664 with_cpu=pentium-m
2665 ;;
2666 pentiumpro-*)
2667 with_cpu=pentiumpro
2668 ;;
2669 *)
2670 with_cpu=generic
2671 ;;
2672 esac
2673 ;;
2674 x86_64-*-*)
2675 case ${target_noncanonical} in
2676 amdfam10-*|barcelona-*)
2677 with_cpu=amdfam10
2678 ;;
2679 k8-*|opteron-*|athlon_64-*)
2680 with_cpu=k8
2681 ;;
2682 nocona-*)
2683 with_cpu=nocona
2684 ;;
2685 core2-*)
2686 with_cpu=core2
2687 ;;
2688 *)
2689 with_cpu=generic
2690 ;;
2691 esac
2692 ;; 2771 ;;
2693 alphaev6[78]*-*-*) 2772 alphaev6[78]*-*-*)
2694 with_cpu=ev67 2773 with_cpu=ev67
2695 ;; 2774 ;;
2696 alphaev6*-*-*) 2775 alphaev6*-*-*)
2730 esac 2809 esac
2731 2810
2732 # Avoid overriding --with-cpu-32 and --with-cpu-64 values. 2811 # Avoid overriding --with-cpu-32 and --with-cpu-64 values.
2733 case ${target} in 2812 case ${target} in
2734 i[34567]86-*-*|x86_64-*-*) 2813 i[34567]86-*-*|x86_64-*-*)
2735 if test x$with_cpu != x; then 2814 if test x$with_cpu_32 != x || test x$with_cpu_64 != x; then
2736 if test x$with_cpu_32 != x || test x$with_cpu_64 != x; then 2815 if test x$with_cpu_32 = x; then
2737 if test x$with_cpu_32 = x; then 2816 with_cpu_32=$with_cpu
2738 with_cpu_32=$with_cpu 2817 fi
2739 fi 2818 if test x$with_cpu_64 = x; then
2740 if test x$with_cpu_64 = x; then 2819 with_cpu_64=$with_cpu
2741 with_cpu_64=$with_cpu 2820 fi
2742 fi 2821 with_cpu=
2743 with_cpu=
2744 fi
2745 fi 2822 fi
2823 ;;
2824 esac
2825 fi
2826
2827 # Support for --with-arch and related options (and a few unrelated options,
2828 # too).
2829 case ${with_arch} in
2830 yes | no)
2831 echo "--with-arch must be passed a value" 1>&2
2832 exit 1
2833 ;;
2834 esac
2835
2836 # If there is no $with_arch option, try to infer one from ${target}.
2837 # This block sets nothing except for with_arch.
2838 if test x$with_arch = x ; then
2839 case ${target} in
2840 i[34567]86-*-darwin*|x86_64-*-darwin*)
2841 # Default arch is set via TARGET_SUBTARGET32_ISA_DEFAULT
2842 # and TARGET_SUBTARGET64_ISA_DEFAULT in config/i386/darwin.h.
2843 ;;
2844 i[34567]86-*-*)
2845 # --with-fpmath sets the default ISA to SSE2, which is the same
2846 # ISA supported by Pentium 4.
2847 if test x$with_fpmath = x || test $arch_without_sse2 = no; then
2848 with_arch=$arch
2849 else
2850 with_arch=pentium4
2851 fi
2852 ;;
2853 x86_64-*-*)
2854 with_arch=$arch
2855 ;;
2856 esac
2857
2858 # Avoid overriding --with-arch-32 and --with-arch-64 values.
2859 case ${target} in
2860 i[34567]86-*-darwin*|x86_64-*-darwin*)
2861 # Default arch is set via TARGET_SUBTARGET32_ISA_DEFAULT
2862 # and TARGET_SUBTARGET64_ISA_DEFAULT in config/i386/darwin.h.
2863 ;;
2864 i[34567]86-*-*|x86_64-*-*)
2865 if test x$with_arch_32 != x || test x$with_arch_64 != x; then
2866 if test x$with_arch_32 = x; then
2867 with_arch_32=$with_arch
2868 fi
2869 if test x$with_arch_64 = x; then
2870 if test $arch_without_64bit = yes; then
2871 # Set the default 64bit arch to x86-64 if the default arch
2872 # doesn't support 64bit.
2873 with_arch_64=x86-64
2874 else
2875 with_arch_64=$with_arch
2876 fi
2877 fi
2878 with_arch=
2879 elif test $arch_without_64bit$need_64bit_isa = yesyes; then
2880 # Set the default 64bit arch to x86-64 if the default arch
2881 # doesn't support 64bit and we need 64bit ISA.
2882 with_arch_32=$with_arch
2883 with_arch_64=x86-64
2884 with_arch=
2885 fi
2886 ;;
2887 esac
2888 fi
2889
2890 # Support --with-fpmath.
2891 if test x$with_fpmath != x; then
2892 case ${target} in
2893 i[34567]86-*-* | x86_64-*-*)
2894 case ${with_fpmath} in
2895 sse)
2896 tm_file="${tm_file} i386/ssemath.h"
2897 ;;
2898 *)
2899 echo "Invalid --with-fpmath=$with_fpmath" 1>&2
2900 exit 1
2901 ;;
2902 esac
2903 ;;
2904 *)
2905 echo "--with-fpmath isn't supported for $target." 1>&2
2906 exit 1
2746 ;; 2907 ;;
2747 esac 2908 esac
2748 fi 2909 fi
2749 2910
2750 # Similarly for --with-schedule. 2911 # Similarly for --with-schedule.
2831 ;; 2992 ;;
2832 esac 2993 esac
2833 2994
2834 case "$with_fpu" in 2995 case "$with_fpu" in
2835 "" \ 2996 "" \
2836 | fpa | fpe2 | fpe3 | maverick | vfp | vfp3 | vfpv3 | vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd | vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 | fpv4-sp-d16 | neon-vfpv4) 2997 | fpa | fpe2 | fpe3 | maverick | vfp | vfp3 | vfpv3 \
2998 | vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd \
2999 | vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 \
3000 | fpv4-sp-d16 | neon-vfpv4)
2837 # OK 3001 # OK
2838 ;; 3002 ;;
2839 *) 3003 *)
2840 echo "Unknown fpu used in --with-fpu=$with_fpu" 2>&1 3004 echo "Unknown fpu used in --with-fpu=$with_fpu" 2>&1
2841 exit 1 3005 exit 1
2968 esac 3132 esac
2969 ;; 3133 ;;
2970 esac 3134 esac
2971 # OK 3135 # OK
2972 ;; 3136 ;;
2973 "" | amdfam10 | barcelona | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | atom | generic) 3137 "" | x86-64 | generic | native \
3138 | k8 | k8-sse3 | athlon64 | athlon64-sse3 | opteron \
3139 | opteron-sse3 | athlon-fx | bdver1 | amdfam10 \
3140 | barcelona | nocona | core2 | atom)
2974 # OK 3141 # OK
2975 ;; 3142 ;;
2976 *) 3143 *)
2977 echo "Unknown CPU given in --with-$which=$val." 1>&2 3144 echo "Unknown CPU given in --with-$which=$val." 1>&2
2978 exit 1 3145 exit 1
3242 ;; 3409 ;;
3243 3410
3244 i[34567]86-*-darwin* | x86_64-*-darwin*) 3411 i[34567]86-*-darwin* | x86_64-*-darwin*)
3245 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" 3412 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
3246 ;; 3413 ;;
3247 i[34567]86-*-linux* | x86_64-*-linux* | i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu) 3414 i[34567]86-*-linux* | x86_64-*-linux* | \
3415 i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
3416 i[34567]86-*-gnu*)
3248 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux" 3417 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp i386/t-linux"
3418 ;;
3419 i[34567]86-*-solaris2*)
3420 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
3249 ;; 3421 ;;
3250 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) 3422 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*)
3251 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp" 3423 tmake_file="${tmake_file} i386/t-fprules-softfp soft-fp/t-softfp"
3252 ;; 3424 ;;
3253 ia64*-*-linux*) 3425 ia64*-*-linux*)