+2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if
+ -ffast-math etc.
+
2011-06-06 Richard Henderson <rth@redhat.com>
Georg-Johann Lay <avr@gjlay.de>
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
- "crtend.o%s irix-crtn.o%s \
+ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+ crtend.o%s irix-crtn.o%s \
%{!shared: \
%{mabi=n32:%{mips4:/usr/lib32/mips4/crtn.o%s}\
%{!mips4:/usr/lib32/mips3/crtn.o%s}}\
+2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
+ Add crtfastmath.o to extra_parts.
+ (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
+ mips/t-crtfm.
+ * config/mips/t-crtfm: Remove.
+
2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config.host (hppa*-*-linux*): Correct md_unwind_header name.
tmake_file="microblaze/t-microblaze"
;;
mips-sgi-irix6.5*)
- tmake_file="mips/t-irix6 t-slibgcc mips/t-slibgcc-irix"
- extra_parts="crtbegin.o crtend.o irix-crti.o irix-crtn.o"
+ tmake_file="mips/t-irix6 t-crtfm t-slibgcc mips/t-slibgcc-irix"
+ extra_parts="crtbegin.o crtend.o crtfastmath.o irix-crti.o irix-crtn.o"
;;
mips*-*-netbsd*) # NetBSD/mips, either endian.
;;
mips64*-*-linux*)
extra_parts="$extra_parts crtfastmath.o"
- tmake_file="{$tmake_file} mips/t-crtfm"
+ tmake_file="{$tmake_file} t-crtfm"
md_unwind_header=mips/linux-unwind.h
;;
mips*-*-linux*) # Linux MIPS, either endian.
extra_parts="$extra_parts crtfastmath.o"
- tmake_file="{$tmake_file} mips/t-crtfm"
+ tmake_file="{$tmake_file} t-crtfm"
md_unwind_header=mips/linux-unwind.h
;;
mips*-*-openbsd*)
+++ /dev/null
-crtfastmath.o: $(gcc_srcdir)/config/mips/crtfastmath.c
- $(gcc_compile) -c $(gcc_srcdir)/config/mips/crtfastmath.c
-