Thu Dec 15 08:34:11 2011 UTC ()
make sure m68010-netbsdelf chooses the right unwinder.


(mrg)
diff -r1.10 -r1.11 src/external/gpl3/gcc/dist/gcc/config.gcc

cvs diff -r1.10 -r1.11 src/external/gpl3/gcc/dist/gcc/config.gcc (switch to unified diff)

--- src/external/gpl3/gcc/dist/gcc/config.gcc 2011/07/18 21:48:03 1.10
+++ src/external/gpl3/gcc/dist/gcc/config.gcc 2011/12/15 08:34:11 1.11
@@ -644,1999 +644,1999 @@ alpha*-*-freebsd*) @@ -644,1999 +644,1999 @@ alpha*-*-freebsd*)
644 target_cpu_default="MASK_GAS" 644 target_cpu_default="MASK_GAS"
645 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee" 645 tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
646 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" 646 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
647 ;; 647 ;;
648alpha*-*-netbsd*) 648alpha*-*-netbsd*)
649 tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h" 649 tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
650 target_cpu_default="MASK_GAS" 650 target_cpu_default="MASK_GAS"
651 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" 651 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
652 ;; 652 ;;
653alpha*-*-openbsd*) 653alpha*-*-openbsd*)
654 tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_FUNCTION_SIZE OBSD_HAS_DECLARE_OBJECT" 654 tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_FUNCTION_SIZE OBSD_HAS_DECLARE_OBJECT"
655 tm_file="alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h" 655 tm_file="alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h"
656 # default x-alpha is only appropriate for dec-osf. 656 # default x-alpha is only appropriate for dec-osf.
657 target_cpu_default="MASK_GAS" 657 target_cpu_default="MASK_GAS"
658 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" 658 tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
659 ;; 659 ;;
660alpha*-dec-osf[45]*) 660alpha*-dec-osf[45]*)
661 if test x$stabs = xyes 661 if test x$stabs = xyes
662 then 662 then
663 tm_file="${tm_file} dbx.h" 663 tm_file="${tm_file} dbx.h"
664 fi 664 fi
665 if test x$gas != xyes 665 if test x$gas != xyes
666 then 666 then
667 extra_passes="mips-tfile mips-tdump" 667 extra_passes="mips-tfile mips-tdump"
668 fi 668 fi
669 use_collect2=yes 669 use_collect2=yes
670 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4" 670 tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm alpha/t-osf4"
671 tm_file="${tm_file} alpha/osf.h" 671 tm_file="${tm_file} alpha/osf.h"
672 extra_headers=va_list.h 672 extra_headers=va_list.h
673 use_gcc_stdint=provide 673 use_gcc_stdint=provide
674 case ${target} in 674 case ${target} in
675 *-*-osf4*) 675 *-*-osf4*)
676 # Define TARGET_SUPPORT_ARCH except on 4.0a. 676 # Define TARGET_SUPPORT_ARCH except on 4.0a.
677 case ${target} in 677 case ${target} in
678 *-*-osf4.0a) ;; 678 *-*-osf4.0a) ;;
679 *) tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1" 679 *) tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
680 esac 680 esac
681 ;; 681 ;;
682 *-*-osf5*) 682 *-*-osf5*)
683 tm_file="${tm_file} alpha/osf5.h" 683 tm_file="${tm_file} alpha/osf5.h"
684 tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1" 684 tm_defines="${tm_defines} TARGET_SUPPORT_ARCH=1"
685 ;; 685 ;;
686 esac 686 esac
687 case ${enable_threads} in 687 case ${enable_threads} in
688 "" | yes | posix) 688 "" | yes | posix)
689 thread_file='posix' 689 thread_file='posix'
690 tmake_file="${tmake_file} alpha/t-osf-pthread" 690 tmake_file="${tmake_file} alpha/t-osf-pthread"
691 ;; 691 ;;
692 esac 692 esac
693 ;; 693 ;;
694alpha64-dec-*vms*) 694alpha64-dec-*vms*)
695 tm_file="${tm_file} alpha/vms.h alpha/vms64.h" 695 tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
696 xm_file="alpha/xm-vms.h vms/xm-vms64.h" 696 xm_file="alpha/xm-vms.h vms/xm-vms64.h"
697 tmake_file="alpha/t-alpha vms/t-vms vms/t-vms64 alpha/t-vms alpha/t-ieee" 697 tmake_file="alpha/t-alpha vms/t-vms vms/t-vms64 alpha/t-vms alpha/t-ieee"
698 xmake_file=vms/x-vms 698 xmake_file=vms/x-vms
699 exeext=.exe 699 exeext=.exe
700 install_headers_dir=install-headers-cp 700 install_headers_dir=install-headers-cp
701 extra_options="${extra_options} vms/vms.opt" 701 extra_options="${extra_options} vms/vms.opt"
702 ;; 702 ;;
703alpha*-dec-*vms*) 703alpha*-dec-*vms*)
704 tm_file="${tm_file} alpha/vms.h" 704 tm_file="${tm_file} alpha/vms.h"
705 xm_file="alpha/xm-vms.h" 705 xm_file="alpha/xm-vms.h"
706 tmake_file="alpha/t-alpha vms/t-vms alpha/t-vms alpha/t-ieee" 706 tmake_file="alpha/t-alpha vms/t-vms alpha/t-vms alpha/t-ieee"
707 xmake_file=vms/x-vms 707 xmake_file=vms/x-vms
708 exeext=.exe 708 exeext=.exe
709 install_headers_dir=install-headers-cp 709 install_headers_dir=install-headers-cp
710 extra_options="${extra_options} vms/vms.opt" 710 extra_options="${extra_options} vms/vms.opt"
711 ;; 711 ;;
712arc-*-elf*) 712arc-*-elf*)
713 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 713 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
714 extra_parts="crtinit.o crtfini.o" 714 extra_parts="crtinit.o crtfini.o"
715 ;; 715 ;;
716arm-wrs-vxworks) 716arm-wrs-vxworks)
717 tm_file="elfos.h arm/elf.h arm/aout.h ${tm_file} vx-common.h vxworks.h arm/vxworks.h" 717 tm_file="elfos.h arm/elf.h arm/aout.h ${tm_file} vx-common.h vxworks.h arm/vxworks.h"
718 tmake_file="${tmake_file} arm/t-arm arm/t-vxworks" 718 tmake_file="${tmake_file} arm/t-arm arm/t-vxworks"
719 ;; 719 ;;
720arm*-*-freebsd*) 720arm*-*-freebsd*)
721 tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h" 721 tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
722 tmake_file="${tmake_file} arm/t-arm arm/t-strongarm-elf" 722 tmake_file="${tmake_file} arm/t-arm arm/t-strongarm-elf"
723 ;; 723 ;;
724arm*-*-netbsdelf*) 724arm*-*-netbsdelf*)
725 tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h" 725 tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h"
726 tmake_file="${tmake_file} arm/t-arm arm/t-netbsd" 726 tmake_file="${tmake_file} arm/t-arm arm/t-netbsd"
727 case ${target} in 727 case ${target} in
728 armeb*) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_END" ;; 728 armeb*) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_END" ;;
729 esac 729 esac
730 ;; 730 ;;
731arm*-*-netbsd*) 731arm*-*-netbsd*)
732 tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h" 732 tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
733 tmake_file="t-netbsd arm/t-arm arm/t-netbsd" 733 tmake_file="t-netbsd arm/t-arm arm/t-netbsd"
734 extra_parts="" 734 extra_parts=""
735 use_collect2=yes 735 use_collect2=yes
736 ;; 736 ;;
737arm*-*-linux*) # ARM GNU/Linux with ELF 737arm*-*-linux*) # ARM GNU/Linux with ELF
738 tm_file="dbxelf.h elfos.h linux.h glibc-stdint.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" 738 tm_file="dbxelf.h elfos.h linux.h glibc-stdint.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
739 case $target in 739 case $target in
740 arm*b-*) 740 arm*b-*)
741 tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" 741 tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
742 ;; 742 ;;
743 esac 743 esac
744 tmake_file="${tmake_file} t-linux arm/t-arm" 744 tmake_file="${tmake_file} t-linux arm/t-arm"
745 case ${target} in 745 case ${target} in
746 arm*-*-linux-*eabi) 746 arm*-*-linux-*eabi)
747 tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h" 747 tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h"
748 tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc" 748 tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
749 # The BPABI long long divmod functions return a 128-bit value in 749 # The BPABI long long divmod functions return a 128-bit value in
750 # registers r0-r3. Correctly modeling that requires the use of 750 # registers r0-r3. Correctly modeling that requires the use of
751 # TImode. 751 # TImode.
752 need_64bit_hwint=yes 752 need_64bit_hwint=yes
753 # The EABI requires the use of __cxa_atexit. 753 # The EABI requires the use of __cxa_atexit.
754 default_use_cxa_atexit=yes 754 default_use_cxa_atexit=yes
755 ;; 755 ;;
756 *) 756 *)
757 tmake_file="$tmake_file arm/t-linux" 757 tmake_file="$tmake_file arm/t-linux"
758 ;; 758 ;;
759 esac 759 esac
760 tm_file="$tm_file arm/aout.h arm/arm.h" 760 tm_file="$tm_file arm/aout.h arm/arm.h"
761 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 761 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
762 ;; 762 ;;
763arm*-*-uclinux*) # ARM ucLinux 763arm*-*-uclinux*) # ARM ucLinux
764 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h" 764 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h"
765 tmake_file="arm/t-arm arm/t-arm-elf" 765 tmake_file="arm/t-arm arm/t-arm-elf"
766 case ${target} in 766 case ${target} in
767 arm*-*-uclinux*eabi) 767 arm*-*-uclinux*eabi)
768 tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h" 768 tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h"
769 tmake_file="$tmake_file arm/t-bpabi" 769 tmake_file="$tmake_file arm/t-bpabi"
770 # The BPABI long long divmod functions return a 128-bit value in 770 # The BPABI long long divmod functions return a 128-bit value in
771 # registers r0-r3. Correctly modeling that requires the use of 771 # registers r0-r3. Correctly modeling that requires the use of
772 # TImode. 772 # TImode.
773 need_64bit_hwint=yes 773 need_64bit_hwint=yes
774 # The EABI requires the use of __cxa_atexit. 774 # The EABI requires the use of __cxa_atexit.
775 default_use_cxa_atexit=yes 775 default_use_cxa_atexit=yes
776 esac 776 esac
777 tm_file="$tm_file arm/aout.h arm/arm.h" 777 tm_file="$tm_file arm/aout.h arm/arm.h"
778 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 778 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
779 ;; 779 ;;
780arm*-*-ecos-elf) 780arm*-*-ecos-elf)
781 tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h" 781 tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
782 tmake_file="arm/t-arm arm/t-arm-elf" 782 tmake_file="arm/t-arm arm/t-arm-elf"
783 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 783 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
784 ;; 784 ;;
785arm*-*-eabi* | arm*-*-symbianelf* ) 785arm*-*-eabi* | arm*-*-symbianelf* )
786 # The BPABI long long divmod functions return a 128-bit value in 786 # The BPABI long long divmod functions return a 128-bit value in
787 # registers r0-r3. Correctly modeling that requires the use of 787 # registers r0-r3. Correctly modeling that requires the use of
788 # TImode. 788 # TImode.
789 need_64bit_hwint=yes 789 need_64bit_hwint=yes
790 default_use_cxa_atexit=yes 790 default_use_cxa_atexit=yes
791 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h" 791 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
792 tmake_file="arm/t-arm arm/t-arm-elf" 792 tmake_file="arm/t-arm arm/t-arm-elf"
793 case ${target} in 793 case ${target} in
794 arm*-*-eabi*) 794 arm*-*-eabi*)
795 tm_file="$tm_file arm/eabi.h newlib-stdint.h" 795 tm_file="$tm_file arm/eabi.h newlib-stdint.h"
796 tmake_file="${tmake_file} arm/t-bpabi" 796 tmake_file="${tmake_file} arm/t-bpabi"
797 extra_options="${extra_options} arm/eabi.opt" 797 extra_options="${extra_options} arm/eabi.opt"
798 use_gcc_stdint=wrap 798 use_gcc_stdint=wrap
799 ;; 799 ;;
800 arm*-*-symbianelf*) 800 arm*-*-symbianelf*)
801 tm_file="${tm_file} arm/symbian.h" 801 tm_file="${tm_file} arm/symbian.h"
802 # We do not include t-bpabi for Symbian OS because the system 802 # We do not include t-bpabi for Symbian OS because the system
803 # provides its own implementation of the BPABI functions. 803 # provides its own implementation of the BPABI functions.
804 tmake_file="${tmake_file} arm/t-symbian" 804 tmake_file="${tmake_file} arm/t-symbian"
805 ;; 805 ;;
806 esac 806 esac
807 tm_file="${tm_file} arm/aout.h arm/arm.h" 807 tm_file="${tm_file} arm/aout.h arm/arm.h"
808 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 808 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
809 ;; 809 ;;
810arm*-*-rtems*) 810arm*-*-rtems*)
811 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h" 811 tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
812 tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems" 812 tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
813 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 813 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
814 ;; 814 ;;
815arm*-*-elf) 815arm*-*-elf)
816 tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" 816 tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
817 tmake_file="arm/t-arm arm/t-arm-elf" 817 tmake_file="arm/t-arm arm/t-arm-elf"
818 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" 818 tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp"
819 ;; 819 ;;
820arm*-wince-pe*) 820arm*-wince-pe*)
821 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h arm/wince-pe.h" 821 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h arm/wince-pe.h"
822 tmake_file="arm/t-arm arm/t-wince-pe" 822 tmake_file="arm/t-arm arm/t-wince-pe"
823 extra_options="${extra_options} arm/pe.opt" 823 extra_options="${extra_options} arm/pe.opt"
824 extra_objs="pe.o" 824 extra_objs="pe.o"
825 ;; 825 ;;
826arm-*-pe*) 826arm-*-pe*)
827 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h newlib-stdint.h" 827 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h newlib-stdint.h"
828 tmake_file="arm/t-arm arm/t-pe" 828 tmake_file="arm/t-arm arm/t-pe"
829 use_gcc_stdint=wrap 829 use_gcc_stdint=wrap
830 extra_options="${extra_options} arm/pe.opt" 830 extra_options="${extra_options} arm/pe.opt"
831 extra_objs="pe.o" 831 extra_objs="pe.o"
832 ;; 832 ;;
833avr-*-rtems*) 833avr-*-rtems*)
834 tm_file="avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h" 834 tm_file="avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
835 tmake_file="avr/t-avr t-rtems avr/t-rtems" 835 tmake_file="avr/t-avr t-rtems avr/t-rtems"
836 extra_gcc_objs="driver-avr.o avr-devices.o" 836 extra_gcc_objs="driver-avr.o avr-devices.o"
837 extra_objs="avr-devices.o" 837 extra_objs="avr-devices.o"
838 ;; 838 ;;
839avr-*-*) 839avr-*-*)
840 tm_file="avr/avr.h dbxelf.h newlib-stdint.h" 840 tm_file="avr/avr.h dbxelf.h newlib-stdint.h"
841 use_gcc_stdint=wrap 841 use_gcc_stdint=wrap
842 extra_gcc_objs="driver-avr.o avr-devices.o" 842 extra_gcc_objs="driver-avr.o avr-devices.o"
843 extra_objs="avr-devices.o" 843 extra_objs="avr-devices.o"
844 ;; 844 ;;
845bfin*-elf*) 845bfin*-elf*)
846 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h" 846 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
847 tmake_file=bfin/t-bfin-elf 847 tmake_file=bfin/t-bfin-elf
848 use_collect2=no 848 use_collect2=no
849 ;; 849 ;;
850bfin*-uclinux*) 850bfin*-uclinux*)
851 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h linux.h glibc-stdint.h bfin/uclinux.h" 851 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h linux.h glibc-stdint.h bfin/uclinux.h"
852 tmake_file=bfin/t-bfin-uclinux 852 tmake_file=bfin/t-bfin-uclinux
853 tm_defines="${tm_defines} UCLIBC_DEFAULT=1" 853 tm_defines="${tm_defines} UCLIBC_DEFAULT=1"
854 extra_options="${extra_options} linux.opt" 854 extra_options="${extra_options} linux.opt"
855 use_collect2=no 855 use_collect2=no
856 ;; 856 ;;
857bfin*-linux-uclibc*) 857bfin*-linux-uclibc*)
858 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h" 858 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
859 tmake_file="t-slibgcc-elf-ver bfin/t-bfin-linux" 859 tmake_file="t-slibgcc-elf-ver bfin/t-bfin-linux"
860 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" 860 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
861 use_collect2=no 861 use_collect2=no
862 ;; 862 ;;
863bfin*-rtems*) 863bfin*-rtems*)
864 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h" 864 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h newlib-stdint.h"
865 tmake_file="bfin/t-bfin t-rtems bfin/t-rtems" 865 tmake_file="bfin/t-bfin t-rtems bfin/t-rtems"
866 ;; 866 ;;
867bfin*-*) 867bfin*-*)
868 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h" 868 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"
869 tmake_file=bfin/t-bfin 869 tmake_file=bfin/t-bfin
870 use_collect2=no 870 use_collect2=no
871 use_gcc_stdint=wrap 871 use_gcc_stdint=wrap
872 ;; 872 ;;
873crisv32-*-elf | crisv32-*-none) 873crisv32-*-elf | crisv32-*-none)
874 tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" 874 tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
875 tmake_file="cris/t-cris" 875 tmake_file="cris/t-cris"
876 target_cpu_default=32 876 target_cpu_default=32
877 gas=yes 877 gas=yes
878 extra_options="${extra_options} cris/elf.opt" 878 extra_options="${extra_options} cris/elf.opt"
879 use_gcc_stdint=wrap 879 use_gcc_stdint=wrap
880 ;; 880 ;;
881cris-*-elf | cris-*-none) 881cris-*-elf | cris-*-none)
882 tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}" 882 tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
883 tmake_file="cris/t-cris cris/t-elfmulti" 883 tmake_file="cris/t-cris cris/t-elfmulti"
884 gas=yes 884 gas=yes
885 extra_options="${extra_options} cris/elf.opt" 885 extra_options="${extra_options} cris/elf.opt"
886 use_gcc_stdint=wrap 886 use_gcc_stdint=wrap
887 ;; 887 ;;
888crisv32-*-linux* | cris-*-linux*) 888crisv32-*-linux* | cris-*-linux*)
889 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h glibc-stdint.h cris/linux.h" 889 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h glibc-stdint.h cris/linux.h"
890 # We need to avoid using t-linux, so override default tmake_file 890 # We need to avoid using t-linux, so override default tmake_file
891 tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" 891 tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
892 extra_options="${extra_options} cris/linux.opt" 892 extra_options="${extra_options} cris/linux.opt"
893 case $target in 893 case $target in
894 cris-*-*) 894 cris-*-*)
895 target_cpu_default=10 895 target_cpu_default=10
896 ;; 896 ;;
897 crisv32-*-*) 897 crisv32-*-*)
898 target_cpu_default=32 898 target_cpu_default=32
899 ;; 899 ;;
900 esac 900 esac
901 ;; 901 ;;
902crx-*-elf) 902crx-*-elf)
903 tm_file="elfos.h newlib-stdint.h ${tm_file}" 903 tm_file="elfos.h newlib-stdint.h ${tm_file}"
904 extra_parts="crtbegin.o crtend.o" 904 extra_parts="crtbegin.o crtend.o"
905 use_collect2=no 905 use_collect2=no
906 ;; 906 ;;
907fr30-*-elf) 907fr30-*-elf)
908 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 908 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
909 tmake_file=fr30/t-fr30 909 tmake_file=fr30/t-fr30
910 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 910 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
911 ;; 911 ;;
912frv-*-elf) 912frv-*-elf)
913 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} frv/frv-abi.h" 913 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} frv/frv-abi.h"
914 tmake_file=frv/t-frv 914 tmake_file=frv/t-frv
915 ;; 915 ;;
916frv-*-*linux*) 916frv-*-*linux*)
917 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} \ 917 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} \
918 linux.h glibc-stdint.h frv/linux.h frv/frv-abi.h" 918 linux.h glibc-stdint.h frv/linux.h frv/frv-abi.h"
919 tmake_file="${tmake_file} frv/t-frv frv/t-linux" 919 tmake_file="${tmake_file} frv/t-frv frv/t-linux"
920 ;; 920 ;;
921moxie-*-elf) 921moxie-*-elf)
922 gas=yes 922 gas=yes
923 gnu_ld=yes 923 gnu_ld=yes
924 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" 924 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
925 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 925 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
926 tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp" 926 tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp"
927 ;; 927 ;;
928moxie-*-uclinux*) 928moxie-*-uclinux*)
929 gas=yes 929 gas=yes
930 gnu_ld=yes 930 gnu_ld=yes
931 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h glibc-stdint.h moxie/uclinux.h" 931 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h glibc-stdint.h moxie/uclinux.h"
932 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 932 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
933 tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp" 933 tmake_file="${tmake_file} moxie/t-moxie moxie/t-moxie-softfp soft-fp/t-softfp"
934 tm_defines="${tm_defines} UCLIBC_DEFAULT=1" 934 tm_defines="${tm_defines} UCLIBC_DEFAULT=1"
935 extra_options="${extra_options} linux.opt" 935 extra_options="${extra_options} linux.opt"
936 ;; 936 ;;
937h8300-*-rtems*) 937h8300-*-rtems*)
938 tmake_file="h8300/t-h8300 h8300/t-elf t-rtems h8300/t-rtems" 938 tmake_file="h8300/t-h8300 h8300/t-elf t-rtems h8300/t-rtems"
939 tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h" 939 tm_file="h8300/h8300.h dbxelf.h elfos.h h8300/elf.h h8300/rtems.h rtems.h newlib-stdint.h"
940 ;; 940 ;;
941h8300-*-elf*) 941h8300-*-elf*)
942 tmake_file="h8300/t-h8300 h8300/t-elf" 942 tmake_file="h8300/t-h8300 h8300/t-elf"
943 tm_file="h8300/h8300.h dbxelf.h elfos.h newlib-stdint.h h8300/elf.h" 943 tm_file="h8300/h8300.h dbxelf.h elfos.h newlib-stdint.h h8300/elf.h"
944 ;; 944 ;;
945hppa*64*-*-linux*) 945hppa*64*-*-linux*)
946 target_cpu_default="MASK_PA_11|MASK_PA_20" 946 target_cpu_default="MASK_PA_11|MASK_PA_20"
947 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \ 947 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h \
948 glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \ 948 glibc-stdint.h pa/pa-linux.h pa/pa64-regs.h pa/pa-64.h \
949 pa/pa64-linux.h" 949 pa/pa64-linux.h"
950 tmake_file="${tmake_file} pa/t-linux64" 950 tmake_file="${tmake_file} pa/t-linux64"
951 gas=yes gnu_ld=yes 951 gas=yes gnu_ld=yes
952 need_64bit_hwint=yes 952 need_64bit_hwint=yes
953 ;; 953 ;;
954hppa*-*-linux*) 954hppa*-*-linux*)
955 target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS" 955 target_cpu_default="MASK_PA_11|MASK_NO_SPACE_REGS"
956 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h pa/pa-linux.h \ 956 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h pa/pa-linux.h \
957 pa/pa32-regs.h pa/pa32-linux.h" 957 pa/pa32-regs.h pa/pa32-linux.h"
958 tmake_file="${tmake_file} pa/t-linux t-slibgcc-libgcc" 958 tmake_file="${tmake_file} pa/t-linux t-slibgcc-libgcc"
959 # Set the libgcc version number 959 # Set the libgcc version number
960 if test x$sjlj = x1; then 960 if test x$sjlj = x1; then
961 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" 961 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
962 else 962 else
963 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" 963 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
964 fi 964 fi
965 ;; 965 ;;
966hppa*-*-netbsd* | parisc*-*-netbsd*) 966hppa*-*-netbsd* | parisc*-*-netbsd*)
967 target_cpu_default="MASK_PA_11" 967 target_cpu_default="MASK_PA_11"
968 tm_file="${tm_file} dbxelf.h elfos.h svr4.h netbsd.h netbsd-elf.h \ 968 tm_file="${tm_file} dbxelf.h elfos.h svr4.h netbsd.h netbsd-elf.h \
969 pa/pa-netbsd.h pa/pa32-regs.h pa/pa32-netbsd.h" 969 pa/pa-netbsd.h pa/pa32-regs.h pa/pa32-netbsd.h"
970 tmake_file="${tmake_file} pa/t-netbsd" 970 tmake_file="${tmake_file} pa/t-netbsd"
971 ;; 971 ;;
972# port not yet contributed. 972# port not yet contributed.
973#hppa*-*-openbsd*) 973#hppa*-*-openbsd*)
974# target_cpu_default="MASK_PA_11" 974# target_cpu_default="MASK_PA_11"
975# ;; 975# ;;
976hppa[12]*-*-hpux10*) 976hppa[12]*-*-hpux10*)
977 case ${target} in 977 case ${target} in
978 hppa1.1-*-* | hppa2*-*-*) 978 hppa1.1-*-* | hppa2*-*-*)
979 target_cpu_default="MASK_PA_11" 979 target_cpu_default="MASK_PA_11"
980 ;; 980 ;;
981 esac 981 esac
982 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h \ 982 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h \
983 pa/pa-hpux.h pa/pa-hpux10.h" 983 pa/pa-hpux.h pa/pa-hpux10.h"
984 extra_options="${extra_options} pa/pa-hpux.opt" 984 extra_options="${extra_options} pa/pa-hpux.opt"
985 case ${target} in 985 case ${target} in
986 *-*-hpux10.[1-9]*) 986 *-*-hpux10.[1-9]*)
987 tm_file="${tm_file} pa/pa-hpux1010.h" 987 tm_file="${tm_file} pa/pa-hpux1010.h"
988 extra_options="${extra_options} pa/pa-hpux1010.opt" 988 extra_options="${extra_options} pa/pa-hpux1010.opt"
989 ;; 989 ;;
990 esac 990 esac
991 use_gcc_stdint=provide 991 use_gcc_stdint=provide
992 tm_file="${tm_file} hpux-stdint.h" 992 tm_file="${tm_file} hpux-stdint.h"
993 tmake_file="pa/t-pa-hpux10 pa/t-pa-hpux pa/t-hpux-shlib" 993 tmake_file="pa/t-pa-hpux10 pa/t-pa-hpux pa/t-hpux-shlib"
994 case ${enable_threads} in 994 case ${enable_threads} in
995 "") 995 "")
996 if test x$have_pthread_h = xyes ; then 996 if test x$have_pthread_h = xyes ; then
997 tmake_file="${tmake_file} pa/t-dce-thr" 997 tmake_file="${tmake_file} pa/t-dce-thr"
998 fi 998 fi
999 ;; 999 ;;
1000 yes | dce) 1000 yes | dce)
1001 tmake_file="${tmake_file} pa/t-dce-thr" 1001 tmake_file="${tmake_file} pa/t-dce-thr"
1002 ;; 1002 ;;
1003 esac 1003 esac
1004 # Set the libgcc version number 1004 # Set the libgcc version number
1005 if test x$sjlj = x1; then 1005 if test x$sjlj = x1; then
1006 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" 1006 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
1007 else 1007 else
1008 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" 1008 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
1009 fi 1009 fi
1010 use_collect2=yes 1010 use_collect2=yes
1011 gas=yes 1011 gas=yes
1012 ;; 1012 ;;
1013hppa*64*-*-hpux11*) 1013hppa*64*-*-hpux11*)
1014 target_cpu_default="MASK_PA_11|MASK_PA_20" 1014 target_cpu_default="MASK_PA_11|MASK_PA_20"
1015 if test x$gnu_ld = xyes 1015 if test x$gnu_ld = xyes
1016 then 1016 then
1017 target_cpu_default="${target_cpu_default}|MASK_GNU_LD" 1017 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1018 fi 1018 fi
1019 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \ 1019 tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h \
1020 pa/pa64-regs.h pa/pa-hpux.h pa/pa-hpux1010.h \ 1020 pa/pa64-regs.h pa/pa-hpux.h pa/pa-hpux1010.h \
1021 pa/pa-hpux11.h" 1021 pa/pa-hpux11.h"
1022 case ${target} in 1022 case ${target} in
1023 *-*-hpux11.[1-9]*) 1023 *-*-hpux11.[1-9]*)
1024 tm_file="${tm_file} pa/pa-hpux1111.h pa/pa-64.h pa/pa64-hpux.h" 1024 tm_file="${tm_file} pa/pa-hpux1111.h pa/pa-64.h pa/pa64-hpux.h"
1025 extra_options="${extra_options} pa/pa-hpux1111.opt" 1025 extra_options="${extra_options} pa/pa-hpux1111.opt"
1026 ;; 1026 ;;
1027 *) 1027 *)
1028 tm_file="${tm_file} pa/pa-64.h pa/pa64-hpux.h" 1028 tm_file="${tm_file} pa/pa-64.h pa/pa64-hpux.h"
1029 ;; 1029 ;;
1030 esac 1030 esac
1031 extra_options="${extra_options} pa/pa-hpux.opt \ 1031 extra_options="${extra_options} pa/pa-hpux.opt \
1032 pa/pa-hpux1010.opt pa/pa64-hpux.opt" 1032 pa/pa-hpux1010.opt pa/pa64-hpux.opt"
1033 need_64bit_hwint=yes 1033 need_64bit_hwint=yes
1034 tmake_file="pa/t-pa64 pa/t-pa-hpux pa/t-hpux-shlib" 1034 tmake_file="pa/t-pa64 pa/t-pa-hpux pa/t-hpux-shlib"
1035 # Set the libgcc version number 1035 # Set the libgcc version number
1036 if test x$sjlj = x1; then 1036 if test x$sjlj = x1; then
1037 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" 1037 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
1038 else 1038 else
1039 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" 1039 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
1040 fi 1040 fi
1041 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \ 1041 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
1042 libgcc_stub.a" 1042 libgcc_stub.a"
1043 case x${enable_threads} in 1043 case x${enable_threads} in
1044 x | xyes | xposix ) 1044 x | xyes | xposix )
1045 thread_file=posix 1045 thread_file=posix
1046 ;; 1046 ;;
1047 esac 1047 esac
1048 gas=yes 1048 gas=yes
1049 case ${target} in 1049 case ${target} in
1050 *-*-hpux11.[01]*) 1050 *-*-hpux11.[01]*)
1051 use_gcc_stdint=provide 1051 use_gcc_stdint=provide
1052 tm_file="${tm_file} hpux-stdint.h" 1052 tm_file="${tm_file} hpux-stdint.h"
1053 ;; 1053 ;;
1054 *-*-hpux11.[23]*) 1054 *-*-hpux11.[23]*)
1055 use_gcc_stdint=wrap 1055 use_gcc_stdint=wrap
1056 tm_file="${tm_file} hpux-stdint.h" 1056 tm_file="${tm_file} hpux-stdint.h"
1057 ;; 1057 ;;
1058 esac 1058 esac
1059 ;; 1059 ;;
1060hppa[12]*-*-hpux11*) 1060hppa[12]*-*-hpux11*)
1061 case ${target} in 1061 case ${target} in
1062 hppa1.1-*-* | hppa2*-*-*) 1062 hppa1.1-*-* | hppa2*-*-*)
1063 target_cpu_default="MASK_PA_11" 1063 target_cpu_default="MASK_PA_11"
1064 ;; 1064 ;;
1065 esac 1065 esac
1066 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h \ 1066 tm_file="${tm_file} pa/pa32-regs.h dbxelf.h pa/som.h \
1067 pa/pa-hpux.h pa/pa-hpux1010.h pa/pa-hpux11.h" 1067 pa/pa-hpux.h pa/pa-hpux1010.h pa/pa-hpux11.h"
1068 extra_options="${extra_options} pa/pa-hpux.opt pa/pa-hpux1010.opt" 1068 extra_options="${extra_options} pa/pa-hpux.opt pa/pa-hpux1010.opt"
1069 case ${target} in 1069 case ${target} in
1070 *-*-hpux11.[1-9]*) 1070 *-*-hpux11.[1-9]*)
1071 tm_file="${tm_file} pa/pa-hpux1111.h" 1071 tm_file="${tm_file} pa/pa-hpux1111.h"
1072 extra_options="${extra_options} pa/pa-hpux1111.opt" 1072 extra_options="${extra_options} pa/pa-hpux1111.opt"
1073 ;; 1073 ;;
1074 esac 1074 esac
1075 tmake_file="pa/t-pa-hpux11 pa/t-pa-hpux pa/t-hpux-shlib" 1075 tmake_file="pa/t-pa-hpux11 pa/t-pa-hpux pa/t-hpux-shlib"
1076 # Set the libgcc version number 1076 # Set the libgcc version number
1077 if test x$sjlj = x1; then 1077 if test x$sjlj = x1; then
1078 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver" 1078 tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
1079 else 1079 else
1080 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver" 1080 tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
1081 fi 1081 fi
1082 extra_parts="libgcc_stub.a" 1082 extra_parts="libgcc_stub.a"
1083 case x${enable_threads} in 1083 case x${enable_threads} in
1084 x | xyes | xposix ) 1084 x | xyes | xposix )
1085 thread_file=posix 1085 thread_file=posix
1086 ;; 1086 ;;
1087 esac 1087 esac
1088 use_collect2=yes 1088 use_collect2=yes
1089 gas=yes 1089 gas=yes
1090 case ${target} in 1090 case ${target} in
1091 *-*-hpux11.[01]*) 1091 *-*-hpux11.[01]*)
1092 use_gcc_stdint=provide 1092 use_gcc_stdint=provide
1093 tm_file="${tm_file} hpux-stdint.h" 1093 tm_file="${tm_file} hpux-stdint.h"
1094 ;; 1094 ;;
1095 *-*-hpux11.[23]*) 1095 *-*-hpux11.[23]*)
1096 use_gcc_stdint=wrap 1096 use_gcc_stdint=wrap
1097 tm_file="${tm_file} hpux-stdint.h" 1097 tm_file="${tm_file} hpux-stdint.h"
1098 ;; 1098 ;;
1099 esac 1099 esac
1100 ;; 1100 ;;
1101i[34567]86-*-darwin*) 1101i[34567]86-*-darwin*)
1102 need_64bit_hwint=yes 1102 need_64bit_hwint=yes
1103 need_64bit_isa=yes 1103 need_64bit_isa=yes
1104 1104
1105 # This is so that '.../configure && make' doesn't fail due to 1105 # This is so that '.../configure && make' doesn't fail due to
1106 # config.guess deciding that the configuration is i386-*-darwin* and 1106 # config.guess deciding that the configuration is i386-*-darwin* and
1107 # then this file using that to set --with-cpu=i386 which has no -m64 1107 # then this file using that to set --with-cpu=i386 which has no -m64
1108 # support. 1108 # support.
1109 with_cpu=${with_cpu:-generic} 1109 with_cpu=${with_cpu:-generic}
1110 tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" 1110 tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
1111 lto_binary_reader=lto-macho 1111 lto_binary_reader=lto-macho
1112 ;; 1112 ;;
1113x86_64-*-darwin*) 1113x86_64-*-darwin*)
1114 with_cpu=${with_cpu:-generic} 1114 with_cpu=${with_cpu:-generic}
1115 tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm" 1115 tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
1116 tm_file="${tm_file} ${cpu_type}/darwin64.h" 1116 tm_file="${tm_file} ${cpu_type}/darwin64.h"
1117 lto_binary_reader=lto-macho 1117 lto_binary_reader=lto-macho
1118 ;; 1118 ;;
1119i[34567]86-*-elf*) 1119i[34567]86-*-elf*)
1120 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h" 1120 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
1121 tmake_file="${tmake_file} i386/t-i386elf t-svr4" 1121 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
1122 ;; 1122 ;;
1123x86_64-*-elf*) 1123x86_64-*-elf*)
1124 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h" 1124 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
1125 tmake_file="${tmake_file} i386/t-i386elf t-svr4" 1125 tmake_file="${tmake_file} i386/t-i386elf t-svr4"
1126 ;; 1126 ;;
1127i[34567]86-*-freebsd*) 1127i[34567]86-*-freebsd*)
1128 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" 1128 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
1129 ;; 1129 ;;
1130x86_64-*-freebsd*) 1130x86_64-*-freebsd*)
1131 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h" 1131 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
1132 tmake_file="${tmake_file} i386/t-crtstuff" 1132 tmake_file="${tmake_file} i386/t-crtstuff"
1133 ;; 1133 ;;
1134i[34567]86-*-netbsdelf*) 1134i[34567]86-*-netbsdelf*)
1135 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h" 1135 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
1136 tmake_file="${tmake_file} i386/t-crtstuff" 1136 tmake_file="${tmake_file} i386/t-crtstuff"
1137 ;; 1137 ;;
1138i[34567]86-*-netbsd*) 1138i[34567]86-*-netbsd*)
1139 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h" 1139 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
1140 tmake_file="${tmake_file} t-netbsd" 1140 tmake_file="${tmake_file} t-netbsd"
1141 extra_parts="" 1141 extra_parts=""
1142 use_collect2=yes 1142 use_collect2=yes
1143 ;; 1143 ;;
1144x86_64-*-netbsd*) 1144x86_64-*-netbsd*)
1145 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h" 1145 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
1146 tmake_file="${tmake_file} i386/t-netbsd64" 1146 tmake_file="${tmake_file} i386/t-netbsd64"
1147 ;; 1147 ;;
1148i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) 1148i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
1149 tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h" 1149 tm_file="i386/i386.h i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h openbsd-oldgas.h openbsd.h i386/openbsd.h"
1150 # needed to unconfuse gdb 1150 # needed to unconfuse gdb
1151 tmake_file="${tmake_file} t-libc-ok t-openbsd i386/t-openbsd" 1151 tmake_file="${tmake_file} t-libc-ok t-openbsd i386/t-openbsd"
1152 # we need collect2 until our bug is fixed... 1152 # we need collect2 until our bug is fixed...
1153 use_collect2=yes 1153 use_collect2=yes
1154 ;; 1154 ;;
1155i[34567]86-*-openbsd*) 1155i[34567]86-*-openbsd*)
1156 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h" 1156 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h"
1157 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h" 1157 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h"
1158 gas=yes 1158 gas=yes
1159 gnu_ld=yes 1159 gnu_ld=yes
1160 ;; 1160 ;;
1161i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu) 1161i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
1162 # Intel 80386's running GNU/* 1162 # Intel 80386's running GNU/*
1163 # with ELF format using glibc 2 1163 # with ELF format using glibc 2
1164 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h" 1164 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h"
1165 case ${target} in 1165 case ${target} in
1166 i[34567]86-*-linux*) 1166 i[34567]86-*-linux*)
1167 if test x$enable_targets = xall; then 1167 if test x$enable_targets = xall; then
1168 tm_file="${tm_file} i386/x86-64.h i386/linux64.h" 1168 tm_file="${tm_file} i386/x86-64.h i386/linux64.h"
1169 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1169 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1170 tmake_file="${tmake_file} i386/t-linux64" 1170 tmake_file="${tmake_file} i386/t-linux64"
1171 need_64bit_hwint=yes 1171 need_64bit_hwint=yes
1172 need_64bit_isa=yes 1172 need_64bit_isa=yes
1173 case X"${with_cpu}" in 1173 case X"${with_cpu}" in
1174 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3) 1174 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1175 ;; 1175 ;;
1176 X) 1176 X)
1177 if test x$with_cpu_64 = x; then 1177 if test x$with_cpu_64 = x; then
1178 with_cpu_64=generic 1178 with_cpu_64=generic
1179 fi 1179 fi
1180 ;; 1180 ;;
1181 *) 1181 *)
1182 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1182 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1183 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2 1183 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1184 exit 1 1184 exit 1
1185 ;; 1185 ;;
1186 esac 1186 esac
1187 else 1187 else
1188 tm_file="${tm_file} i386/linux.h" 1188 tm_file="${tm_file} i386/linux.h"
1189 fi 1189 fi
1190 ;; 1190 ;;
1191 i[34567]86-*-knetbsd*-gnu) tm_file="${tm_file} i386/linux.h knetbsd-gnu.h i386/knetbsd-gnu.h" ;; 1191 i[34567]86-*-knetbsd*-gnu) tm_file="${tm_file} i386/linux.h knetbsd-gnu.h i386/knetbsd-gnu.h" ;;
1192 i[34567]86-*-kfreebsd*-gnu) tm_file="${tm_file} i386/linux.h kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;; 1192 i[34567]86-*-kfreebsd*-gnu) tm_file="${tm_file} i386/linux.h kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;;
1193 i[34567]86-*-kopensolaris*-gnu) tm_file="${tm_file} i386/linux.h kopensolaris-gnu.h i386/kopensolaris-gnu.h" ;; 1193 i[34567]86-*-kopensolaris*-gnu) tm_file="${tm_file} i386/linux.h kopensolaris-gnu.h i386/kopensolaris-gnu.h" ;;
1194 i[34567]86-*-gnu*) tm_file="$tm_file i386/linux.h gnu.h i386/gnu.h";; 1194 i[34567]86-*-gnu*) tm_file="$tm_file i386/linux.h gnu.h i386/gnu.h";;
1195 esac 1195 esac
1196 tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules" 1196 tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"
1197 ;; 1197 ;;
1198x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) 1198x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
1199 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h \ 1199 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h \
1200 i386/x86-64.h i386/linux64.h" 1200 i386/x86-64.h i386/linux64.h"
1201 case ${target} in 1201 case ${target} in
1202 x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h" ;; 1202 x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h" ;;
1203 x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;; 1203 x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;;
1204 esac 1204 esac
1205 tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules" 1205 tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"
1206 ;; 1206 ;;
1207i[34567]86-pc-msdosdjgpp*) 1207i[34567]86-pc-msdosdjgpp*)
1208 xm_file=i386/xm-djgpp.h 1208 xm_file=i386/xm-djgpp.h
1209 tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h" 1209 tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
1210 tmake_file="${tmake_file} i386/t-djgpp" 1210 tmake_file="${tmake_file} i386/t-djgpp"
1211 extra_options="${extra_options} i386/djgpp.opt" 1211 extra_options="${extra_options} i386/djgpp.opt"
1212 gnu_ld=yes 1212 gnu_ld=yes
1213 gas=yes 1213 gas=yes
1214 use_gcc_stdint=wrap 1214 use_gcc_stdint=wrap
1215 ;; 1215 ;;
1216i[34567]86-*-lynxos*) 1216i[34567]86-*-lynxos*)
1217 xm_defines=POSIX 1217 xm_defines=POSIX
1218 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/lynx.h lynx.h" 1218 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/lynx.h lynx.h"
1219 tmake_file="${tmake_file} i386/t-crtstuff t-lynx" 1219 tmake_file="${tmake_file} i386/t-crtstuff t-lynx"
1220 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" 1220 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1221 extra_options="${extra_options} lynx.opt" 1221 extra_options="${extra_options} lynx.opt"
1222 thread_file=lynx 1222 thread_file=lynx
1223 gnu_ld=yes 1223 gnu_ld=yes
1224 gas=yes 1224 gas=yes
1225 ;; 1225 ;;
1226i[3456x]86-*-netware*) 1226i[3456x]86-*-netware*)
1227 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h tm-dwarf2.h i386/netware.h" 1227 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h tm-dwarf2.h i386/netware.h"
1228 tmake_file="${tmake_file} i386/t-netware" 1228 tmake_file="${tmake_file} i386/t-netware"
1229 extra_objs=netware.o 1229 extra_objs=netware.o
1230 case /${with_ld} in 1230 case /${with_ld} in
1231 */nwld) 1231 */nwld)
1232 extra_objs="$extra_objs nwld.o" 1232 extra_objs="$extra_objs nwld.o"
1233 tm_file="${tm_file} i386/nwld.h" 1233 tm_file="${tm_file} i386/nwld.h"
1234 tmake_file="${tmake_file} i386/t-nwld" 1234 tmake_file="${tmake_file} i386/t-nwld"
1235 extra_parts="crt0.o libgcc.def libc.def libcpre.def posixpre.def" 1235 extra_parts="crt0.o libgcc.def libc.def libcpre.def posixpre.def"
1236 ;; 1236 ;;
1237 esac 1237 esac
1238 case x${enable_threads} in 1238 case x${enable_threads} in
1239 x | xyes | xposix) thread_file='posix';; 1239 x | xyes | xposix) thread_file='posix';;
1240 xnks) thread_file='nks';; 1240 xnks) thread_file='nks';;
1241 xno) ;; 1241 xno) ;;
1242 *) echo 'Unknown thread configuration for NetWare' >&2; exit 1;; 1242 *) echo 'Unknown thread configuration for NetWare' >&2; exit 1;;
1243 esac 1243 esac
1244 ;; 1244 ;;
1245i[34567]86-*-nto-qnx*) 1245i[34567]86-*-nto-qnx*)
1246 tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h svr4.h i386/unix.h i386/nto.h" 1246 tm_file="${tm_file} i386/att.h dbxelf.h tm-dwarf2.h elfos.h svr4.h i386/unix.h i386/nto.h"
1247 tmake_file="${tmake_file} i386/t-nto" 1247 tmake_file="${tmake_file} i386/t-nto"
1248 gnu_ld=yes 1248 gnu_ld=yes
1249 gas=yes 1249 gas=yes
1250 ;; 1250 ;;
1251i[34567]86-*-rtems*) 1251i[34567]86-*-rtems*)
1252 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h" 1252 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/rtemself.h rtems.h newlib-stdint.h"
1253 extra_parts="crtbegin.o crtend.o crti.o crtn.o" 1253 extra_parts="crtbegin.o crtend.o crti.o crtn.o"
1254 tmake_file="${tmake_file} i386/t-rtems-i386 i386/t-crtstuff t-rtems" 1254 tmake_file="${tmake_file} i386/t-rtems-i386 i386/t-crtstuff t-rtems"
1255 ;; 1255 ;;
1256i[34567]86-*-solaris2*) 1256i[34567]86-*-solaris2*)
1257 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h" 1257 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h"
1258 # Set default arch_32 to pentium4, tune_32 to generic like the other 1258 # Set default arch_32 to pentium4, tune_32 to generic like the other
1259 # i386 targets, although config.guess defaults to i386-pc-solaris2*. 1259 # i386 targets, although config.guess defaults to i386-pc-solaris2*.
1260 case ${target} in 1260 case ${target} in
1261 *-*-solaris2.[89]*) 1261 *-*-solaris2.[89]*)
1262 # Solaris 8 and 9/x86 cannot execute SSE/SSE2 instructions by 1262 # Solaris 8 and 9/x86 cannot execute SSE/SSE2 instructions by
1263 # default. 1263 # default.
1264 with_arch_32=${with_arch_32:-pentiumpro} 1264 with_arch_32=${with_arch_32:-pentiumpro}
1265 ;; 1265 ;;
1266 *) 1266 *)
1267 with_arch_32=${with_arch_32:-pentium4} 1267 with_arch_32=${with_arch_32:-pentium4}
1268 ;; 1268 ;;
1269 esac 1269 esac
1270 with_tune_32=${with_tune_32:-generic} 1270 with_tune_32=${with_tune_32:-generic}
1271 case ${target} in 1271 case ${target} in
1272 *-*-solaris2.1[0-9]*) 1272 *-*-solaris2.1[0-9]*)
1273 tm_file="${tm_file} sol2-10.h" 1273 tm_file="${tm_file} sol2-10.h"
1274 ;; 1274 ;;
1275 esac 1275 esac
1276 tm_file="${tm_file} i386/sol2.h" 1276 tm_file="${tm_file} i386/sol2.h"
1277 if test x$gnu_ld = xyes; then 1277 if test x$gnu_ld = xyes; then
1278 tm_file="${tm_file} sol2-gld.h" 1278 tm_file="${tm_file} sol2-gld.h"
1279 fi 1279 fi
1280 if test x$gas = xyes; then 1280 if test x$gas = xyes; then
1281 tm_file="${tm_file} i386/sol2-gas.h" 1281 tm_file="${tm_file} i386/sol2-gas.h"
1282 fi 1282 fi
1283 tmake_file="${tmake_file} t-sol2 t-svr4" 1283 tmake_file="${tmake_file} t-sol2 t-svr4"
1284 c_target_objs="${c_target_objs} sol2-c.o" 1284 c_target_objs="${c_target_objs} sol2-c.o"
1285 cxx_target_objs="${cxx_target_objs} sol2-c.o" 1285 cxx_target_objs="${cxx_target_objs} sol2-c.o"
1286 extra_objs="sol2.o" 1286 extra_objs="sol2.o"
1287 tm_p_file="${tm_p_file} sol2-protos.h" 1287 tm_p_file="${tm_p_file} sol2-protos.h"
1288 if test x$gnu_ld = xyes; then 1288 if test x$gnu_ld = xyes; then
1289 tmake_file="$tmake_file t-slibgcc-elf-ver" 1289 tmake_file="$tmake_file t-slibgcc-elf-ver"
1290 tm_defines="${tm_defines} TARGET_GNU_LD=1" 1290 tm_defines="${tm_defines} TARGET_GNU_LD=1"
1291 else 1291 else
1292 tmake_file="$tmake_file t-slibgcc-sld" 1292 tmake_file="$tmake_file t-slibgcc-sld"
1293 fi 1293 fi
1294 if test x$gas = xyes; then 1294 if test x$gas = xyes; then
1295 tm_file="usegas.h ${tm_file}" 1295 tm_file="usegas.h ${tm_file}"
1296 fi 1296 fi
1297 tm_file="$tm_file tm-dwarf2.h" 1297 tm_file="$tm_file tm-dwarf2.h"
1298 case ${target} in 1298 case ${target} in
1299 *-*-solaris2.1[0-9]*) 1299 *-*-solaris2.1[0-9]*)
1300 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h" 1300 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
1301 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1301 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1302 tmake_file="$tmake_file i386/t-sol2-10" 1302 tmake_file="$tmake_file i386/t-sol2-10"
1303 # i386/t-crtstuff only affects libgcc. Its inclusion 1303 # i386/t-crtstuff only affects libgcc. Its inclusion
1304 # depends on a runtime test and is thus performed in 1304 # depends on a runtime test and is thus performed in
1305 # libgcc/configure.ac instead. 1305 # libgcc/configure.ac instead.
1306 need_64bit_hwint=yes 1306 need_64bit_hwint=yes
1307 need_64bit_isa=yes 1307 need_64bit_isa=yes
1308 use_gcc_stdint=wrap 1308 use_gcc_stdint=wrap
1309 case X"${with_cpu}" in 1309 case X"${with_cpu}" in
1310 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3) 1310 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1311 ;; 1311 ;;
1312 X) 1312 X)
1313 if test x$with_cpu_64 = x; then 1313 if test x$with_cpu_64 = x; then
1314 with_cpu_64=generic 1314 with_cpu_64=generic
1315 fi 1315 fi
1316 ;; 1316 ;;
1317 *) 1317 *)
1318 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1318 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1319 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2 1319 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1320 exit 1 1320 exit 1
1321 ;; 1321 ;;
1322 esac 1322 esac
1323 ;; 1323 ;;
1324 *) 1324 *)
1325 use_gcc_stdint=provide 1325 use_gcc_stdint=provide
1326 ;; 1326 ;;
1327 esac 1327 esac
1328 case ${enable_threads}:${have_pthread_h}:${have_thread_h} in 1328 case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
1329 "":yes:* | yes:yes:* ) 1329 "":yes:* | yes:yes:* )
1330 thread_file=posix 1330 thread_file=posix
1331 ;; 1331 ;;
1332 "":*:yes | yes:*:yes ) 1332 "":*:yes | yes:*:yes )
1333 thread_file=solaris 1333 thread_file=solaris
1334 ;; 1334 ;;
1335 esac 1335 esac
1336 ;; 1336 ;;
1337i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) 1337i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
1338 tm_file="${tm_file} i386/unix.h i386/att.h elfos.h svr4.h vx-common.h" 1338 tm_file="${tm_file} i386/unix.h i386/att.h elfos.h svr4.h vx-common.h"
1339 case ${target} in 1339 case ${target} in
1340 *-vxworksae*) 1340 *-vxworksae*)
1341 tm_file="${tm_file} vxworksae.h i386/vx-common.h i386/vxworksae.h" 1341 tm_file="${tm_file} vxworksae.h i386/vx-common.h i386/vxworksae.h"
1342 tmake_file="${tmake_file} i386/t-vxworks i386/t-vxworksae" 1342 tmake_file="${tmake_file} i386/t-vxworks i386/t-vxworksae"
1343 ;; 1343 ;;
1344 *) 1344 *)
1345 tm_file="${tm_file} vxworks.h i386/vx-common.h i386/vxworks.h" 1345 tm_file="${tm_file} vxworks.h i386/vx-common.h i386/vxworks.h"
1346 tmake_file="${tmake_file} i386/t-vxworks" 1346 tmake_file="${tmake_file} i386/t-vxworks"
1347 ;; 1347 ;;
1348 esac 1348 esac
1349 ;; 1349 ;;
1350i[34567]86-*-pe | i[34567]86-*-cygwin*) 1350i[34567]86-*-pe | i[34567]86-*-cygwin*)
1351 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h" 1351 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h"
1352 xm_file=i386/xm-cygwin.h 1352 xm_file=i386/xm-cygwin.h
1353 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h 1353 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
1354 if test x$sjlj = x0; then 1354 if test x$sjlj = x0; then
1355 tmake_eh_file="i386/t-dw2-eh" 1355 tmake_eh_file="i386/t-dw2-eh"
1356 else 1356 else
1357 tmake_eh_file="i386/t-sjlj-eh" 1357 tmake_eh_file="i386/t-sjlj-eh"
1358 fi 1358 fi
1359 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming i386/t-cygwin" 1359 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming i386/t-cygwin"
1360 target_gtfiles="\$(srcdir)/config/i386/winnt.c" 1360 target_gtfiles="\$(srcdir)/config/i386/winnt.c"
1361 extra_options="${extra_options} i386/cygming.opt" 1361 extra_options="${extra_options} i386/cygming.opt"
1362 extra_objs="winnt.o winnt-stubs.o" 1362 extra_objs="winnt.o winnt-stubs.o"
1363 c_target_objs="${c_target_objs} cygwin2.o msformat-c.o" 1363 c_target_objs="${c_target_objs} cygwin2.o msformat-c.o"
1364 cxx_target_objs="${cxx_target_objs} cygwin2.o winnt-cxx.o msformat-c.o" 1364 cxx_target_objs="${cxx_target_objs} cygwin2.o winnt-cxx.o msformat-c.o"
1365 extra_gcc_objs=cygwin1.o 1365 extra_gcc_objs=cygwin1.o
1366 if test x$enable_threads = xyes; then 1366 if test x$enable_threads = xyes; then
1367 thread_file='posix' 1367 thread_file='posix'
1368 fi 1368 fi
1369 use_gcc_stdint=wrap 1369 use_gcc_stdint=wrap
1370 lto_binary_reader=lto-coff 1370 lto_binary_reader=lto-coff
1371 ;; 1371 ;;
1372i[34567]86-*-mingw* | x86_64-*-mingw*) 1372i[34567]86-*-mingw* | x86_64-*-mingw*)
1373 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h" 1373 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/mingw32.h"
1374 xm_file=i386/xm-mingw32.h 1374 xm_file=i386/xm-mingw32.h
1375 case ${target} in 1375 case ${target} in
1376 x86_64-*-* | *-w64-*) 1376 x86_64-*-* | *-w64-*)
1377 need_64bit_hwint=yes 1377 need_64bit_hwint=yes
1378 need_64bit_isa=yes 1378 need_64bit_isa=yes
1379 ;; 1379 ;;
1380 *) 1380 *)
1381 ;; 1381 ;;
1382 esac 1382 esac
1383 # This makes the logic if mingw's or the w64 feature set has to be used 1383 # This makes the logic if mingw's or the w64 feature set has to be used
1384 case ${target} in 1384 case ${target} in
1385 *-w64-*) 1385 *-w64-*)
1386 tm_file="${tm_file} i386/mingw-w64.h" 1386 tm_file="${tm_file} i386/mingw-w64.h"
1387 if test x$enable_targets = xall; then 1387 if test x$enable_targets = xall; then
1388 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1388 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1389 case X"${with_cpu}" in 1389 case X"${with_cpu}" in
1390 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3) 1390 Xgeneric|Xatom|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
1391 ;; 1391 ;;
1392 X) 1392 X)
1393 if test x$with_cpu_64 = x; then 1393 if test x$with_cpu_64 = x; then
1394 with_cpu_64=generic 1394 with_cpu_64=generic
1395 fi 1395 fi
1396 ;; 1396 ;;
1397 *) 1397 *)
1398 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 1398 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1399 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2 1399 echo "generic atom core2 nocona x86-64 amdfam10 barcelona k8 opteron athlon64 athlon-fx athlon64-sse3 k8-sse3 opteron-sse3" 1>&2
1400 exit 1 1400 exit 1
1401 ;; 1401 ;;
1402 esac 1402 esac
1403 fi 1403 fi
1404 ;; 1404 ;;
1405 *) 1405 *)
1406 ;; 1406 ;;
1407 esac 1407 esac
1408 tm_file="${tm_file} i386/mingw-stdint.h" 1408 tm_file="${tm_file} i386/mingw-stdint.h"
1409 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h 1409 # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
1410 if test x$sjlj = x0; then 1410 if test x$sjlj = x0; then
1411 tmake_eh_file="i386/t-dw2-eh" 1411 tmake_eh_file="i386/t-dw2-eh"
1412 else 1412 else
1413 tmake_eh_file="i386/t-sjlj-eh" 1413 tmake_eh_file="i386/t-sjlj-eh"
1414 fi 1414 fi
1415 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming" 1415 tmake_file="${tmake_file} ${tmake_eh_file} i386/t-cygming"
1416 case ${target} in 1416 case ${target} in
1417 *-w64-*) 1417 *-w64-*)
1418 tmake_file="${tmake_file} i386/t-mingw-w64" 1418 tmake_file="${tmake_file} i386/t-mingw-w64"
1419 ;; 1419 ;;
1420 *) 1420 *)
1421 tmake_file="${tmake_file} i386/t-mingw32" 1421 tmake_file="${tmake_file} i386/t-mingw32"
1422 ;; 1422 ;;
1423 esac 1423 esac
1424 target_gtfiles="\$(srcdir)/config/i386/winnt.c" 1424 target_gtfiles="\$(srcdir)/config/i386/winnt.c"
1425 extra_options="${extra_options} i386/cygming.opt i386/mingw.opt" 1425 extra_options="${extra_options} i386/cygming.opt i386/mingw.opt"
1426 case ${target} in 1426 case ${target} in
1427 *-w64-*) 1427 *-w64-*)
1428 extra_options="${extra_options} i386/mingw-w64.opt" 1428 extra_options="${extra_options} i386/mingw-w64.opt"
1429 ;; 1429 ;;
1430 *) 1430 *)
1431 ;; 1431 ;;
1432 esac 1432 esac
1433 extra_objs="winnt.o winnt-stubs.o" 1433 extra_objs="winnt.o winnt-stubs.o"
1434 c_target_objs="${c_target_objs} msformat-c.o" 1434 c_target_objs="${c_target_objs} msformat-c.o"
1435 cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o" 1435 cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
1436 default_use_cxa_atexit=yes 1436 default_use_cxa_atexit=yes
1437 use_gcc_stdint=wrap 1437 use_gcc_stdint=wrap
1438 lto_binary_reader=lto-coff 1438 lto_binary_reader=lto-coff
1439 case ${enable_threads} in 1439 case ${enable_threads} in
1440 "" | yes | win32) thread_file='win32' 1440 "" | yes | win32) thread_file='win32'
1441 tmake_file="${tmake_file} i386/t-gthr-win32" 1441 tmake_file="${tmake_file} i386/t-gthr-win32"
1442 ;; 1442 ;;
1443 esac 1443 esac
1444 case ${target} in 1444 case ${target} in
1445 x86_64-*-mingw*) 1445 x86_64-*-mingw*)
1446 tmake_file="${tmake_file} i386/t-crtfm" 1446 tmake_file="${tmake_file} i386/t-crtfm"
1447 ;; 1447 ;;
1448 *) 1448 *)
1449 ;; 1449 ;;
1450 esac 1450 esac
1451 case ${target} in 1451 case ${target} in
1452 *mingw32crt*) 1452 *mingw32crt*)
1453 tm_file="${tm_file} i386/crtdll.h" 1453 tm_file="${tm_file} i386/crtdll.h"
1454 ;; 1454 ;;
1455 *mingw32msv* | *mingw*) 1455 *mingw32msv* | *mingw*)
1456 ;; 1456 ;;
1457 esac 1457 esac
1458 ;; 1458 ;;
1459i[34567]86-*-interix3*) 1459i[34567]86-*-interix3*)
1460 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h" 1460 tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/i386-interix.h i386/i386-interix3.h interix.h interix3.h"
1461 tmake_file="${tmake_file} i386/t-interix" 1461 tmake_file="${tmake_file} i386/t-interix"
1462 extra_objs=winnt.o 1462 extra_objs=winnt.o
1463 target_gtfiles="\$(srcdir)/config/i386/winnt.c" 1463 target_gtfiles="\$(srcdir)/config/i386/winnt.c"
1464 if test x$enable_threads = xyes ; then 1464 if test x$enable_threads = xyes ; then
1465 thread_file='posix' 1465 thread_file='posix'
1466 fi 1466 fi
1467 if test x$stabs = xyes ; then 1467 if test x$stabs = xyes ; then
1468 tm_file="${tm_file} dbxcoff.h" 1468 tm_file="${tm_file} dbxcoff.h"
1469 fi 1469 fi
1470 ;; 1470 ;;
1471ia64*-*-elf*) 1471ia64*-*-elf*)
1472 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h ia64/sysv4.h ia64/elf.h" 1472 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h ia64/sysv4.h ia64/elf.h"
1473 tmake_file="ia64/t-ia64" 1473 tmake_file="ia64/t-ia64"
1474 target_cpu_default="0" 1474 target_cpu_default="0"
1475 if test x$gas = xyes 1475 if test x$gas = xyes
1476 then 1476 then
1477 target_cpu_default="${target_cpu_default}|MASK_GNU_AS" 1477 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1478 fi 1478 fi
1479 if test x$gnu_ld = xyes 1479 if test x$gnu_ld = xyes
1480 then 1480 then
1481 target_cpu_default="${target_cpu_default}|MASK_GNU_LD" 1481 target_cpu_default="${target_cpu_default}|MASK_GNU_LD"
1482 fi 1482 fi
1483 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" 1483 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1484 ;; 1484 ;;
1485ia64*-*-netbsd*) 1485ia64*-*-netbsd*)
1486 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h ia64/sysv4.h ia64/netbsd.h" 1486 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h ia64/sysv4.h ia64/netbsd.h"
1487 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" 1487 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1488 tmake_file="${tmake_file} ia64/t-ia64" 1488 tmake_file="${tmake_file} ia64/t-ia64"
1489 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" 1489 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1490 ;; 1490 ;;
1491ia64*-*-freebsd*) 1491ia64*-*-freebsd*)
1492 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h" 1492 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} ia64/sysv4.h ia64/freebsd.h"
1493 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" 1493 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1494 tmake_file="${tmake_file} ia64/t-ia64" 1494 tmake_file="${tmake_file} ia64/t-ia64"
1495 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" 1495 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1496 ;; 1496 ;;
1497ia64*-*-linux*) 1497ia64*-*-linux*)
1498 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ia64/sysv4.h ia64/linux.h" 1498 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ia64/sysv4.h ia64/linux.h"
1499 tmake_file="${tmake_file} ia64/t-ia64 t-libunwind ia64/t-glibc" 1499 tmake_file="${tmake_file} ia64/t-ia64 t-libunwind ia64/t-glibc"
1500 if test x$with_system_libunwind != xyes ; then 1500 if test x$with_system_libunwind != xyes ; then
1501 tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind" 1501 tmake_file="${tmake_file} t-libunwind-elf ia64/t-glibc-libunwind"
1502 fi 1502 fi
1503 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" 1503 target_cpu_default="MASK_GNU_AS|MASK_GNU_LD"
1504 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" 1504 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
1505 ;; 1505 ;;
1506ia64*-*-hpux*) 1506ia64*-*-hpux*)
1507 tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h" 1507 tm_file="${tm_file} dbxelf.h elfos.h svr4.h ia64/sysv4.h ia64/hpux.h"
1508 tmake_file="ia64/t-ia64 ia64/t-hpux" 1508 tmake_file="ia64/t-ia64 ia64/t-hpux"
1509 target_cpu_default="MASK_GNU_AS" 1509 target_cpu_default="MASK_GNU_AS"
1510 case x$enable_threads in 1510 case x$enable_threads in
1511 x | xyes | xposix ) 1511 x | xyes | xposix )
1512 thread_file=posix 1512 thread_file=posix
1513 ;; 1513 ;;
1514 esac 1514 esac
1515 use_collect2=no 1515 use_collect2=no
1516 c_target_objs="ia64-c.o" 1516 c_target_objs="ia64-c.o"
1517 cxx_target_objs="ia64-c.o" 1517 cxx_target_objs="ia64-c.o"
1518 extra_options="${extra_options} ia64/ilp32.opt" 1518 extra_options="${extra_options} ia64/ilp32.opt"
1519 use_gcc_stdint=wrap 1519 use_gcc_stdint=wrap
1520 tm_file="${tm_file} hpux-stdint.h" 1520 tm_file="${tm_file} hpux-stdint.h"
1521 ;; 1521 ;;
1522ia64-hp-*vms*) 1522ia64-hp-*vms*)
1523 tm_file="${tm_file} elfos.h ia64/sysv4.h ia64/elf.h ia64/vms.h ia64/vms64.h" 1523 tm_file="${tm_file} elfos.h ia64/sysv4.h ia64/elf.h ia64/vms.h ia64/vms64.h"
1524 xm_file="vms/xm-vms.h vms/xm-vms64.h" 1524 xm_file="vms/xm-vms.h vms/xm-vms64.h"
1525 tmake_file="vms/t-vms vms/t-vms64 ia64/t-ia64 ia64/t-vms" 1525 tmake_file="vms/t-vms vms/t-vms64 ia64/t-ia64 ia64/t-vms"
1526 xmake_file=vms/x-vms 1526 xmake_file=vms/x-vms
1527 target_cpu_default="0" 1527 target_cpu_default="0"
1528 if test x$gas = xyes 1528 if test x$gas = xyes
1529 then 1529 then
1530 target_cpu_default="${target_cpu_default}|MASK_GNU_AS" 1530 target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
1531 fi 1531 fi
1532 exeext=.exe 1532 exeext=.exe
1533 install_headers_dir=install-headers-cp 1533 install_headers_dir=install-headers-cp
1534 extra_options="${extra_options} vms/vms.opt" 1534 extra_options="${extra_options} vms/vms.opt"
1535 ;; 1535 ;;
1536iq2000*-*-elf*) 1536iq2000*-*-elf*)
1537 tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h" 1537 tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h"
1538 tmake_file=iq2000/t-iq2000 1538 tmake_file=iq2000/t-iq2000
1539 out_file=iq2000/iq2000.c 1539 out_file=iq2000/iq2000.c
1540 md_file=iq2000/iq2000.md 1540 md_file=iq2000/iq2000.md
1541 ;; 1541 ;;
1542lm32-*-elf*) 1542lm32-*-elf*)
1543 tm_file="dbxelf.h elfos.h ${tm_file}" 1543 tm_file="dbxelf.h elfos.h ${tm_file}"
1544 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" 1544 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1545 ;; 1545 ;;
1546lm32-*-rtems*) 1546lm32-*-rtems*)
1547 tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h" 1547 tm_file="dbxelf.h elfos.h ${tm_file} lm32/rtems.h rtems.h newlib-stdint.h"
1548 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" 1548 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1549 tmake_file="${tmake_file} t-rtems" 1549 tmake_file="${tmake_file} t-rtems"
1550 ;; 1550 ;;
1551lm32-*-uclinux*) 1551lm32-*-uclinux*)
1552 tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h" 1552 tm_file="dbxelf.h elfos.h ${tm_file} linux.h lm32/uclinux-elf.h"
1553 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp" 1553 tmake_file="${tmake_file} lm32/t-lm32 lm32/t-fprules-softfp soft-fp/t-softfp"
1554 ;; 1554 ;;
1555m32r-*-elf*) 1555m32r-*-elf*)
1556 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 1556 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
1557 extra_parts="crtinit.o crtfini.o" 1557 extra_parts="crtinit.o crtfini.o"
1558 ;; 1558 ;;
1559m32rle-*-elf*) 1559m32rle-*-elf*)
1560 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h m32r/little.h ${tm_file}" 1560 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h m32r/little.h ${tm_file}"
1561 extra_parts="crtinit.o crtfini.o m32rx/crtinit.o m32rx/crtfini.o" 1561 extra_parts="crtinit.o crtfini.o m32rx/crtinit.o m32rx/crtfini.o"
1562 ;; 1562 ;;
1563m32r-*-rtems*) 1563m32r-*-rtems*)
1564 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h" 1564 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32r/rtems.h rtems.h newlib-stdint.h"
1565 tmake_file="m32r/t-m32r t-rtems" 1565 tmake_file="m32r/t-m32r t-rtems"
1566 extra_parts="crtinit.o crtfini.o" 1566 extra_parts="crtinit.o crtfini.o"
1567 ;; 1567 ;;
1568m32r-*-linux*) 1568m32r-*-linux*)
1569 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h" 1569 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} m32r/linux.h"
1570 # We override the tmake_file for linux -- why? 1570 # We override the tmake_file for linux -- why?
1571 tmake_file="t-slibgcc-elf-ver m32r/t-linux" 1571 tmake_file="t-slibgcc-elf-ver m32r/t-linux"
1572 gnu_ld=yes 1572 gnu_ld=yes
1573 if test x$enable_threads = xyes; then 1573 if test x$enable_threads = xyes; then
1574 thread_file='posix' 1574 thread_file='posix'
1575 fi 1575 fi
1576 ;; 1576 ;;
1577m32rle-*-linux*) 1577m32rle-*-linux*)
1578 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h m32r/little.h ${tm_file} m32r/linux.h" 1578 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h m32r/little.h ${tm_file} m32r/linux.h"
1579 # We override the tmake_file for linux -- why? 1579 # We override the tmake_file for linux -- why?
1580 tmake_file="t-slibgcc-elf-ver m32r/t-linux" 1580 tmake_file="t-slibgcc-elf-ver m32r/t-linux"
1581 gnu_ld=yes 1581 gnu_ld=yes
1582 if test x$enable_threads = xyes; then 1582 if test x$enable_threads = xyes; then
1583 thread_file='posix' 1583 thread_file='posix'
1584 fi 1584 fi
1585 ;; 1585 ;;
1586# m68hc11 and m68hc12 share the same machine description. 1586# m68hc11 and m68hc12 share the same machine description.
1587m68hc11-*-*|m6811-*-*) 1587m68hc11-*-*|m6811-*-*)
1588 tm_file="dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h" 1588 tm_file="dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h"
1589 tm_p_file="m68hc11/m68hc11-protos.h" 1589 tm_p_file="m68hc11/m68hc11-protos.h"
1590 md_file="m68hc11/m68hc11.md" 1590 md_file="m68hc11/m68hc11.md"
1591 out_file="m68hc11/m68hc11.c" 1591 out_file="m68hc11/m68hc11.c"
1592 tmake_file="m68hc11/t-m68hc11" 1592 tmake_file="m68hc11/t-m68hc11"
1593 use_gcc_stdint=wrap 1593 use_gcc_stdint=wrap
1594 ;; 1594 ;;
1595m68hc12-*-*|m6812-*-*) 1595m68hc12-*-*|m6812-*-*)
1596 tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h" 1596 tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h"
1597 tm_p_file="m68hc11/m68hc11-protos.h" 1597 tm_p_file="m68hc11/m68hc11-protos.h"
1598 md_file="m68hc11/m68hc11.md" 1598 md_file="m68hc11/m68hc11.md"
1599 out_file="m68hc11/m68hc11.c" 1599 out_file="m68hc11/m68hc11.c"
1600 tmake_file="m68hc11/t-m68hc11" 1600 tmake_file="m68hc11/t-m68hc11"
1601 extra_options="${extra_options} m68hc11/m68hc11.opt" 1601 extra_options="${extra_options} m68hc11/m68hc11.opt"
1602 use_gcc_stdint=wrap 1602 use_gcc_stdint=wrap
1603 ;; 1603 ;;
1604m68k-*-elf* | fido-*-elf*) 1604m68k-*-elf* | fido-*-elf*)
1605 case ${target} in 1605 case ${target} in
1606 fido-*-elf*) 1606 fido-*-elf*)
1607 # Check that $with_cpu makes sense. 1607 # Check that $with_cpu makes sense.
1608 case $with_cpu in 1608 case $with_cpu in
1609 "" | "fidoa") 1609 "" | "fidoa")
1610 ;; 1610 ;;
1611 *) 1611 *)
1612 echo "Cannot accept --with-cpu=$with_cpu" 1612 echo "Cannot accept --with-cpu=$with_cpu"
1613 exit 1 1613 exit 1
1614 ;; 1614 ;;
1615 esac 1615 esac
1616 with_cpu=fidoa 1616 with_cpu=fidoa
1617 ;; 1617 ;;
1618 *) 1618 *)
1619 default_m68k_cpu=68020 1619 default_m68k_cpu=68020
1620 default_cf_cpu=5206 1620 default_cf_cpu=5206
1621 ;; 1621 ;;
1622 esac 1622 esac
1623 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h newlib-stdint.h m68k/m68kemb.h m68k/m68020-elf.h" 1623 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h newlib-stdint.h m68k/m68kemb.h m68k/m68020-elf.h"
1624 tm_defines="${tm_defines} MOTOROLA=1" 1624 tm_defines="${tm_defines} MOTOROLA=1"
1625 tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-m68kelf" 1625 tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-m68kelf"
1626 # Add multilibs for targets other than fido. 1626 # Add multilibs for targets other than fido.
1627 case ${target} in 1627 case ${target} in
1628 fido-*-elf*) 1628 fido-*-elf*)
1629 ;; 1629 ;;
1630 *) 1630 *)
1631 tmake_file="$tmake_file m68k/t-mlibs" 1631 tmake_file="$tmake_file m68k/t-mlibs"
1632 ;; 1632 ;;
1633 esac 1633 esac
1634 extra_parts="crtbegin.o crtend.o" 1634 extra_parts="crtbegin.o crtend.o"
1635 ;; 1635 ;;
1636m68010-*-netbsdelf* | m68k*-*-netbsdelf*) 1636m68010-*-netbsdelf* | m68k*-*-netbsdelf*)
1637 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h" 1637 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
1638 tm_defines="${tm_defines} MOTOROLA=1 USE_GAS=1" 1638 tm_defines="${tm_defines} MOTOROLA=1 USE_GAS=1"
1639 default_cf_cpu=5475 1639 default_cf_cpu=5475
1640 case ${target} in 1640 case ${target} in
1641 m68010*) 1641 m68010*)
1642 target_cpu_default="0" 1642 target_cpu_default="0"
1643 tmake_file=m68k/t-m68kelf 1643 tmake_file="m68k/t-m68kelf m68k/t-m68010-netbsd"
1644 default_m68k_cpu=68010 1644 default_m68k_cpu=68010
1645 ;; 1645 ;;
1646 *) 1646 *)
1647 default_m68k_cpu=68020 1647 default_m68k_cpu=68020
1648 ;; 1648 ;;
1649 esac 1649 esac
1650 tmake_file="${tmake_file} m68k/t-floatlib" 1650 tmake_file="${tmake_file} m68k/t-floatlib"
1651 ;; 1651 ;;
1652m68k*-*-openbsd*) 1652m68k*-*-openbsd*)
1653 default_m68k_cpu=68020 1653 default_m68k_cpu=68020
1654 default_cf_cpu=5475 1654 default_cf_cpu=5475
1655 # needed to unconfuse gdb 1655 # needed to unconfuse gdb
1656 tm_defines="${tm_defines} OBSD_OLD_GAS" 1656 tm_defines="${tm_defines} OBSD_OLD_GAS"
1657 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h m68k/openbsd.h" 1657 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h m68k/openbsd.h"
1658 tmake_file="t-libc-ok t-openbsd m68k/t-openbsd" 1658 tmake_file="t-libc-ok t-openbsd m68k/t-openbsd"
1659 # we need collect2 until our bug is fixed... 1659 # we need collect2 until our bug is fixed...
1660 use_collect2=yes 1660 use_collect2=yes
1661 ;; 1661 ;;
1662m68k-*-uclinuxoldabi*) # Motorola m68k/ColdFire running uClinux 1662m68k-*-uclinuxoldabi*) # Motorola m68k/ColdFire running uClinux
1663 # with uClibc, using the original 1663 # with uClibc, using the original
1664 # m68k-elf-based ABI 1664 # m68k-elf-based ABI
1665 default_m68k_cpu=68020 1665 default_m68k_cpu=68020
1666 default_cf_cpu=5206 1666 default_cf_cpu=5206
1667 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/uclinux-oldabi.h glibc-stdint.h" 1667 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/uclinux-oldabi.h glibc-stdint.h"
1668 tm_defines="${tm_defines} MOTOROLA=1" 1668 tm_defines="${tm_defines} MOTOROLA=1"
1669 tmake_file="m68k/t-floatlib m68k/t-uclinux" 1669 tmake_file="m68k/t-floatlib m68k/t-uclinux"
1670 ;; 1670 ;;
1671m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux 1671m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux
1672 # with uClibc, using the new GNU/Linux-style 1672 # with uClibc, using the new GNU/Linux-style
1673 # ABI. 1673 # ABI.
1674 default_m68k_cpu=68020 1674 default_m68k_cpu=68020
1675 default_cf_cpu=5206 1675 default_cf_cpu=5206
1676 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h flat.h m68k/linux.h m68k/uclinux.h ./sysroot-suffix.h" 1676 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h flat.h m68k/linux.h m68k/uclinux.h ./sysroot-suffix.h"
1677 tm_defines="${tm_defines} MOTOROLA=1 UCLIBC_DEFAULT=1" 1677 tm_defines="${tm_defines} MOTOROLA=1 UCLIBC_DEFAULT=1"
1678 extra_options="${extra_options} linux.opt" 1678 extra_options="${extra_options} linux.opt"
1679 tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs" 1679 tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs"
1680 ;; 1680 ;;
1681m68k-*-linux*) # Motorola m68k's running GNU/Linux 1681m68k-*-linux*) # Motorola m68k's running GNU/Linux
1682 # with ELF format using glibc 2 1682 # with ELF format using glibc 2
1683 # aka the GNU/Linux C library 6. 1683 # aka the GNU/Linux C library 6.
1684 default_m68k_cpu=68020 1684 default_m68k_cpu=68020
1685 default_cf_cpu=5475 1685 default_cf_cpu=5475
1686 with_arch=${with_arch:-m68k} 1686 with_arch=${with_arch:-m68k}
1687 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h m68k/linux.h ./sysroot-suffix.h" 1687 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h m68k/linux.h ./sysroot-suffix.h"
1688 extra_options="${extra_options} m68k/ieee.opt" 1688 extra_options="${extra_options} m68k/ieee.opt"
1689 tm_defines="${tm_defines} MOTOROLA=1" 1689 tm_defines="${tm_defines} MOTOROLA=1"
1690 tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs" 1690 tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs"
1691 # if not configured with --enable-sjlj-exceptions, bump the 1691 # if not configured with --enable-sjlj-exceptions, bump the
1692 # libgcc version number 1692 # libgcc version number
1693 if test x$sjlj != x1; then 1693 if test x$sjlj != x1; then
1694 tmake_file="$tmake_file m68k/t-slibgcc-elf-ver" 1694 tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
1695 fi 1695 fi
1696 ;; 1696 ;;
1697m68k-*-rtems*) 1697m68k-*-rtems*)
1698 default_m68k_cpu=68020 1698 default_m68k_cpu=68020
1699 default_cf_cpu=5206 1699 default_cf_cpu=5206
1700 tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs" 1700 tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
1701 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h" 1701 tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h newlib-stdint.h"
1702 tm_defines="${tm_defines} MOTOROLA=1" 1702 tm_defines="${tm_defines} MOTOROLA=1"
1703 extra_parts="crtbegin.o crtend.o" 1703 extra_parts="crtbegin.o crtend.o"
1704 ;; 1704 ;;
1705mcore-*-elf) 1705mcore-*-elf)
1706 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} mcore/mcore-elf.h" 1706 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} mcore/mcore-elf.h"
1707 tmake_file=mcore/t-mcore 1707 tmake_file=mcore/t-mcore
1708 inhibit_libc=true 1708 inhibit_libc=true
1709 ;; 1709 ;;
1710mcore-*-pe*) 1710mcore-*-pe*)
1711 tm_file="svr3.h dbxcoff.h newlib-stdint.h ${tm_file} mcore/mcore-pe.h" 1711 tm_file="svr3.h dbxcoff.h newlib-stdint.h ${tm_file} mcore/mcore-pe.h"
1712 tmake_file=mcore/t-mcore-pe 1712 tmake_file=mcore/t-mcore-pe
1713 inhibit_libc=true 1713 inhibit_libc=true
1714 use_gcc_stdint=wrap 1714 use_gcc_stdint=wrap
1715 ;; 1715 ;;
1716mep-*-*) 1716mep-*-*)
1717 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" 1717 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
1718 tmake_file=mep/t-mep 1718 tmake_file=mep/t-mep
1719 extra_parts="crtbegin.o crtend.o" 1719 extra_parts="crtbegin.o crtend.o"
1720 c_target_objs="mep-pragma.o" 1720 c_target_objs="mep-pragma.o"
1721 cxx_target_objs="mep-pragma.o" 1721 cxx_target_objs="mep-pragma.o"
1722 if test -d "${srcdir}/../newlib/libc/include" && 1722 if test -d "${srcdir}/../newlib/libc/include" &&
1723 test "x$with_headers" = x; then 1723 test "x$with_headers" = x; then
1724 with_headers=yes 1724 with_headers=yes
1725 fi 1725 fi
1726 use_gcc_stdint=wrap 1726 use_gcc_stdint=wrap
1727 ;; 1727 ;;
1728mips-sgi-irix[56]*) 1728mips-sgi-irix[56]*)
1729 tm_file="elfos.h ${tm_file} mips/iris.h" 1729 tm_file="elfos.h ${tm_file} mips/iris.h"
1730 tmake_file="mips/t-iris mips/t-slibgcc-irix" 1730 tmake_file="mips/t-iris mips/t-slibgcc-irix"
1731 target_cpu_default="MASK_ABICALLS" 1731 target_cpu_default="MASK_ABICALLS"
1732 case ${target} in 1732 case ${target} in
1733 *-*-irix5*) 1733 *-*-irix5*)
1734 tm_file="${tm_file} mips/iris5.h" 1734 tm_file="${tm_file} mips/iris5.h"
1735 use_gcc_stdint=provide 1735 use_gcc_stdint=provide
1736 ;; 1736 ;;
1737 1737
1738 *-*-irix6*) 1738 *-*-irix6*)
1739 tm_file="${tm_file} mips/iris6.h" 1739 tm_file="${tm_file} mips/iris6.h"
1740 tmake_file="${tmake_file} mips/t-iris6" 1740 tmake_file="${tmake_file} mips/t-iris6"
1741 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32" 1741 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
1742 case ${target} in 1742 case ${target} in
1743 *-*-irix6.[0-4]*) 1743 *-*-irix6.[0-4]*)
1744 use_gcc_stdint=provide 1744 use_gcc_stdint=provide
1745 ;; 1745 ;;
1746 *-*-irix6.5*) 1746 *-*-irix6.5*)
1747 # Only IRIX Development Foundation 1.3 for IRIX 6.5 1747 # Only IRIX Development Foundation 1.3 for IRIX 6.5
1748 # provides stdint.h. 1748 # provides stdint.h.
1749 use_gcc_stdint=wrap 1749 use_gcc_stdint=wrap
1750 ;; 1750 ;;
1751 esac 1751 esac
1752 ;; 1752 ;;
1753 esac 1753 esac
1754 if test "x$stabs" = xyes 1754 if test "x$stabs" = xyes
1755 then 1755 then
1756 tm_file="${tm_file} dbx.h" 1756 tm_file="${tm_file} dbx.h"
1757 fi 1757 fi
1758 if test "x$gnu_ld" = xyes 1758 if test "x$gnu_ld" = xyes
1759 then 1759 then
1760 tm_defines="${tm_defines} IRIX_USING_GNU_LD" 1760 tm_defines="${tm_defines} IRIX_USING_GNU_LD"
1761 fi 1761 fi
1762 case ${enable_threads}:${have_pthread_h} in 1762 case ${enable_threads}:${have_pthread_h} in
1763 "":yes | yes:yes ) thread_file=posix ;; 1763 "":yes | yes:yes ) thread_file=posix ;;
1764 esac 1764 esac
1765 ;; 1765 ;;
1766mips64*-*-netbsd*) # NetBSD/mips64, either endian. 1766mips64*-*-netbsd*) # NetBSD/mips64, either endian.
1767 target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_SOFT_FLOAT_ABI" 1767 target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_SOFT_FLOAT_ABI"
1768 tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h mips/netbsd64.h" 1768 tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h mips/netbsd64.h"
1769 tmake_file="${tmake_file} mips/t-netbsd64" 1769 tmake_file="${tmake_file} mips/t-netbsd64"
1770 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" 1770 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
1771 gnu_ld=yes 1771 gnu_ld=yes
1772 gas=yes 1772 gas=yes
1773 ;; 1773 ;;
1774mips*-*-netbsd*) # NetBSD/mips, either endian. 1774mips*-*-netbsd*) # NetBSD/mips, either endian.
1775 target_cpu_default="MASK_ABICALLS" 1775 target_cpu_default="MASK_ABICALLS"
1776 tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h" 1776 tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h"
1777 ;; 1777 ;;
1778mips64*-*-linux* | mipsisa64*-*-linux*) 1778mips64*-*-linux* | mipsisa64*-*-linux*)
1779 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} mips/linux.h mips/linux64.h" 1779 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} mips/linux.h mips/linux64.h"
1780 tmake_file="${tmake_file} mips/t-linux64 mips/t-libgcc-mips16" 1780 tmake_file="${tmake_file} mips/t-linux64 mips/t-libgcc-mips16"
1781 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" 1781 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
1782 case ${target} in 1782 case ${target} in
1783 mips64el-st-linux-gnu) 1783 mips64el-st-linux-gnu)
1784 tm_file="${tm_file} mips/st.h" 1784 tm_file="${tm_file} mips/st.h"
1785 tmake_file="${tmake_file} mips/t-st" 1785 tmake_file="${tmake_file} mips/t-st"
1786 ;; 1786 ;;
1787 mips64octeon*-*-linux*) 1787 mips64octeon*-*-linux*)
1788 tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"octeon\\\"" 1788 tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"octeon\\\""
1789 target_cpu_default=MASK_SOFT_FLOAT_ABI 1789 target_cpu_default=MASK_SOFT_FLOAT_ABI
1790 ;; 1790 ;;
1791 mipsisa64r2*-*-linux*) 1791 mipsisa64r2*-*-linux*)
1792 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65" 1792 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65"
1793 ;; 1793 ;;
1794 esac 1794 esac
1795 gnu_ld=yes 1795 gnu_ld=yes
1796 gas=yes 1796 gas=yes
1797 test x$with_llsc != x || with_llsc=yes 1797 test x$with_llsc != x || with_llsc=yes
1798 ;; 1798 ;;
1799mips*-*-linux*) # Linux MIPS, either endian. 1799mips*-*-linux*) # Linux MIPS, either endian.
1800 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} mips/linux.h" 1800 tm_file="dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h ${tm_file} mips/linux.h"
1801 tmake_file="${tmake_file} mips/t-libgcc-mips16" 1801 tmake_file="${tmake_file} mips/t-libgcc-mips16"
1802 case ${target} in 1802 case ${target} in
1803 mipsisa32r2*) 1803 mipsisa32r2*)
1804 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33" 1804 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33"
1805 ;; 1805 ;;
1806 mipsisa32*) 1806 mipsisa32*)
1807 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32" 1807 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
1808 esac 1808 esac
1809 test x$with_llsc != x || with_llsc=yes 1809 test x$with_llsc != x || with_llsc=yes
1810 ;; 1810 ;;
1811mips*-*-openbsd*) 1811mips*-*-openbsd*)
1812 tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_OBJECT OBSD_HAS_CORRECT_SPECS" 1812 tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_OBJECT OBSD_HAS_CORRECT_SPECS"
1813 target_cpu_default="MASK_ABICALLS" 1813 target_cpu_default="MASK_ABICALLS"
1814 tm_file="mips/mips.h openbsd.h openbsd-stdint.h openbsd-libpthread.h mips/openbsd.h mips/sdb.h" 1814 tm_file="mips/mips.h openbsd.h openbsd-stdint.h openbsd-libpthread.h mips/openbsd.h mips/sdb.h"
1815 case ${target} in 1815 case ${target} in
1816 mips*el-*-openbsd*) 1816 mips*el-*-openbsd*)
1817 tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=0";; 1817 tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=0";;
1818 *) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_ENDIAN";; 1818 *) tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=MASK_BIG_ENDIAN";;
1819 esac 1819 esac
1820 ;; 1820 ;;
1821mips*-sde-elf*) 1821mips*-sde-elf*)
1822 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/sde.h" 1822 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/sde.h"
1823 tmake_file="mips/t-sde mips/t-libgcc-mips16" 1823 tmake_file="mips/t-sde mips/t-libgcc-mips16"
1824 case "${with_newlib}" in 1824 case "${with_newlib}" in
1825 yes) 1825 yes)
1826 # newlib / libgloss. 1826 # newlib / libgloss.
1827 ;; 1827 ;;
1828 *) 1828 *)
1829 # MIPS toolkit libraries. 1829 # MIPS toolkit libraries.
1830 tm_file="$tm_file mips/sdemtk.h" 1830 tm_file="$tm_file mips/sdemtk.h"
1831 tmake_file="$tmake_file mips/t-sdemtk" 1831 tmake_file="$tmake_file mips/t-sdemtk"
1832 extra_options="$extra_options mips/sdemtk.opt" 1832 extra_options="$extra_options mips/sdemtk.opt"
1833 case ${enable_threads} in 1833 case ${enable_threads} in
1834 "" | yes | mipssde) 1834 "" | yes | mipssde)
1835 thread_file='mipssde' 1835 thread_file='mipssde'
1836 ;; 1836 ;;
1837 esac 1837 esac
1838 ;; 1838 ;;
1839 esac 1839 esac
1840 case ${target} in 1840 case ${target} in
1841 mipsisa32r2*) 1841 mipsisa32r2*)
1842 tm_defines="MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_32" 1842 tm_defines="MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_32"
1843 ;; 1843 ;;
1844 mipsisa32*) 1844 mipsisa32*)
1845 tm_defines="MIPS_ISA_DEFAULT=32 MIPS_ABI_DEFAULT=ABI_32" 1845 tm_defines="MIPS_ISA_DEFAULT=32 MIPS_ABI_DEFAULT=ABI_32"
1846 ;; 1846 ;;
1847 mipsisa64r2*) 1847 mipsisa64r2*)
1848 tm_defines="MIPS_ISA_DEFAULT=65 MIPS_ABI_DEFAULT=ABI_N32" 1848 tm_defines="MIPS_ISA_DEFAULT=65 MIPS_ABI_DEFAULT=ABI_N32"
1849 ;; 1849 ;;
1850 mipsisa64*) 1850 mipsisa64*)
1851 tm_defines="MIPS_ISA_DEFAULT=64 MIPS_ABI_DEFAULT=ABI_N32" 1851 tm_defines="MIPS_ISA_DEFAULT=64 MIPS_ABI_DEFAULT=ABI_N32"
1852 ;; 1852 ;;
1853 esac 1853 esac
1854 ;; 1854 ;;
1855mipsisa32-*-elf* | mipsisa32el-*-elf* | \ 1855mipsisa32-*-elf* | mipsisa32el-*-elf* | \
1856mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ 1856mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
1857mipsisa64-*-elf* | mipsisa64el-*-elf* | \ 1857mipsisa64-*-elf* | mipsisa64el-*-elf* | \
1858mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*) 1858mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*)
1859 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h" 1859 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
1860 tmake_file="mips/t-isa3264 mips/t-libgcc-mips16" 1860 tmake_file="mips/t-isa3264 mips/t-libgcc-mips16"
1861 case ${target} in 1861 case ${target} in
1862 mipsisa32r2*) 1862 mipsisa32r2*)
1863 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33" 1863 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33"
1864 ;; 1864 ;;
1865 mipsisa32*) 1865 mipsisa32*)
1866 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32" 1866 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
1867 ;; 1867 ;;
1868 mipsisa64r2*) 1868 mipsisa64r2*)
1869 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65" 1869 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65"
1870 ;; 1870 ;;
1871 mipsisa64*) 1871 mipsisa64*)
1872 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64" 1872 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64"
1873 ;; 1873 ;;
1874 esac 1874 esac
1875 case ${target} in 1875 case ${target} in
1876 mipsisa32*-*-elfoabi*) 1876 mipsisa32*-*-elfoabi*)
1877 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_32" 1877 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_32"
1878 tm_file="${tm_file} mips/elfoabi.h" 1878 tm_file="${tm_file} mips/elfoabi.h"
1879 ;; 1879 ;;
1880 mipsisa64*-*-elfoabi*) 1880 mipsisa64*-*-elfoabi*)
1881 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_O64" 1881 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_O64"
1882 tm_file="${tm_file} mips/elfoabi.h" 1882 tm_file="${tm_file} mips/elfoabi.h"
1883 ;; 1883 ;;
1884 *-*-elf*) 1884 *-*-elf*)
1885 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_EABI" 1885 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_EABI"
1886 ;; 1886 ;;
1887 esac 1887 esac
1888 ;; 1888 ;;
1889mipsisa64sr71k-*-elf*) 1889mipsisa64sr71k-*-elf*)
1890 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h" 1890 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
1891 tmake_file=mips/t-sr71k 1891 tmake_file=mips/t-sr71k
1892 target_cpu_default="MASK_64BIT|MASK_FLOAT64" 1892 target_cpu_default="MASK_64BIT|MASK_FLOAT64"
1893 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sr71000\\\" MIPS_ABI_DEFAULT=ABI_EABI" 1893 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sr71000\\\" MIPS_ABI_DEFAULT=ABI_EABI"
1894 ;; 1894 ;;
1895mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*) 1895mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
1896 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h" 1896 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
1897 tmake_file="mips/t-elf mips/t-libgcc-mips16 mips/t-sb1" 1897 tmake_file="mips/t-elf mips/t-libgcc-mips16 mips/t-sb1"
1898 target_cpu_default="MASK_64BIT|MASK_FLOAT64" 1898 target_cpu_default="MASK_64BIT|MASK_FLOAT64"
1899 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64" 1899 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64"
1900 ;; 1900 ;;
1901mips-*-elf* | mipsel-*-elf*) 1901mips-*-elf* | mipsel-*-elf*)
1902 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h" 1902 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
1903 tmake_file="mips/t-elf mips/t-libgcc-mips16" 1903 tmake_file="mips/t-elf mips/t-libgcc-mips16"
1904 ;; 1904 ;;
1905mips64-*-elf* | mips64el-*-elf*) 1905mips64-*-elf* | mips64el-*-elf*)
1906 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h" 1906 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
1907 tmake_file="mips/t-elf mips/t-libgcc-mips16" 1907 tmake_file="mips/t-elf mips/t-libgcc-mips16"
1908 target_cpu_default="MASK_64BIT|MASK_FLOAT64" 1908 target_cpu_default="MASK_64BIT|MASK_FLOAT64"
1909 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" 1909 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1910 ;; 1910 ;;
1911mips64vr-*-elf* | mips64vrel-*-elf*) 1911mips64vr-*-elf* | mips64vrel-*-elf*)
1912 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/vr.h mips/elf.h" 1912 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/vr.h mips/elf.h"
1913 tmake_file=mips/t-vr 1913 tmake_file=mips/t-vr
1914 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_EABI" 1914 tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_EABI"
1915 ;; 1915 ;;
1916mips64orion-*-elf* | mips64orionel-*-elf*) 1916mips64orion-*-elf* | mips64orionel-*-elf*)
1917 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elforion.h mips/elf.h" 1917 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elforion.h mips/elf.h"
1918 tmake_file="mips/t-elf mips/t-libgcc-mips16" 1918 tmake_file="mips/t-elf mips/t-libgcc-mips16"
1919 target_cpu_default="MASK_64BIT|MASK_FLOAT64" 1919 target_cpu_default="MASK_64BIT|MASK_FLOAT64"
1920 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" 1920 tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
1921 ;; 1921 ;;
1922mips*-*-rtems*) 1922mips*-*-rtems*)
1923 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" 1923 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/rtems.h rtems.h"
1924 tmake_file="mips/t-elf mips/t-libgcc-mips16 t-rtems mips/t-rtems" 1924 tmake_file="mips/t-elf mips/t-libgcc-mips16 t-rtems mips/t-rtems"
1925 ;; 1925 ;;
1926mips-wrs-vxworks) 1926mips-wrs-vxworks)
1927 tm_file="elfos.h ${tm_file} svr4.h mips/elf.h vx-common.h vxworks.h mips/vxworks.h" 1927 tm_file="elfos.h ${tm_file} svr4.h mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
1928 tmake_file="${tmake_file} mips/t-vxworks" 1928 tmake_file="${tmake_file} mips/t-vxworks"
1929 ;; 1929 ;;
1930mipstx39-*-elf* | mipstx39el-*-elf*) 1930mipstx39-*-elf* | mipstx39el-*-elf*)
1931 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/r3900.h mips/elf.h" 1931 tm_file="elfos.h newlib-stdint.h ${tm_file} mips/r3900.h mips/elf.h"
1932 tmake_file="mips/t-r3900 mips/t-libgcc-mips16" 1932 tmake_file="mips/t-r3900 mips/t-libgcc-mips16"
1933 ;; 1933 ;;
1934mmix-knuth-mmixware) 1934mmix-knuth-mmixware)
1935 tm_file="${tm_file} newlib-stdint.h" 1935 tm_file="${tm_file} newlib-stdint.h"
1936 need_64bit_hwint=yes 1936 need_64bit_hwint=yes
1937 use_gcc_stdint=wrap 1937 use_gcc_stdint=wrap
1938 ;; 1938 ;;
1939mn10300-*-*) 1939mn10300-*-*)
1940 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 1940 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
1941 if test x$stabs = xyes 1941 if test x$stabs = xyes
1942 then 1942 then
1943 tm_file="${tm_file} dbx.h" 1943 tm_file="${tm_file} dbx.h"
1944 fi 1944 fi
1945 use_collect2=no 1945 use_collect2=no
1946 use_gcc_stdint=wrap 1946 use_gcc_stdint=wrap
1947 ;; 1947 ;;
1948pdp11-*-*) 1948pdp11-*-*)
1949 tm_file="${tm_file} newlib-stdint.h" 1949 tm_file="${tm_file} newlib-stdint.h"
1950 use_gcc_stdint=wrap 1950 use_gcc_stdint=wrap
1951 ;; 1951 ;;
1952picochip-*) 1952picochip-*)
1953 tm_file="${tm_file} newlib-stdint.h" 1953 tm_file="${tm_file} newlib-stdint.h"
1954 use_gcc_stdint=wrap 1954 use_gcc_stdint=wrap
1955 ;; 1955 ;;
1956# port not yet contributed 1956# port not yet contributed
1957#powerpc-*-openbsd*) 1957#powerpc-*-openbsd*)
1958# tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit " 1958# tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit "
1959# extra_headers= 1959# extra_headers=
1960# ;; 1960# ;;
1961powerpc-*-darwin*) 1961powerpc-*-darwin*)
1962 extra_options="${extra_options} rs6000/darwin.opt" 1962 extra_options="${extra_options} rs6000/darwin.opt"
1963 extra_parts="crt2.o" 1963 extra_parts="crt2.o"
1964 case ${target} in 1964 case ${target} in
1965 *-darwin1[0-9]* | *-darwin[8-9]*) 1965 *-darwin1[0-9]* | *-darwin[8-9]*)
1966 tmake_file="${tmake_file} rs6000/t-darwin8" 1966 tmake_file="${tmake_file} rs6000/t-darwin8"
1967 tm_file="${tm_file} rs6000/darwin8.h" 1967 tm_file="${tm_file} rs6000/darwin8.h"
1968 ;; 1968 ;;
1969 *-darwin7*) 1969 *-darwin7*)
1970 tm_file="${tm_file} rs6000/darwin7.h" 1970 tm_file="${tm_file} rs6000/darwin7.h"
1971 ;; 1971 ;;
1972 *-darwin[0-6]*) 1972 *-darwin[0-6]*)
1973 ;; 1973 ;;
1974 esac 1974 esac
1975 tmake_file="${tmake_file} t-slibgcc-darwin" 1975 tmake_file="${tmake_file} t-slibgcc-darwin"
1976 extra_headers=altivec.h 1976 extra_headers=altivec.h
1977 ;; 1977 ;;
1978powerpc64-*-darwin*) 1978powerpc64-*-darwin*)
1979 tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h" 1979 tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
1980 extra_options="${extra_options} ${cpu_type}/darwin.opt" 1980 extra_options="${extra_options} ${cpu_type}/darwin.opt"
1981 # We're not including any t-darwin* fragments, to avoid building multilibs. 1981 # We're not including any t-darwin* fragments, to avoid building multilibs.
1982 tmake_file="${tmake_file} t-slibgcc-darwin" 1982 tmake_file="${tmake_file} t-slibgcc-darwin"
1983 extra_headers=altivec.h 1983 extra_headers=altivec.h
1984 ;; 1984 ;;
1985powerpc*-*-freebsd*) 1985powerpc*-*-freebsd*)
1986 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" 1986 tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
1987 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" 1987 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
1988 extra_options="${extra_options} rs6000/sysv4.opt" 1988 extra_options="${extra_options} rs6000/sysv4.opt"
1989 ;; 1989 ;;
1990powerpc*-*-netbsd*) 1990powerpc*-*-netbsd*)
1991 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h svr4.h freebsd-spec.h rs6000/sysv4.h" 1991 tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1992 case ${target} in 1992 case ${target} in
1993 powerpc64*) 1993 powerpc64*)
1994 tm_file="rs6000/biarch64.h ${tm_file} rs6000/default64.h rs6000/netbsd64.h" 1994 tm_file="rs6000/biarch64.h ${tm_file} rs6000/default64.h rs6000/netbsd64.h"
1995 tmake_file="${tmake_file} rs6000/t-netbsd64" 1995 tmake_file="${tmake_file} rs6000/t-netbsd64"
1996 ;; 1996 ;;
1997 *) 1997 *)
1998 tm_file="${tm_file} rs6000/netbsd.h" 1998 tm_file="${tm_file} rs6000/netbsd.h"
1999 tmake_file="${tmake_file} rs6000/t-netbsd" 1999 tmake_file="${tmake_file} rs6000/t-netbsd"
2000 ;; 2000 ;;
2001 esac 2001 esac
2002 if test x${enable_secureplt} != xno; then 2002 if test x${enable_secureplt} != xno; then
2003 tm_file="rs6000/secureplt.h ${tm_file}" 2003 tm_file="rs6000/secureplt.h ${tm_file}"
2004 fi 2004 fi
2005 extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt" 2005 extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
2006 ;; 2006 ;;
2007powerpc-*-eabispe*) 2007powerpc-*-eabispe*)
2008 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabispe.h" 2008 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabispe.h"
2009 extra_options="${extra_options} rs6000/sysv4.opt" 2009 extra_options="${extra_options} rs6000/sysv4.opt"
2010 tmake_file="rs6000/t-spe rs6000/t-ppccomm" 2010 tmake_file="rs6000/t-spe rs6000/t-ppccomm"
2011 use_gcc_stdint=wrap 2011 use_gcc_stdint=wrap
2012 ;; 2012 ;;
2013powerpc-*-eabisimaltivec*) 2013powerpc-*-eabisimaltivec*)
2014 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h rs6000/eabialtivec.h" 2014 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h rs6000/eabialtivec.h"
2015 extra_options="${extra_options} rs6000/sysv4.opt" 2015 extra_options="${extra_options} rs6000/sysv4.opt"
2016 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm" 2016 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
2017 use_gcc_stdint=wrap 2017 use_gcc_stdint=wrap
2018 ;; 2018 ;;
2019powerpc-*-eabisim*) 2019powerpc-*-eabisim*)
2020 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h" 2020 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
2021 extra_options="${extra_options} rs6000/sysv4.opt" 2021 extra_options="${extra_options} rs6000/sysv4.opt"
2022 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2022 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2023 use_gcc_stdint=wrap 2023 use_gcc_stdint=wrap
2024 ;; 2024 ;;
2025powerpc-*-elf*) 2025powerpc-*-elf*)
2026 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h" 2026 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h"
2027 extra_options="${extra_options} rs6000/sysv4.opt" 2027 extra_options="${extra_options} rs6000/sysv4.opt"
2028 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2028 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2029 ;; 2029 ;;
2030powerpc-*-eabialtivec*) 2030powerpc-*-eabialtivec*)
2031 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabialtivec.h" 2031 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/eabialtivec.h"
2032 extra_options="${extra_options} rs6000/sysv4.opt" 2032 extra_options="${extra_options} rs6000/sysv4.opt"
2033 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm" 2033 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcendian rs6000/t-ppccomm"
2034 use_gcc_stdint=wrap 2034 use_gcc_stdint=wrap
2035 ;; 2035 ;;
2036powerpc-xilinx-eabi*) 2036powerpc-xilinx-eabi*)
2037 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h rs6000/xfpu.h rs6000/xilinx.h" 2037 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/singlefp.h rs6000/xfpu.h rs6000/xilinx.h"
2038 extra_options="${extra_options} rs6000/sysv4.opt" 2038 extra_options="${extra_options} rs6000/sysv4.opt"
2039 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm rs6000/t-xilinx" 2039 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm rs6000/t-xilinx"
2040 use_gcc_stdint=wrap 2040 use_gcc_stdint=wrap
2041 ;; 2041 ;;
2042powerpc-*-eabi*) 2042powerpc-*-eabi*)
2043 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h" 2043 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
2044 extra_options="${extra_options} rs6000/sysv4.opt" 2044 extra_options="${extra_options} rs6000/sysv4.opt"
2045 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2045 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2046 use_gcc_stdint=wrap 2046 use_gcc_stdint=wrap
2047 ;; 2047 ;;
2048powerpc-*-rtems*) 2048powerpc-*-rtems*)
2049 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h" 2049 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/rtems.h rtems.h"
2050 extra_options="${extra_options} rs6000/sysv4.opt" 2050 extra_options="${extra_options} rs6000/sysv4.opt"
2051 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm" 2051 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-rtems t-rtems rs6000/t-ppccomm"
2052 ;; 2052 ;;
2053powerpc-*-linux* | powerpc64-*-linux*) 2053powerpc-*-linux* | powerpc64-*-linux*)
2054 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" 2054 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
2055 extra_options="${extra_options} rs6000/sysv4.opt" 2055 extra_options="${extra_options} rs6000/sysv4.opt"
2056 tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" 2056 tmake_file="t-dfprules rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
2057 maybe_biarch=yes 2057 maybe_biarch=yes
2058 case ${target} in 2058 case ${target} in
2059 powerpc64-*-linux*spe* | powerpc64-*-linux*paired*) 2059 powerpc64-*-linux*spe* | powerpc64-*-linux*paired*)
2060 echo "*** Configuration ${target} not supported" 1>&2 2060 echo "*** Configuration ${target} not supported" 1>&2
2061 exit 1 2061 exit 1
2062 ;; 2062 ;;
2063 powerpc-*-linux*spe* | powerpc-*-linux*paired*) 2063 powerpc-*-linux*spe* | powerpc-*-linux*paired*)
2064 maybe_biarch= 2064 maybe_biarch=
2065 ;; 2065 ;;
2066 powerpc64-*-linux*) 2066 powerpc64-*-linux*)
2067 test x$with_cpu != x || cpu_is_64bit=yes 2067 test x$with_cpu != x || cpu_is_64bit=yes
2068 maybe_biarch=always 2068 maybe_biarch=always
2069 ;; 2069 ;;
2070 esac 2070 esac
2071 case ${maybe_biarch}:${enable_targets}:${cpu_is_64bit} in 2071 case ${maybe_biarch}:${enable_targets}:${cpu_is_64bit} in
2072 always:* | yes:*powerpc64* | yes:all:* | yes:*:yes) 2072 always:* | yes:*powerpc64* | yes:all:* | yes:*:yes)
2073 if test x$cpu_is_64bit = xyes; then 2073 if test x$cpu_is_64bit = xyes; then
2074 tm_file="${tm_file} rs6000/default64.h" 2074 tm_file="${tm_file} rs6000/default64.h"
2075 fi 2075 fi
2076 tm_file="rs6000/biarch64.h ${tm_file} rs6000/linux64.h glibc-stdint.h" 2076 tm_file="rs6000/biarch64.h ${tm_file} rs6000/linux64.h glibc-stdint.h"
2077 tmake_file="$tmake_file rs6000/t-linux64" 2077 tmake_file="$tmake_file rs6000/t-linux64"
2078 extra_options="${extra_options} rs6000/linux64.opt" 2078 extra_options="${extra_options} rs6000/linux64.opt"
2079 ;; 2079 ;;
2080 *) 2080 *)
2081 tm_file="${tm_file} rs6000/linux.h glibc-stdint.h" 2081 tm_file="${tm_file} rs6000/linux.h glibc-stdint.h"
2082 ;; 2082 ;;
2083 esac 2083 esac
2084 tmake_file="${tmake_file} t-slibgcc-libgcc rs6000/t-fprules-softfp soft-fp/t-softfp" 2084 tmake_file="${tmake_file} t-slibgcc-libgcc rs6000/t-fprules-softfp soft-fp/t-softfp"
2085 case ${target} in 2085 case ${target} in
2086 powerpc*-*-linux*altivec*) 2086 powerpc*-*-linux*altivec*)
2087 tm_file="${tm_file} rs6000/linuxaltivec.h" ;; 2087 tm_file="${tm_file} rs6000/linuxaltivec.h" ;;
2088 powerpc*-*-linux*spe*) 2088 powerpc*-*-linux*spe*)
2089 tm_file="${tm_file} rs6000/linuxspe.h rs6000/e500.h" ;; 2089 tm_file="${tm_file} rs6000/linuxspe.h rs6000/e500.h" ;;
2090 powerpc*-*-linux*paired*) 2090 powerpc*-*-linux*paired*)
2091 tm_file="${tm_file} rs6000/750cl.h" ;; 2091 tm_file="${tm_file} rs6000/750cl.h" ;;
2092 esac 2092 esac
2093 if test x${enable_secureplt} = xyes; then 2093 if test x${enable_secureplt} = xyes; then
2094 tm_file="rs6000/secureplt.h ${tm_file}" 2094 tm_file="rs6000/secureplt.h ${tm_file}"
2095 fi 2095 fi
2096 ;; 2096 ;;
2097powerpc64-*-gnu*) 2097powerpc64-*-gnu*)
2098 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h" 2098 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
2099 extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt" 2099 extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
2100 tmake_file="t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu" 2100 tmake_file="t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu"
2101 ;; 2101 ;;
2102powerpc-*-gnu-gnualtivec*) 2102powerpc-*-gnu-gnualtivec*)
2103 tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h" 2103 tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h"
2104 extra_options="${extra_options} rs6000/sysv4.opt" 2104 extra_options="${extra_options} rs6000/sysv4.opt"
2105 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm" 2105 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
2106 if test x$enable_threads = xyes; then 2106 if test x$enable_threads = xyes; then
2107 thread_file='posix' 2107 thread_file='posix'
2108 fi 2108 fi
2109 ;; 2109 ;;
2110powerpc-*-gnu*) 2110powerpc-*-gnu*)
2111 tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h glibc-stdint.h" 2111 tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h glibc-stdint.h"
2112 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm" 2112 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
2113 extra_options="${extra_options} rs6000/sysv4.opt" 2113 extra_options="${extra_options} rs6000/sysv4.opt"
2114 if test x$enable_threads = xyes; then 2114 if test x$enable_threads = xyes; then
2115 thread_file='posix' 2115 thread_file='posix'
2116 fi 2116 fi
2117 ;; 2117 ;;
2118powerpc-wrs-vxworks|powerpc-wrs-vxworksae) 2118powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
2119 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" 2119 tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
2120 tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppccomm rs6000/t-vxworks" 2120 tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppccomm rs6000/t-vxworks"
2121 extra_options="${extra_options} rs6000/sysv4.opt" 2121 extra_options="${extra_options} rs6000/sysv4.opt"
2122 extra_headers=ppc-asm.h 2122 extra_headers=ppc-asm.h
2123 case ${target} in 2123 case ${target} in
2124 *-vxworksae*) 2124 *-vxworksae*)
2125 tm_file="${tm_file} vx-common.h vxworksae.h rs6000/vxworks.h rs6000/e500.h rs6000/vxworksae.h" 2125 tm_file="${tm_file} vx-common.h vxworksae.h rs6000/vxworks.h rs6000/e500.h rs6000/vxworksae.h"
2126 tmake_file="${tmake_file} rs6000/t-vxworksae" 2126 tmake_file="${tmake_file} rs6000/t-vxworksae"
2127 ;; 2127 ;;
2128 *-vxworks*) 2128 *-vxworks*)
2129 tm_file="${tm_file} vx-common.h vxworks.h rs6000/vxworks.h rs6000/e500.h" 2129 tm_file="${tm_file} vx-common.h vxworks.h rs6000/vxworks.h rs6000/e500.h"
2130 ;; 2130 ;;
2131 esac 2131 esac
2132 ;; 2132 ;;
2133powerpc-*-lynxos*) 2133powerpc-*-lynxos*)
2134 xm_defines=POSIX 2134 xm_defines=POSIX
2135 tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h" 2135 tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h"
2136 tmake_file="t-lynx rs6000/t-lynx" 2136 tmake_file="t-lynx rs6000/t-lynx"
2137 extra_options="${extra_options} rs6000/sysv4.opt lynx.opt" 2137 extra_options="${extra_options} rs6000/sysv4.opt lynx.opt"
2138 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" 2138 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2139 extra_options="${extra_options} lynx.opt" 2139 extra_options="${extra_options} lynx.opt"
2140 thread_file=lynx 2140 thread_file=lynx
2141 gnu_ld=yes 2141 gnu_ld=yes
2142 gas=yes 2142 gas=yes
2143 ;; 2143 ;;
2144powerpcle-*-elf*) 2144powerpcle-*-elf*)
2145 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h" 2145 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h"
2146 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2146 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2147 extra_options="${extra_options} rs6000/sysv4.opt" 2147 extra_options="${extra_options} rs6000/sysv4.opt"
2148 ;; 2148 ;;
2149powerpcle-*-eabisim*) 2149powerpcle-*-eabisim*)
2150 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h" 2150 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h rs6000/eabisim.h"
2151 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2151 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2152 extra_options="${extra_options} rs6000/sysv4.opt" 2152 extra_options="${extra_options} rs6000/sysv4.opt"
2153 use_gcc_stdint=wrap 2153 use_gcc_stdint=wrap
2154 ;; 2154 ;;
2155powerpcle-*-eabi*) 2155powerpcle-*-eabi*)
2156 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h" 2156 tm_file="${tm_file} dbxelf.h elfos.h usegas.h svr4.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/e500.h"
2157 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm" 2157 tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcgas rs6000/t-ppccomm"
2158 extra_options="${extra_options} rs6000/sysv4.opt" 2158 extra_options="${extra_options} rs6000/sysv4.opt"
2159 use_gcc_stdint=wrap 2159 use_gcc_stdint=wrap
2160 ;; 2160 ;;
2161rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*) 2161rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
2162 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h rs6000/aix-stdint.h" 2162 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix43.h rs6000/xcoff.h rs6000/aix-stdint.h"
2163 tmake_file=rs6000/t-aix43 2163 tmake_file=rs6000/t-aix43
2164 extra_options="${extra_options} rs6000/aix64.opt" 2164 extra_options="${extra_options} rs6000/aix64.opt"
2165 use_collect2=yes 2165 use_collect2=yes
2166 thread_file='aix' 2166 thread_file='aix'
2167 use_gcc_stdint=provide 2167 use_gcc_stdint=provide
2168 extra_headers= 2168 extra_headers=
2169 ;; 2169 ;;
2170rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*) 2170rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
2171 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h rs6000/aix-stdint.h" 2171 tm_file="rs6000/biarch64.h ${tm_file} rs6000/aix.h rs6000/aix51.h rs6000/xcoff.h rs6000/aix-stdint.h"
2172 extra_options="${extra_options} rs6000/aix64.opt" 2172 extra_options="${extra_options} rs6000/aix64.opt"
2173 tmake_file=rs6000/t-aix43 2173 tmake_file=rs6000/t-aix43
2174 use_collect2=yes 2174 use_collect2=yes
2175 thread_file='aix' 2175 thread_file='aix'
2176 use_gcc_stdint=wrap 2176 use_gcc_stdint=wrap
2177 extra_headers= 2177 extra_headers=
2178 ;; 2178 ;;
2179rs6000-ibm-aix5.2.* | powerpc-ibm-aix5.2.*) 2179rs6000-ibm-aix5.2.* | powerpc-ibm-aix5.2.*)
2180 tm_file="${tm_file} rs6000/aix.h rs6000/aix52.h rs6000/xcoff.h rs6000/aix-stdint.h" 2180 tm_file="${tm_file} rs6000/aix.h rs6000/aix52.h rs6000/xcoff.h rs6000/aix-stdint.h"
2181 tmake_file=rs6000/t-aix52 2181 tmake_file=rs6000/t-aix52
2182 extra_options="${extra_options} rs6000/aix64.opt" 2182 extra_options="${extra_options} rs6000/aix64.opt"
2183 use_collect2=yes 2183 use_collect2=yes
2184 thread_file='aix' 2184 thread_file='aix'
2185 use_gcc_stdint=wrap 2185 use_gcc_stdint=wrap
2186 extra_headers= 2186 extra_headers=
2187 ;; 2187 ;;
2188rs6000-ibm-aix5.3.* | powerpc-ibm-aix5.3.*) 2188rs6000-ibm-aix5.3.* | powerpc-ibm-aix5.3.*)
2189 tm_file="${tm_file} rs6000/aix.h rs6000/aix53.h rs6000/xcoff.h rs6000/aix-stdint.h" 2189 tm_file="${tm_file} rs6000/aix.h rs6000/aix53.h rs6000/xcoff.h rs6000/aix-stdint.h"
2190 tmake_file=rs6000/t-aix52 2190 tmake_file=rs6000/t-aix52
2191 extra_options="${extra_options} rs6000/aix64.opt" 2191 extra_options="${extra_options} rs6000/aix64.opt"
2192 use_collect2=yes 2192 use_collect2=yes
2193 thread_file='aix' 2193 thread_file='aix'
2194 use_gcc_stdint=wrap 2194 use_gcc_stdint=wrap
2195 extra_headers=altivec.h 2195 extra_headers=altivec.h
2196 ;; 2196 ;;
2197rs6000-ibm-aix[6789].* | powerpc-ibm-aix[6789].*) 2197rs6000-ibm-aix[6789].* | powerpc-ibm-aix[6789].*)
2198 tm_file="${tm_file} rs6000/aix.h rs6000/aix61.h rs6000/xcoff.h rs6000/aix-stdint.h" 2198 tm_file="${tm_file} rs6000/aix.h rs6000/aix61.h rs6000/xcoff.h rs6000/aix-stdint.h"
2199 tmake_file=rs6000/t-aix52 2199 tmake_file=rs6000/t-aix52
2200 extra_options="${extra_options} rs6000/aix64.opt" 2200 extra_options="${extra_options} rs6000/aix64.opt"
2201 use_collect2=yes 2201 use_collect2=yes
2202 thread_file='aix' 2202 thread_file='aix'
2203 use_gcc_stdint=wrap 2203 use_gcc_stdint=wrap
2204 extra_headers=altivec.h 2204 extra_headers=altivec.h
2205 ;; 2205 ;;
2206rx-*-elf*) 2206rx-*-elf*)
2207 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h" 2207 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} ../../libgcc/config/rx/rx-abi.h"
2208 tmake_file="${tmake_file} rx/t-rx" 2208 tmake_file="${tmake_file} rx/t-rx"
2209 ;; 2209 ;;
2210s390-*-linux*) 2210s390-*-linux*)
2211 tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h" 2211 tm_file="s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h"
2212 ;; 2212 ;;
2213s390x-*-linux*) 2213s390x-*-linux*)
2214 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h" 2214 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h s390/linux.h"
2215 tm_p_file=s390/s390-protos.h 2215 tm_p_file=s390/s390-protos.h
2216 md_file=s390/s390.md 2216 md_file=s390/s390.md
2217 extra_modes=s390/s390-modes.def 2217 extra_modes=s390/s390-modes.def
2218 out_file=s390/s390.c 2218 out_file=s390/s390.c
2219 tmake_file="${tmake_file} s390/t-linux64" 2219 tmake_file="${tmake_file} s390/t-linux64"
2220 ;; 2220 ;;
2221s390x-ibm-tpf*) 2221s390x-ibm-tpf*)
2222 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h s390/tpf.h" 2222 tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h s390/tpf.h"
2223 tm_p_file=s390/s390-protos.h 2223 tm_p_file=s390/s390-protos.h
2224 md_file=s390/s390.md 2224 md_file=s390/s390.md
2225 extra_modes=s390/s390-modes.def 2225 extra_modes=s390/s390-modes.def
2226 out_file=s390/s390.c 2226 out_file=s390/s390.c
2227 extra_parts="crtbeginS.o crtendS.o" 2227 extra_parts="crtbeginS.o crtendS.o"
2228 thread_file='tpf' 2228 thread_file='tpf'
2229 extra_options="${extra_options} s390/tpf.opt" 2229 extra_options="${extra_options} s390/tpf.opt"
2230 ;; 2230 ;;
2231score-*-elf) 2231score-*-elf)
2232 tm_file="dbxelf.h elfos.h score/elf.h score/score.h newlib-stdint.h" 2232 tm_file="dbxelf.h elfos.h score/elf.h score/score.h newlib-stdint.h"
2233 tmake_file=score/t-score-elf 2233 tmake_file=score/t-score-elf
2234 extra_objs="score7.o score3.o" 2234 extra_objs="score7.o score3.o"
2235 ;; 2235 ;;
2236sh-*-elf* | sh[12346l]*-*-elf* | \ 2236sh-*-elf* | sh[12346l]*-*-elf* | \
2237sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ 2237sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
2238 sh-*-linux* | sh[2346lbe]*-*-linux* | \ 2238 sh-*-linux* | sh[2346lbe]*-*-linux* | \
2239 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ 2239 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2240 sh64-*-netbsd* | sh64l*-*-netbsd*) 2240 sh64-*-netbsd* | sh64l*-*-netbsd*)
2241 tmake_file="${tmake_file} sh/t-sh sh/t-elf" 2241 tmake_file="${tmake_file} sh/t-sh sh/t-elf"
2242 if test x${with_endian} = x; then 2242 if test x${with_endian} = x; then
2243 case ${target} in 2243 case ${target} in
2244 sh[1234]*be-*-* | sh[1234]*eb-*-*) with_endian=big ;; 2244 sh[1234]*be-*-* | sh[1234]*eb-*-*) with_endian=big ;;
2245 shbe-*-* | sheb-*-*) with_endian=big,little ;; 2245 shbe-*-* | sheb-*-*) with_endian=big,little ;;
2246 sh[1234]l* | sh[34]*-*-linux*) with_endian=little ;; 2246 sh[1234]l* | sh[34]*-*-linux*) with_endian=little ;;
2247 shl* | sh64l* | sh*-*-linux* | \ 2247 shl* | sh64l* | sh*-*-linux* | \
2248 sh5l* | sh-superh-elf) with_endian=little,big ;; 2248 sh5l* | sh-superh-elf) with_endian=little,big ;;
2249 sh[1234]*-*-*) with_endian=big ;; 2249 sh[1234]*-*-*) with_endian=big ;;
2250 *) with_endian=big,little ;; 2250 *) with_endian=big,little ;;
2251 esac 2251 esac
2252 fi 2252 fi
2253 # TM_ENDIAN_CONFIG is used by t-sh to determine multilibs. 2253 # TM_ENDIAN_CONFIG is used by t-sh to determine multilibs.
2254 # First word : the default endian. 2254 # First word : the default endian.
2255 # Second word: the secondary endian (optional). 2255 # Second word: the secondary endian (optional).
2256 case ${with_endian} in 2256 case ${with_endian} in
2257 big) TM_ENDIAN_CONFIG=mb ;; 2257 big) TM_ENDIAN_CONFIG=mb ;;
2258 little) TM_ENDIAN_CONFIG=ml ;; 2258 little) TM_ENDIAN_CONFIG=ml ;;
2259 big,little) TM_ENDIAN_CONFIG="mb ml" ;; 2259 big,little) TM_ENDIAN_CONFIG="mb ml" ;;
2260 little,big) TM_ENDIAN_CONFIG="ml mb" ;; 2260 little,big) TM_ENDIAN_CONFIG="ml mb" ;;
2261 *) echo "with_endian=${with_endian} not supported."; exit 1 ;; 2261 *) echo "with_endian=${with_endian} not supported."; exit 1 ;;
2262 esac 2262 esac
2263 case ${with_endian} in 2263 case ${with_endian} in
2264 little*) tm_file="sh/little.h ${tm_file}" ;; 2264 little*) tm_file="sh/little.h ${tm_file}" ;;
2265 esac 2265 esac
2266 tm_file="${tm_file} dbxelf.h elfos.h" 2266 tm_file="${tm_file} dbxelf.h elfos.h"
2267 case ${target} in 2267 case ${target} in
2268 sh*-*-netbsd*) ;; 2268 sh*-*-netbsd*) ;;
2269 *) tm_file="${tm_file} svr4.h" ;; 2269 *) tm_file="${tm_file} svr4.h" ;;
2270 esac 2270 esac
2271 tm_file="${tm_file} sh/elf.h" 2271 tm_file="${tm_file} sh/elf.h"
2272 case ${target} in 2272 case ${target} in
2273 sh*-*-linux*) tmake_file="${tmake_file} sh/t-linux" 2273 sh*-*-linux*) tmake_file="${tmake_file} sh/t-linux"
2274 tm_file="${tm_file} linux.h glibc-stdint.h sh/linux.h" ;; 2274 tm_file="${tm_file} linux.h glibc-stdint.h sh/linux.h" ;;
2275 sh*-*-netbsd*) tm_file="${tm_file} netbsd.h netbsd-elf.h sh/netbsd-elf.h" ;; 2275 sh*-*-netbsd*) tm_file="${tm_file} netbsd.h netbsd-elf.h sh/netbsd-elf.h" ;;
2276 sh*-superh-elf) if test x$with_libgloss != xno; then 2276 sh*-superh-elf) if test x$with_libgloss != xno; then
2277 with_libgloss=yes 2277 with_libgloss=yes
2278 tm_file="${tm_file} sh/newlib.h" 2278 tm_file="${tm_file} sh/newlib.h"
2279 fi 2279 fi
2280 tm_file="${tm_file} sh/embed-elf.h" 2280 tm_file="${tm_file} sh/embed-elf.h"
2281 tm_file="${tm_file} sh/superh.h" 2281 tm_file="${tm_file} sh/superh.h"
2282 tmake_file="${tmake_file} sh/t-superh" 2282 tmake_file="${tmake_file} sh/t-superh"
2283 extra_options="${extra_options} sh/superh.opt" ;; 2283 extra_options="${extra_options} sh/superh.opt" ;;
2284 *) if test x$with_newlib = xyes \ 2284 *) if test x$with_newlib = xyes \
2285 && test x$with_libgloss = xyes; then 2285 && test x$with_libgloss = xyes; then
2286 tm_file="${tm_file} sh/newlib.h" 2286 tm_file="${tm_file} sh/newlib.h"
2287 fi 2287 fi
2288 tm_file="${tm_file} sh/embed-elf.h" ;; 2288 tm_file="${tm_file} sh/embed-elf.h" ;;
2289 esac 2289 esac
2290 case ${target} in 2290 case ${target} in
2291 sh5*-*-netbsd*) 2291 sh5*-*-netbsd*)
2292 # SHmedia, 32-bit ABI 2292 # SHmedia, 32-bit ABI
2293 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd" 2293 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd"
2294 ;; 2294 ;;
2295 sh64*-netbsd*) 2295 sh64*-netbsd*)
2296 # SHmedia, 64-bit ABI 2296 # SHmedia, 64-bit ABI
2297 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd sh/t-netbsd-sh5-64" 2297 tmake_file="${tmake_file} sh/t-sh64 sh/t-netbsd sh/t-netbsd-sh5-64"
2298 ;; 2298 ;;
2299 *-*-netbsd*) 2299 *-*-netbsd*)
2300 tmake_file="${tmake_file} sh/t-netbsd" 2300 tmake_file="${tmake_file} sh/t-netbsd"
2301 ;; 2301 ;;
2302 sh64*-*-linux*) 2302 sh64*-*-linux*)
2303 tmake_file="${tmake_file} sh/t-sh64 sh/t-linux64" 2303 tmake_file="${tmake_file} sh/t-sh64 sh/t-linux64"
2304 tm_file="${tm_file} sh/sh64.h" 2304 tm_file="${tm_file} sh/sh64.h"
2305 extra_headers="shmedia.h ushmedia.h sshmedia.h" 2305 extra_headers="shmedia.h ushmedia.h sshmedia.h"
2306 ;; 2306 ;;
2307 sh64*) 2307 sh64*)
2308 tmake_file="${tmake_file} sh/t-sh64" 2308 tmake_file="${tmake_file} sh/t-sh64"
2309 tm_file="${tm_file} sh/sh64.h" 2309 tm_file="${tm_file} sh/sh64.h"
2310 extra_headers="shmedia.h ushmedia.h sshmedia.h" 2310 extra_headers="shmedia.h ushmedia.h sshmedia.h"
2311 ;; 2311 ;;
2312 *-*-symbianelf*) 2312 *-*-symbianelf*)
2313 tmake_file="sh/t-symbian" 2313 tmake_file="sh/t-symbian"
2314 tm_file="sh/symbian-pre.h sh/little.h ${tm_file} sh/symbian-post.h" 2314 tm_file="sh/symbian-pre.h sh/little.h ${tm_file} sh/symbian-post.h"
2315 c_target_objs="symbian-base.o symbian-c.o" 2315 c_target_objs="symbian-base.o symbian-c.o"
2316 cxx_target_objs="symbian-base.o symbian-cxx.o" 2316 cxx_target_objs="symbian-base.o symbian-cxx.o"
2317 extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o crtbeginS.o crtendS.o" 2317 extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
2318 ;; 2318 ;;
2319 *-*-elf*) 2319 *-*-elf*)
2320 tm_file="${tm_file} newlib-stdint.h" 2320 tm_file="${tm_file} newlib-stdint.h"
2321 ;; 2321 ;;
2322 esac 2322 esac
2323 # sed el/eb endian suffixes away to avoid confusion with sh[23]e 2323 # sed el/eb endian suffixes away to avoid confusion with sh[23]e
2324 case `echo ${target} | sed 's/e[lb]-/-/'` in 2324 case `echo ${target} | sed 's/e[lb]-/-/'` in
2325 sh64*-*-netbsd*) sh_cpu_target=sh5-64media ;; 2325 sh64*-*-netbsd*) sh_cpu_target=sh5-64media ;;
2326 sh64* | sh5*-*-netbsd*) sh_cpu_target=sh5-32media ;; 2326 sh64* | sh5*-*-netbsd*) sh_cpu_target=sh5-32media ;;
2327 sh4a_single_only*) sh_cpu_target=sh4a-single-only ;; 2327 sh4a_single_only*) sh_cpu_target=sh4a-single-only ;;
2328 sh4a_single*) sh_cpu_target=sh4a-single ;; 2328 sh4a_single*) sh_cpu_target=sh4a-single ;;
2329 sh4a_nofpu*) sh_cpu_target=sh4a-nofpu ;; 2329 sh4a_nofpu*) sh_cpu_target=sh4a-nofpu ;;
2330 sh4al) sh_cpu_target=sh4al ;; 2330 sh4al) sh_cpu_target=sh4al ;;
2331 sh4a*) sh_cpu_target=sh4a ;; 2331 sh4a*) sh_cpu_target=sh4a ;;
2332 sh4_single_only*) sh_cpu_target=sh4-single-only ;; 2332 sh4_single_only*) sh_cpu_target=sh4-single-only ;;
2333 sh4_single*) sh_cpu_target=sh4-single ;; 2333 sh4_single*) sh_cpu_target=sh4-single ;;
2334 sh4_nofpu*) sh_cpu_target=sh4-nofpu ;; 2334 sh4_nofpu*) sh_cpu_target=sh4-nofpu ;;
2335 sh4* | sh-superh-*) sh_cpu_target=sh4 ;; 2335 sh4* | sh-superh-*) sh_cpu_target=sh4 ;;
2336 sh3e*) sh_cpu_target=sh3e ;; 2336 sh3e*) sh_cpu_target=sh3e ;;
2337 sh*-*-netbsd* | sh3*) sh_cpu_target=sh3 ;; 2337 sh*-*-netbsd* | sh3*) sh_cpu_target=sh3 ;;
2338 sh2a_single_only*) sh_cpu_target=sh2a-single-only ;; 2338 sh2a_single_only*) sh_cpu_target=sh2a-single-only ;;
2339 sh2a_single*) sh_cpu_target=sh2a-single ;; 2339 sh2a_single*) sh_cpu_target=sh2a-single ;;
2340 sh2a_nofpu*) sh_cpu_target=sh2a-nofpu ;; 2340 sh2a_nofpu*) sh_cpu_target=sh2a-nofpu ;;
2341 sh2a*) sh_cpu_target=sh2a ;; 2341 sh2a*) sh_cpu_target=sh2a ;;
2342 sh2e*) sh_cpu_target=sh2e ;; 2342 sh2e*) sh_cpu_target=sh2e ;;
2343 sh2*) sh_cpu_target=sh2 ;; 2343 sh2*) sh_cpu_target=sh2 ;;
2344 *) sh_cpu_target=sh1 ;; 2344 *) sh_cpu_target=sh1 ;;
2345 esac 2345 esac
2346 # did the user say --without-fp ? 2346 # did the user say --without-fp ?
2347 if test x$with_fp = xno; then 2347 if test x$with_fp = xno; then
2348 case ${sh_cpu_target} in 2348 case ${sh_cpu_target} in
2349 sh5-*media) sh_cpu_target=${sh_cpu_target}-nofpu ;; 2349 sh5-*media) sh_cpu_target=${sh_cpu_target}-nofpu ;;
2350 sh4al | sh1) ;; 2350 sh4al | sh1) ;;
2351 sh4a* ) sh_cpu_target=sh4a-nofpu ;; 2351 sh4a* ) sh_cpu_target=sh4a-nofpu ;;
2352 sh4*) sh_cpu_target=sh4-nofpu ;; 2352 sh4*) sh_cpu_target=sh4-nofpu ;;
2353 sh3*) sh_cpu_target=sh3 ;; 2353 sh3*) sh_cpu_target=sh3 ;;
2354 sh2a*) sh_cpu_target=sh2a-nofpu ;; 2354 sh2a*) sh_cpu_target=sh2a-nofpu ;;
2355 sh2*) sh_cpu_target=sh2 ;; 2355 sh2*) sh_cpu_target=sh2 ;;
2356 *) echo --without-fp not available for $target: ignored 2356 *) echo --without-fp not available for $target: ignored
2357 esac 2357 esac
2358 tm_defines="$tm_defines STRICT_NOFPU=1" 2358 tm_defines="$tm_defines STRICT_NOFPU=1"
2359 fi 2359 fi
2360 sh_cpu_default="`echo $with_cpu|sed s/^m/sh/|tr A-Z_ a-z-`" 2360 sh_cpu_default="`echo $with_cpu|sed s/^m/sh/|tr A-Z_ a-z-`"
2361 case $sh_cpu_default in 2361 case $sh_cpu_default in
2362 sh5-64media-nofpu | sh5-64media | \ 2362 sh5-64media-nofpu | sh5-64media | \
2363 sh5-32media-nofpu | sh5-32media | sh5-compact-nofpu | sh5-compact | \ 2363 sh5-32media-nofpu | sh5-32media | sh5-compact-nofpu | sh5-compact | \
2364 sh2a-single-only | sh2a-single | sh2a-nofpu | sh2a | \ 2364 sh2a-single-only | sh2a-single | sh2a-nofpu | sh2a | \
2365 sh4a-single-only | sh4a-single | sh4a-nofpu | sh4a | sh4al | \ 2365 sh4a-single-only | sh4a-single | sh4a-nofpu | sh4a | sh4al | \
2366 sh4-single-only | sh4-single | sh4-nofpu | sh4 | sh4-300 | \ 2366 sh4-single-only | sh4-single | sh4-nofpu | sh4 | sh4-300 | \
2367 sh3e | sh3 | sh2e | sh2 | sh1) ;; 2367 sh3e | sh3 | sh2e | sh2 | sh1) ;;
2368 "") sh_cpu_default=${sh_cpu_target} ;; 2368 "") sh_cpu_default=${sh_cpu_target} ;;
2369 *) echo "with_cpu=$with_cpu not supported"; exit 1 ;; 2369 *) echo "with_cpu=$with_cpu not supported"; exit 1 ;;
2370 esac 2370 esac
2371 sh_multilibs=${with_multilib_list} 2371 sh_multilibs=${with_multilib_list}
2372 if test "$sh_multilibs" = "default" ; then 2372 if test "$sh_multilibs" = "default" ; then
2373 case ${target} in 2373 case ${target} in
2374 sh64-superh-linux* | \ 2374 sh64-superh-linux* | \
2375 sh[1234]*) sh_multilibs=${sh_cpu_target} ;; 2375 sh[1234]*) sh_multilibs=${sh_cpu_target} ;;
2376 sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;; 2376 sh64* | sh5*) sh_multilibs=m5-32media,m5-32media-nofpu,m5-compact,m5-compact-nofpu,m5-64media,m5-64media-nofpu ;;
2377 sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;; 2377 sh-superh-*) sh_multilibs=m4,m4-single,m4-single-only,m4-nofpu ;;
2378 sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;; 2378 sh*-*-linux*) sh_multilibs=m1,m3e,m4 ;;
2379 sh*-*-netbsd*) sh_multilibs=m3,m3e,m4 ;; 2379 sh*-*-netbsd*) sh_multilibs=m3,m3e,m4 ;;
2380 *) sh_multilibs=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single ;; 2380 *) sh_multilibs=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single ;;
2381 esac 2381 esac
2382 if test x$with_fp = xno; then 2382 if test x$with_fp = xno; then
2383 sh_multilibs="`echo $sh_multilibs|sed -e s/m4/sh4-nofpu/ -e s/,m4-[^,]*//g -e s/,m[23]e// -e s/m2a,m2a-single/m2a-nofpu/ -e s/m5-..m....,//g`" 2383 sh_multilibs="`echo $sh_multilibs|sed -e s/m4/sh4-nofpu/ -e s/,m4-[^,]*//g -e s/,m[23]e// -e s/m2a,m2a-single/m2a-nofpu/ -e s/m5-..m....,//g`"
2384 fi 2384 fi
2385 fi 2385 fi
2386 target_cpu_default=SELECT_`echo ${sh_cpu_default}|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_` 2386 target_cpu_default=SELECT_`echo ${sh_cpu_default}|tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`
2387 tm_defines=${tm_defines}' SH_MULTILIB_CPU_DEFAULT=\"'`echo $sh_cpu_default|sed s/sh/m/`'\"' 2387 tm_defines=${tm_defines}' SH_MULTILIB_CPU_DEFAULT=\"'`echo $sh_cpu_default|sed s/sh/m/`'\"'
2388 tm_defines="$tm_defines SUPPORT_`echo $sh_cpu_default | sed 's/^m/sh/' | tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`=1" 2388 tm_defines="$tm_defines SUPPORT_`echo $sh_cpu_default | sed 's/^m/sh/' | tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`=1"
2389 sh_multilibs=`echo $sh_multilibs | sed -e 's/,/ /g' -e 's/^[Ss][Hh]/m/' -e 's/ [Ss][Hh]/ m/g' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ_ abcdefghijklmnopqrstuvwxyz-` 2389 sh_multilibs=`echo $sh_multilibs | sed -e 's/,/ /g' -e 's/^[Ss][Hh]/m/' -e 's/ [Ss][Hh]/ m/g' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ_ abcdefghijklmnopqrstuvwxyz-`
2390 for sh_multilib in ${sh_multilibs}; do 2390 for sh_multilib in ${sh_multilibs}; do
2391 case ${sh_multilib} in 2391 case ${sh_multilib} in
2392 m1 | m2 | m2e | m3 | m3e | \ 2392 m1 | m2 | m2e | m3 | m3e | \
2393 m4 | m4-single | m4-single-only | m4-nofpu | m4-300 |\ 2393 m4 | m4-single | m4-single-only | m4-nofpu | m4-300 |\
2394 m4a | m4a-single | m4a-single-only | m4a-nofpu | m4al | \ 2394 m4a | m4a-single | m4a-single-only | m4a-nofpu | m4al | \
2395 m2a | m2a-single | m2a-single-only | m2a-nofpu | \ 2395 m2a | m2a-single | m2a-single-only | m2a-nofpu | \
2396 m5-64media | m5-64media-nofpu | \ 2396 m5-64media | m5-64media-nofpu | \
2397 m5-32media | m5-32media-nofpu | \ 2397 m5-32media | m5-32media-nofpu | \
2398 m5-compact | m5-compact-nofpu) 2398 m5-compact | m5-compact-nofpu)
2399 # TM_MULTILIB_CONFIG is used by t-sh for the non-endian multilib definition 2399 # TM_MULTILIB_CONFIG is used by t-sh for the non-endian multilib definition
2400 # It is passed to MULTIILIB_OPTIONS verbatim. 2400 # It is passed to MULTIILIB_OPTIONS verbatim.
2401 TM_MULTILIB_CONFIG="${TM_MULTILIB_CONFIG}/${sh_multilib}" 2401 TM_MULTILIB_CONFIG="${TM_MULTILIB_CONFIG}/${sh_multilib}"
2402 tm_defines="$tm_defines SUPPORT_`echo $sh_multilib | sed 's/^m/sh/' | tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`=1" 2402 tm_defines="$tm_defines SUPPORT_`echo $sh_multilib | sed 's/^m/sh/' | tr abcdefghijklmnopqrstuvwxyz- ABCDEFGHIJKLMNOPQRSTUVWXYZ_`=1"
2403 ;; 2403 ;;
2404 \!*) # TM_MULTILIB_EXCEPTIONS_CONFIG is used by t-sh 2404 \!*) # TM_MULTILIB_EXCEPTIONS_CONFIG is used by t-sh
2405 # It is passed the MULTILIB_EXCEPTIONS verbatim. 2405 # It is passed the MULTILIB_EXCEPTIONS verbatim.
2406 TM_MULTILIB_EXCEPTIONS_CONFIG="${TM_MULTILIB_EXCEPTIONS_CONFIG} `echo $sh_multilib | sed 's/^!//'`" ;; 2406 TM_MULTILIB_EXCEPTIONS_CONFIG="${TM_MULTILIB_EXCEPTIONS_CONFIG} `echo $sh_multilib | sed 's/^!//'`" ;;
2407 *) 2407 *)
2408 echo "with_multilib_list=${sh_multilib} not supported." 2408 echo "with_multilib_list=${sh_multilib} not supported."
2409 exit 1 2409 exit 1
2410 ;; 2410 ;;
2411 esac 2411 esac
2412 done 2412 done
2413 TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's:^/::'` 2413 TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's:^/::'`
2414 if test x${enable_incomplete_targets} = xyes ; then 2414 if test x${enable_incomplete_targets} = xyes ; then
2415 tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1 SUPPORT_SH5_32MEDIA=1 SUPPORT_SH5_32MEDIA_NOFPU=1 SUPPORT_SH5_64MEDIA=1 SUPPORT_SH5_64MEDIA_NOFPU=1" 2415 tm_defines="$tm_defines SUPPORT_SH1=1 SUPPORT_SH2E=1 SUPPORT_SH4=1 SUPPORT_SH4_SINGLE=1 SUPPORT_SH2A=1 SUPPORT_SH2A_SINGLE=1 SUPPORT_SH5_32MEDIA=1 SUPPORT_SH5_32MEDIA_NOFPU=1 SUPPORT_SH5_64MEDIA=1 SUPPORT_SH5_64MEDIA_NOFPU=1"
2416 fi 2416 fi
2417 tm_file="$tm_file ./sysroot-suffix.h" 2417 tm_file="$tm_file ./sysroot-suffix.h"
2418 tmake_file="$tmake_file t-sysroot-suffix" 2418 tmake_file="$tmake_file t-sysroot-suffix"
2419 ;; 2419 ;;
2420sh-*-rtems*) 2420sh-*-rtems*)
2421 tmake_file="sh/t-sh sh/t-elf t-rtems sh/t-rtems" 2421 tmake_file="sh/t-sh sh/t-elf t-rtems sh/t-rtems"
2422 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h" 2422 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h newlib-stdint.h"
2423 ;; 2423 ;;
2424sh-wrs-vxworks) 2424sh-wrs-vxworks)
2425 tmake_file="$tmake_file sh/t-sh sh/t-elf sh/t-vxworks" 2425 tmake_file="$tmake_file sh/t-sh sh/t-elf sh/t-vxworks"
2426 tm_file="${tm_file} elfos.h svr4.h sh/elf.h sh/embed-elf.h vx-common.h vxworks.h sh/vxworks.h" 2426 tm_file="${tm_file} elfos.h svr4.h sh/elf.h sh/embed-elf.h vx-common.h vxworks.h sh/vxworks.h"
2427 ;; 2427 ;;
2428sparc-*-netbsdelf*) 2428sparc-*-netbsdelf*)
2429 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h" 2429 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2430 extra_options="${extra_options} sparc/long-double-switch.opt" 2430 extra_options="${extra_options} sparc/long-double-switch.opt"
2431 ;; 2431 ;;
2432sparc64-*-openbsd*) 2432sparc64-*-openbsd*)
2433 tm_file="sparc/openbsd1-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h" 2433 tm_file="sparc/openbsd1-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sp64-elf.h"
2434 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h sparc/openbsd64.h" 2434 tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h sparc/openbsd64.h"
2435 extra_options="${extra_options} sparc/little-endian.opt" 2435 extra_options="${extra_options} sparc/little-endian.opt"
2436 gas=yes gnu_ld=yes 2436 gas=yes gnu_ld=yes
2437 with_cpu=ultrasparc 2437 with_cpu=ultrasparc
2438 ;; 2438 ;;
2439sparc-*-elf*) 2439sparc-*-elf*)
2440 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h svr4.h sparc/sysv4.h sparc/sp-elf.h" 2440 tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h svr4.h sparc/sysv4.h sparc/sp-elf.h"
2441 tmake_file="sparc/t-elf sparc/t-crtfm" 2441 tmake_file="sparc/t-elf sparc/t-crtfm"
2442 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 2442 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2443 ;; 2443 ;;
2444sparc-*-linux*) # SPARC's running GNU/Linux, libc6 2444sparc-*-linux*) # SPARC's running GNU/Linux, libc6
2445 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h" 2445 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h"
2446 extra_options="${extra_options} sparc/long-double-switch.opt" 2446 extra_options="${extra_options} sparc/long-double-switch.opt"
2447 tmake_file="${tmake_file} sparc/t-linux" 2447 tmake_file="${tmake_file} sparc/t-linux"
2448 if test x$enable_targets = xall; then 2448 if test x$enable_targets = xall; then
2449 tm_file="sparc/biarch64.h ${tm_file} sparc/linux64.h" 2449 tm_file="sparc/biarch64.h ${tm_file} sparc/linux64.h"
2450 tmake_file="${tmake_file} sparc/t-linux64" 2450 tmake_file="${tmake_file} sparc/t-linux64"
2451 else 2451 else
2452 tm_file="${tm_file} sparc/linux.h" 2452 tm_file="${tm_file} sparc/linux.h"
2453 fi 2453 fi
2454 tmake_file="${tmake_file} sparc/t-crtfm" 2454 tmake_file="${tmake_file} sparc/t-crtfm"
2455 ;; 2455 ;;
2456sparc-*-rtems*) 2456sparc-*-rtems*)
2457 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" 2457 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"
2458 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems" 2458 tmake_file="sparc/t-elf sparc/t-crtfm t-rtems"
2459 extra_parts="crti.o crtn.o crtbegin.o crtend.o" 2459 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2460 ;; 2460 ;;
2461sparc*-*-solaris2*) 2461sparc*-*-solaris2*)
2462 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h" 2462 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h"
2463 case ${target} in 2463 case ${target} in
2464 *-*-solaris2.1[0-9]*) 2464 *-*-solaris2.1[0-9]*)
2465 tm_file="${tm_file} sol2-10.h" 2465 tm_file="${tm_file} sol2-10.h"
2466 use_gcc_stdint=wrap 2466 use_gcc_stdint=wrap
2467 ;; 2467 ;;
2468 *) 2468 *)
2469 use_gcc_stdint=provide 2469 use_gcc_stdint=provide
2470 ;; 2470 ;;
2471 esac 2471 esac
2472 tm_file="${tm_file} sparc/sol2.h" 2472 tm_file="${tm_file} sparc/sol2.h"
2473 case ${target} in 2473 case ${target} in
2474 sparc64-*-* | sparcv9-*-*) 2474 sparc64-*-* | sparcv9-*-*)
2475 tm_file="${tm_file} sparc/sol2-64.h" 2475 tm_file="${tm_file} sparc/sol2-64.h"
2476 ;; 2476 ;;
2477 *) 2477 *)
2478 test x$with_cpu != x || with_cpu=v9 2478 test x$with_cpu != x || with_cpu=v9
2479 ;; 2479 ;;
2480 esac 2480 esac
2481 tm_file="${tm_file} sparc/sol2-bi.h" 2481 tm_file="${tm_file} sparc/sol2-bi.h"
2482 if test x$gas = xyes; then 2482 if test x$gas = xyes; then
2483 tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h" 2483 tm_file="${tm_file} sparc/sol2-gas.h sparc/sol2-gas-bi.h"
2484 fi 2484 fi
2485 if test x$gnu_ld = xyes; then 2485 if test x$gnu_ld = xyes; then
2486 tm_file="${tm_file} sol2-gld.h sparc/sol2-gld-bi.h" 2486 tm_file="${tm_file} sol2-gld.h sparc/sol2-gld-bi.h"
2487 fi 2487 fi
2488 tm_file="${tm_file} tm-dwarf2.h" 2488 tm_file="${tm_file} tm-dwarf2.h"
2489 tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm" 2489 tmake_file="t-sol2 sparc/t-sol2 sparc/t-sol2-64 sparc/t-crtfm"
2490 if test x$gnu_ld = xyes; then 2490 if test x$gnu_ld = xyes; then
2491 tmake_file="$tmake_file t-slibgcc-elf-ver" 2491 tmake_file="$tmake_file t-slibgcc-elf-ver"
2492 else 2492 else
2493 tmake_file="$tmake_file t-slibgcc-sld" 2493 tmake_file="$tmake_file t-slibgcc-sld"
2494 fi 2494 fi
2495 if test x$gas = xyes; then 2495 if test x$gas = xyes; then
2496 tm_file="usegas.h ${tm_file}" 2496 tm_file="usegas.h ${tm_file}"
2497 fi 2497 fi
2498 c_target_objs="sol2-c.o" 2498 c_target_objs="sol2-c.o"
2499 cxx_target_objs="sol2-c.o" 2499 cxx_target_objs="sol2-c.o"
2500 extra_objs="sol2.o" 2500 extra_objs="sol2.o"
2501 tm_p_file="${tm_p_file} sol2-protos.h" 2501 tm_p_file="${tm_p_file} sol2-protos.h"
2502 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o" 2502 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2503 case ${enable_threads}:${have_pthread_h}:${have_thread_h} in 2503 case ${enable_threads}:${have_pthread_h}:${have_thread_h} in
2504 "":yes:* | yes:yes:* ) 2504 "":yes:* | yes:yes:* )
2505 thread_file=posix 2505 thread_file=posix
2506 ;; 2506 ;;
2507 "":*:yes | yes:*:yes ) 2507 "":*:yes | yes:*:yes )
2508 thread_file=solaris 2508 thread_file=solaris
2509 ;; 2509 ;;
2510 esac 2510 esac
2511 ;; 2511 ;;
2512sparc-wrs-vxworks) 2512sparc-wrs-vxworks)
2513 tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h vx-common.h vxworks.h sparc/vxworks.h" 2513 tm_file="${tm_file} elfos.h svr4.h sparc/sysv4.h vx-common.h vxworks.h sparc/vxworks.h"
2514 tmake_file="${tmake_file} sparc/t-vxworks" 2514 tmake_file="${tmake_file} sparc/t-vxworks"
2515 ;; 2515 ;;
2516sparc64-*-elf*) 2516sparc64-*-elf*)
2517 tm_file="${tm_file} dbxelf.h elfos.h svr4.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h" 2517 tm_file="${tm_file} dbxelf.h elfos.h svr4.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h"
2518 extra_options="${extra_options} sparc/little-endian.opt" 2518 extra_options="${extra_options} sparc/little-endian.opt"
2519 tmake_file="${tmake_file} sparc/t-crtfm" 2519 tmake_file="${tmake_file} sparc/t-crtfm"
2520 extra_parts="crtbegin.o crtend.o" 2520 extra_parts="crtbegin.o crtend.o"
2521 ;; 2521 ;;
2522sparc64-*-freebsd*|ultrasparc-*-freebsd*) 2522sparc64-*-freebsd*|ultrasparc-*-freebsd*)
2523 tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h" 2523 tm_file="${tm_file} ${fbsd_tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/freebsd.h"
2524 extra_options="${extra_options} sparc/long-double-switch.opt" 2524 extra_options="${extra_options} sparc/long-double-switch.opt"
2525 tmake_file="${tmake_file} sparc/t-crtfm" 2525 tmake_file="${tmake_file} sparc/t-crtfm"
2526 case "x$with_cpu" in 2526 case "x$with_cpu" in
2527 xultrasparc) ;; 2527 xultrasparc) ;;
2528 x) with_cpu=ultrasparc ;; 2528 x) with_cpu=ultrasparc ;;
2529 *) echo "$with_cpu not supported for freebsd target"; exit 1 ;; 2529 *) echo "$with_cpu not supported for freebsd target"; exit 1 ;;
2530 esac 2530 esac
2531 ;; 2531 ;;
2532sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux 2532sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
2533 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h sparc/linux64.h" 2533 tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h glibc-stdint.h sparc/linux64.h"
2534 extra_options="${extra_options} sparc/long-double-switch.opt" 2534 extra_options="${extra_options} sparc/long-double-switch.opt"
2535 tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm" 2535 tmake_file="${tmake_file} sparc/t-linux sparc/t-linux64 sparc/t-crtfm"
2536 ;; 2536 ;;
2537sparc64-*-netbsd*) 2537sparc64-*-netbsd*)
2538 tm_file="sparc/biarch64.h ${tm_file}" 2538 tm_file="sparc/biarch64.h ${tm_file}"
2539 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h" 2539 tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h netbsd.h netbsd-elf.h sparc/netbsd-elf.h"
2540 extra_options="${extra_options} sparc/long-double-switch.opt" 2540 extra_options="${extra_options} sparc/long-double-switch.opt"
2541 tmake_file="${tmake_file} sparc/t-netbsd64" 2541 tmake_file="${tmake_file} sparc/t-netbsd64"
2542 with_cpu=ultrasparc 2542 with_cpu=ultrasparc
2543 ;; 2543 ;;
2544spu-*-elf*) 2544spu-*-elf*)
2545 tm_file="dbxelf.h elfos.h spu/spu-elf.h spu/spu.h newlib-stdint.h" 2545 tm_file="dbxelf.h elfos.h spu/spu-elf.h spu/spu.h newlib-stdint.h"
2546 tmake_file="spu/t-spu-elf" 2546 tmake_file="spu/t-spu-elf"
2547 extra_headers="spu_intrinsics.h spu_internals.h vmx2spu.h spu_mfcio.h vec_types.h spu_cache.h" 2547 extra_headers="spu_intrinsics.h spu_internals.h vmx2spu.h spu_mfcio.h vec_types.h spu_cache.h"
2548 extra_modes=spu/spu-modes.def 2548 extra_modes=spu/spu-modes.def
2549 c_target_objs="${c_target_objs} spu-c.o" 2549 c_target_objs="${c_target_objs} spu-c.o"
2550 cxx_target_objs="${cxx_target_objs} spu-c.o" 2550 cxx_target_objs="${cxx_target_objs} spu-c.o"
2551 ;; 2551 ;;
2552v850e1-*-*) 2552v850e1-*-*)
2553 target_cpu_default="TARGET_CPU_v850e1" 2553 target_cpu_default="TARGET_CPU_v850e1"
2554 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h v850/v850.h" 2554 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h v850/v850.h"
2555 tm_p_file=v850/v850-protos.h 2555 tm_p_file=v850/v850-protos.h
2556 tmake_file=v850/t-v850e 2556 tmake_file=v850/t-v850e
2557 md_file=v850/v850.md 2557 md_file=v850/v850.md
2558 out_file=v850/v850.c 2558 out_file=v850/v850.c
2559 extra_options="${extra_options} v850/v850.opt" 2559 extra_options="${extra_options} v850/v850.opt"
2560 if test x$stabs = xyes 2560 if test x$stabs = xyes
2561 then 2561 then
2562 tm_file="${tm_file} dbx.h" 2562 tm_file="${tm_file} dbx.h"
2563 fi 2563 fi
2564 use_collect2=no 2564 use_collect2=no
2565 c_target_objs="v850-c.o" 2565 c_target_objs="v850-c.o"
2566 cxx_target_objs="v850-c.o" 2566 cxx_target_objs="v850-c.o"
2567 use_gcc_stdint=wrap 2567 use_gcc_stdint=wrap
2568 ;; 2568 ;;
2569v850e-*-*) 2569v850e-*-*)
2570 target_cpu_default="TARGET_CPU_v850e" 2570 target_cpu_default="TARGET_CPU_v850e"
2571 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h v850/v850.h" 2571 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h v850/v850.h"
2572 tm_p_file=v850/v850-protos.h 2572 tm_p_file=v850/v850-protos.h
2573 tmake_file=v850/t-v850e 2573 tmake_file=v850/t-v850e
2574 md_file=v850/v850.md 2574 md_file=v850/v850.md
2575 out_file=v850/v850.c 2575 out_file=v850/v850.c
2576 extra_options="${extra_options} v850/v850.opt" 2576 extra_options="${extra_options} v850/v850.opt"
2577 if test x$stabs = xyes 2577 if test x$stabs = xyes
2578 then 2578 then
2579 tm_file="${tm_file} dbx.h" 2579 tm_file="${tm_file} dbx.h"
2580 fi 2580 fi
2581 use_collect2=no 2581 use_collect2=no
2582 c_target_objs="v850-c.o" 2582 c_target_objs="v850-c.o"
2583 cxx_target_objs="v850-c.o" 2583 cxx_target_objs="v850-c.o"
2584 use_gcc_stdint=wrap 2584 use_gcc_stdint=wrap
2585 ;; 2585 ;;
2586v850-*-*) 2586v850-*-*)
2587 target_cpu_default="TARGET_CPU_generic" 2587 target_cpu_default="TARGET_CPU_generic"
2588 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}" 2588 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
2589 tmake_file=v850/t-v850 2589 tmake_file=v850/t-v850
2590 if test x$stabs = xyes 2590 if test x$stabs = xyes
2591 then 2591 then
2592 tm_file="${tm_file} dbx.h" 2592 tm_file="${tm_file} dbx.h"
2593 fi 2593 fi
2594 use_collect2=no 2594 use_collect2=no
2595 c_target_objs="v850-c.o" 2595 c_target_objs="v850-c.o"
2596 cxx_target_objs="v850-c.o" 2596 cxx_target_objs="v850-c.o"
2597 use_gcc_stdint=wrap 2597 use_gcc_stdint=wrap
2598 ;; 2598 ;;
2599vax-*-linux*) 2599vax-*-linux*)
2600 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h" 2600 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h"
2601 tmake_file="${tmake_file} vax/t-linux" 2601 tmake_file="${tmake_file} vax/t-linux"
2602 ;; 2602 ;;
2603vax-*-netbsdelf*) 2603vax-*-netbsdelf*)
2604 tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h" 2604 tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"
2605 ;; 2605 ;;
2606vax-*-netbsd*) 2606vax-*-netbsd*)
2607 tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h" 2607 tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
2608 tmake_file=t-netbsd 2608 tmake_file=t-netbsd
2609 extra_parts="" 2609 extra_parts=""
2610 use_collect2=yes 2610 use_collect2=yes
2611 ;; 2611 ;;
2612vax-*-openbsd*) 2612vax-*-openbsd*)
2613 tm_file="vax/vax.h vax/openbsd1.h openbsd.h openbsd-stdint.h openbsd-pthread.h vax/openbsd.h" 2613 tm_file="vax/vax.h vax/openbsd1.h openbsd.h openbsd-stdint.h openbsd-pthread.h vax/openbsd.h"
2614 use_collect2=yes 2614 use_collect2=yes
2615 ;; 2615 ;;
2616xstormy16-*-elf) 2616xstormy16-*-elf)
2617 # For historical reasons, the target files omit the 'x'. 2617 # For historical reasons, the target files omit the 'x'.
2618 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h stormy16/stormy16.h" 2618 tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h stormy16/stormy16.h"
2619 tm_p_file=stormy16/stormy16-protos.h 2619 tm_p_file=stormy16/stormy16-protos.h
2620 md_file=stormy16/stormy16.md 2620 md_file=stormy16/stormy16.md
2621 out_file=stormy16/stormy16.c 2621 out_file=stormy16/stormy16.c
2622 extra_options=stormy16/stormy16.opt 2622 extra_options=stormy16/stormy16.opt
2623 tmake_file="stormy16/t-stormy16" 2623 tmake_file="stormy16/t-stormy16"
2624 extra_parts="crtbegin.o crtend.o" 2624 extra_parts="crtbegin.o crtend.o"
2625 ;; 2625 ;;
2626xtensa*-*-elf*) 2626xtensa*-*-elf*)
2627 tm_file="${tm_file} dbxelf.h elfos.h svr4.h newlib-stdint.h xtensa/elf.h" 2627 tm_file="${tm_file} dbxelf.h elfos.h svr4.h newlib-stdint.h xtensa/elf.h"
2628 tmake_file="xtensa/t-xtensa xtensa/t-elf" 2628 tmake_file="xtensa/t-xtensa xtensa/t-elf"
2629 ;; 2629 ;;
2630xtensa*-*-linux*) 2630xtensa*-*-linux*)
2631 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h xtensa/linux.h" 2631 tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h xtensa/linux.h"
2632 tmake_file="${tmake_file} xtensa/t-xtensa xtensa/t-linux" 2632 tmake_file="${tmake_file} xtensa/t-xtensa xtensa/t-linux"
2633 ;; 2633 ;;
2634am33_2.0-*-linux*) 2634am33_2.0-*-linux*)
2635 tm_file="mn10300/mn10300.h dbxelf.h elfos.h linux.h glibc-stdint.h mn10300/linux.h" 2635 tm_file="mn10300/mn10300.h dbxelf.h elfos.h linux.h glibc-stdint.h mn10300/linux.h"
2636 tmake_file="${tmake_file} mn10300/t-linux" 2636 tmake_file="${tmake_file} mn10300/t-linux"
2637 gas=yes gnu_ld=yes 2637 gas=yes gnu_ld=yes
2638 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" 2638 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2639 use_collect2=no 2639 use_collect2=no
2640 ;; 2640 ;;
2641m32c-*-rtems*) 2641m32c-*-rtems*)
2642 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h" 2642 tm_file="dbxelf.h elfos.h svr4.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h"