https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116833
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
On IRC rearnshaw said that t-crtfm should have been added to tmake_file when
crtfasthmath.o was added to extra_parts i.e.
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -579,7 +579,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
tm_file="$tm_file arm/bpabi-lib.h"
case ${host} in
arm*-*-eabi* | arm*-*-rtems*)
- tmake_file="${tmake_file} arm/t-bpabi arm/t-sync t-crtfm"
+ tmake_file="${tmake_file} arm/t-bpabi arm/t-sync"
extra_parts="crtbegin.o crtend.o crti.o crtn.o"
;;
arm*-*-symbianelf*)
@@ -588,7 +588,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
# Symbian OS provides its own startup code.
;;
esac
- tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp
t-softfp"
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp
t-softfp t-crtfm"
extra_parts="$extra_parts crtfastmath.o"
unwind_header=config/arm/unwind-arm.h
;;