ep9312*-*-*)
cpu_type=arm
;;
+fido-*-*)
+ cpu_type=m68k
+ ;;
frv*) cpu_type=frv
;;
xscale-*-*)
;;
bfin*-uclinux*)
;;
+bfin*-linux-uclibc*)
+ # No need to build crtbeginT.o on uClibc systems. Should probably
+ # be moved to the OS specific section above.
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ ;;
bfin*-*)
;;
c4x-*-rtems* | tic4x-*-rtems*)
cris-*-aout)
;;
cris-*-elf | cris-*-none)
+ extra_parts="crtbegin.o crtend.o"
;;
cris-*-linux*)
;;
crx-*-elf)
;;
+fido-*-elf)
+ ;;
fr30-*-elf)
;;
frv-*-elf)
i[34567]86-*-coff*)
;;
i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu)
- extra_parts="$extra_parts crtfastmath.o"
- tmake_file="${tmake_file} i386/t-crtfm"
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+ tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
;;
x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
- extra_parts="$extra_parts crtfastmath.o"
- tmake_file="${tmake_file} i386/t-crtfm"
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
+ tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
;;
i[34567]86-*-gnu*)
;;
;;
i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
;;
-i[34567]86-*-pe | i[34567]86-*-cygwin*)
+i[34567]86-*-pe)
;;
-i[34567]86-*-mingw32*)
+i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
+ extra_parts="crtbegin.o crtend.o crtfastmath.o"
+ tmake_file="i386/t-cygming i386/t-crtfm"
+ ;;
+x86_64-*-mingw*)
;;
i[34567]86-*-uwin*)
;;
;;
sparc64-*-elf*)
;;
+sparc-wrs-vxworks)
+ ;;
sparc64-*-freebsd*|ultrasparc-*-freebsd*)
;;
sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
exit 1
;;
esac
+
+case ${host} in
+i[34567]86-*-linux* | x86_64-*-linux*)
+ tmake_file="${tmake_file} t-tls"
+ ;;
+esac