IEEE-128 long double needs the KFmode soft-float (and optional POWER9
hardware) support routines in libgcc. Add the t-float128 and
t-float128-hw fragments for FreeBSD powerpc64*, gated on the same
libgcc_cv_powerpc_float128[_hw] checks the linux configuration uses.
libgcc/ChangeLog:
* config.host (powerpc64*-*-freebsd*): Add rs6000/t-float128 and
rs6000/t-float128-hw to tmake_file when supported.
Signed-off-by: Piotr Kubaj <[email protected]>
---
libgcc/config.host | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libgcc/config.host b/libgcc/config.host
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1234,6 +1234,12 @@
powerpc64*)
tmake_file="${tmake_file} rs6000/t-freebsd64"
md_unwind_header=rs6000/freebsd-unwind.h
+ if test $libgcc_cv_powerpc_float128 = yes; then
+ tmake_file="${tmake_file} rs6000/t-float128"
+ fi
+ if test $libgcc_cv_powerpc_float128_hw = yes; then
+ tmake_file="${tmake_file} rs6000/t-float128-hw"
+ fi
;;
esac
;;
--
2.49.0