This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: generalize STARTFILE/ENDFILE_SPEC for linux
- From: "Peter S. Mazinger" <ps dot m at gmx dot net>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 9 Jan 2006 17:05:32 +0100 (CET)
- Subject: Re: RFC: generalize STARTFILE/ENDFILE_SPEC for linux
On Mon, 9 Jan 2006, Jakub Jelinek wrote:
> On Mon, Jan 09, 2006 at 02:38:17PM +0100, Peter S. Mazinger wrote:
> > for HAVE_ENDFILE_MATH and HAVE_NOSTARTFILE_STATIC another possibility
> > would be
> > %{static:%:if-exists-else(crtbeginT.o%s crtbegin.o%s)}
> > %{ffast-math|funsafe-math-optimizations:%:if-exists(crtfastmath.o%s)}
>
> That's IMHO a bad idea, because that means additional runtime overhead.
>
> Jakub
ok, haven't thought of the performance impact, the patch as it is won't
have this problem.
Thanks, Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2