This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/gcc config.gcc config/sparc/linux.h config ...
From: "David O'Brien" <obrien@FreeBSD.org>
Date: Fri, 5 Apr 2002 04:43:57 -0800
Is this something the BSD's should want? I notice you added this to all
the UltraSparc configurations except FreeBSD and NetBSD.
Yes, but I had no way to regression test those
platforms.
Just add the following to ENDFILE_SPEC:
%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}
then add sparc/t-crtfm to tmake_file for that platform in config.gcc,
looking quickly something like the following should work in
config/sparc/freebsd.h:
#undef ENDFILE_SPEC
#define ENDFILE_SPEC FBSD_ENDFILE_SPEC \
"%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"