| @@ -843,26 +843,37 @@ mcore-*-elf) | | | @@ -843,26 +843,37 @@ mcore-*-elf) |
843 | ;; | | 843 | ;; |
844 | microblaze*-linux*) | | 844 | microblaze*-linux*) |
845 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc" | | 845 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc" |
846 | ;; | | 846 | ;; |
847 | microblaze*-*-elf) | | 847 | microblaze*-*-elf) |
848 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | | 848 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" |
849 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | | 849 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" |
850 | ;; | | 850 | ;; |
851 | microblaze*-*-rtems*) | | 851 | microblaze*-*-rtems*) |
852 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" | | 852 | tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit" |
853 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" | | 853 | extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o" |
854 | ;; | | 854 | ;; |
855 | mips*-*-netbsd*) # NetBSD/mips, either endian. | | 855 | mips*-*-netbsd*) # NetBSD/mips, either endian. |
| | | 856 | if test "${libgcc_cv_mips_hard_float}" = no; then |
| | | 857 | # Eat soft float stuff added above since the netbsd libc provides it. |
| | | 858 | xtmake_file= |
| | | 859 | for t in ${tmake_file}; do |
| | | 860 | case $t in |
| | | 861 | *softfp*) ;; |
| | | 862 | *) xtmake_file="${xtmake_file} $t";; |
| | | 863 | esac |
| | | 864 | done |
| | | 865 | tmake_file="${xtmake_file}" |
| | | 866 | fi |
856 | ;; | | 867 | ;; |
857 | mips*-*-linux*) # Linux MIPS, either endian. | | 868 | mips*-*-linux*) # Linux MIPS, either endian. |
858 | extra_parts="$extra_parts crtfastmath.o" | | 869 | extra_parts="$extra_parts crtfastmath.o" |
859 | tmake_file="${tmake_file} t-crtfm" | | 870 | tmake_file="${tmake_file} t-crtfm" |
860 | case ${host} in | | 871 | case ${host} in |
861 | mips64r5900* | mipsr5900*) | | 872 | mips64r5900* | mipsr5900*) |
862 | # The MIPS16 support code uses floating point | | 873 | # The MIPS16 support code uses floating point |
863 | # instructions that are not supported on r5900. | | 874 | # instructions that are not supported on r5900. |
864 | ;; | | 875 | ;; |
865 | *) | | 876 | *) |
866 | tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc" | | 877 | tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc" |
867 | ;; | | 878 | ;; |
868 | esac | | 879 | esac |