diff options
Diffstat (limited to 'libgcc/config.host')
| -rw-r--r-- | libgcc/config.host | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/libgcc/config.host b/libgcc/config.host index 6a88ee5..82ea177 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -141,19 +141,6 @@ lm32*-*-*) ;; loongarch*-*) cpu_type=loongarch - tmake_file="loongarch/t-loongarch" - if test "${libgcc_cv_loongarch_hard_float}" = yes; then - tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp" - else - tmake_file="${tmake_file} t-softfp-sfdf" - fi - if test "${ac_cv_sizeof_long_double}" = 16; then - tmake_file="${tmake_file} loongarch/t-softfp-tf" - fi - if test "${host_address}" = 64; then - tmake_file="${tmake_file} loongarch/t-loongarch64" - fi - tmake_file="${tmake_file} t-softfp" ;; m32r*-*-*) cpu_type=m32r @@ -472,6 +459,9 @@ aarch64-*-mingw*) posix) tmake_thr_file="mingw/t-mingw-pthread" ;; + mcf) + tmake_thr_file="mingw/t-mingw-mcfgthread" + ;; esac tmake_file="${tmake_file} ${cpu_type}/t-no-eh ${tmake_thr_file}" tmake_file="${tmake_file} t-dfprules" @@ -904,7 +894,7 @@ i[34567]86-*-mingw*) tmake_thr_file="mingw/t-mingw-pthread" ;; mcf) - tmake_thr_file="i386/t-mingw-mcfgthread" + tmake_thr_file="mingw/t-mingw-mcfgthread" ;; esac # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h @@ -931,7 +921,7 @@ x86_64-*-mingw*) tmake_thr_file="mingw/t-mingw-pthread" ;; mcf) - tmake_thr_file="i386/t-mingw-mcfgthread" + tmake_thr_file="mingw/t-mingw-mcfgthread" ;; esac # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h @@ -1000,16 +990,22 @@ lm32-*-uclinux*) ;; loongarch*-linux*) extra_parts="$extra_parts crtfastmath.o" - tmake_file="${tmake_file} t-crtfm loongarch/t-crtstuff" - case ${host} in - *) - tmake_file="${tmake_file} t-slibgcc-libgcc" - ;; - esac md_unwind_header=loongarch/linux-unwind.h + tmake_file="${tmake_file} loongarch/t-loongarch t-softfp-sfdf loongarch/t-softfp-tf" + if test "${host_address}" = 64; then + tmake_file="${tmake_file} loongarch/t-loongarch64" + fi + tmake_file="${tmake_file} t-softfp" + tmake_file="${tmake_file} t-crtfm loongarch/t-crtstuff" + tmake_file="${tmake_file} t-slibgcc-libgcc" ;; loongarch*-elf*) extra_parts="$extra_parts crtfastmath.o" + tmake_file="${tmake_file} loongarch/t-loongarch t-softfp-sfdf loongarch/t-softfp-tf" + if test "${host_address}" = 64; then + tmake_file="${tmake_file} loongarch/t-loongarch64" + fi + tmake_file="${tmake_file} t-softfp" tmake_file="${tmake_file} t-crtfm loongarch/t-crtstuff" tmake_file="${tmake_file} t-slibgcc-libgcc" ;; @@ -1394,6 +1390,8 @@ s390x-*-linux*) tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux t-stack s390/t-stack-s390" if test "${host_address}" = 32; then tmake_file="${tmake_file} s390/32/t-floattodi" + else + tmake_file="${tmake_file} s390/t-softfp t-softfp" fi md_unwind_header=s390/linux-unwind.h ;; |
