]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc: enable DFP for AArch64
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 23 Mar 2022 15:25:16 +0000 (15:25 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Fri, 20 May 2022 07:33:52 +0000 (09:33 +0200)
DFP support on AArch64 relies on libgcc, so enable its DFP routines
for all AArch64 targets.

2022-03-31  Christophe Lyon  <christophe.lyon@arm.com>

libgcc/
* config.host: Add t-dfprules to AArch64 targets.

libgcc/config.host

index 8c56fcae5d2fdfcc8d1f9b2614f0c41ad44f258f..927d34a9573de8e42bcafcc88c0e908ba60ba422 100644 (file)
@@ -382,6 +382,7 @@ aarch64*-*-elf | aarch64*-*-rtems*)
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+       tmake_file="${tmake_file} t-dfprules"
        md_unwind_header=aarch64/aarch64-unwind.h
        ;;
 aarch64*-*-freebsd*)
@@ -389,18 +390,21 @@ aarch64*-*-freebsd*)
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+       tmake_file="${tmake_file} t-dfprules"
        md_unwind_header=aarch64/freebsd-unwind.h
        ;;
 aarch64*-*-netbsd*)
        extra_parts="$extra_parts crtfastmath.o"
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+       tmake_file="${tmake_file} t-dfprules"
        md_unwind_header=aarch64/aarch64-unwind.h
        ;;
 aarch64*-*-fuchsia*)
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp"
+       tmake_file="${tmake_file} t-dfprules"
        ;;
 aarch64*-*-linux*)
        extra_parts="$extra_parts crtfastmath.o"
@@ -408,6 +412,7 @@ aarch64*-*-linux*)
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+       tmake_file="${tmake_file} t-dfprules"
        ;;
 aarch64*-*-vxworks7*)
        extra_parts="$extra_parts crtfastmath.o"
@@ -415,6 +420,7 @@ aarch64*-*-vxworks7*)
        tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
        tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
        tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
+       tmake_file="${tmake_file} t-dfprules"
        ;;
 alpha*-*-linux*)
        tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux"