summaryrefslogtreecommitdiffstats
path: root/libgcc/config.host
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config.host')
-rw-r--r--libgcc/config.host10
1 files changed, 8 insertions, 2 deletions
diff --git a/libgcc/config.host b/libgcc/config.host
index 4a0897c2515..1e815181802 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -830,9 +830,15 @@ powerpc64-*-darwin*)
tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble"
extra_parts="$extra_parts crt2.o"
;;
-powerpc-*-freebsd*)
- tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp t-slibgcc-libgcc"
+powerpc*-*-freebsd*)
+ tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp"
extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
+ case ${host} in
+ powerpc64*)
+ tmake_file="${tmake_file} rs6000/t-freebsd64"
+ md_unwind_header=rs6000/freebsd-unwind.h
+ ;;
+ esac
;;
powerpc-*-netbsd*)
tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
OpenPOWER on IntegriCloud