This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH]: More precisely control crt* output on Sparc.
From: Jakub Jelinek <jakub@redhat.com>
Date: Mon, 5 May 2008 11:55:47 +0200
> On Thu, May 01, 2008 at 02:28:38AM -0700, David Miller wrote:
> > I noticed this while hacking on Gold sparc support a few
> > weeks ago.
> >
> > If we're generating an 32-bit sparc glibc, with v9 optimizations,
> > the base CSU files should still only use the most basic sparc
> > instructions so that they do not get marked as v8+.
>
> Why isn't appending -mcpu=v7 to CFLAGS-initfini.s for 32-bit sparc libc
> sufficient?
Yes, that would work too.
But it doesn't get rid of the call_gprof_*() function :-)