iris6.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc.

gcc:
	* config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if
	-ffast-math etc.

	libgcc:
	* 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.

From-SVN: r174686
This commit is contained in:
Rainer Orth 2011-06-06 09:49:47 +00:00 committed by Rainer Orth
parent 48f9d59afe
commit aa4203e734
5 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,8 @@
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>

View File

@ -256,7 +256,8 @@ along with GCC; see the file COPYING3. If not see
#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}}\

View File

@ -1,3 +1,11 @@
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.

View File

@ -438,19 +438,19 @@ microblaze*-*-*)
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*)

View File

@ -1,3 +0,0 @@
crtfastmath.o: $(gcc_srcdir)/config/mips/crtfastmath.c
$(gcc_compile) -c $(gcc_srcdir)/config/mips/crtfastmath.c