diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-09-02 15:58:26 -0700 |
commit | 071b4126c613881f4cb25b4e5c39032964827f88 (patch) | |
tree | 7ed805786566918630d1d617b1ed8f7310f5fd8e /libgcc/config.host | |
parent | 845d23f3ea08ba873197c275a8857eee7edad996 (diff) | |
parent | caa1c2f42691d68af4d894a5c3e700ecd2dba080 (diff) | |
download | gcc-devel/gfortran-test.zip gcc-devel/gfortran-test.tar.gz gcc-devel/gfortran-test.tar.bz2 |
Merge branch 'master' into gfortran-testdevel/gfortran-test
Diffstat (limited to 'libgcc/config.host')
-rw-r--r-- | libgcc/config.host | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/libgcc/config.host b/libgcc/config.host index d36f0e3..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 @@ -1003,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" ;; @@ -1397,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 ;; |