This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc move to the top level
On Sat, Dec 30, 2006 at 09:20:48AM +0100, Paolo Bonzini wrote:
> Daniel Jacobowitz wrote:
> >On Fri, Dec 29, 2006 at 11:13:07AM -0500, Daniel Jacobowitz wrote:
> >>is completely mechanical and I am comfortable committing as obvious). I
> >>will test the branch on powerpc64-linux and at least one other
> >>platform.
> >
> >I needed this additional patch for powerpc64-linux. I went through the
> >entire set of migrated targets more thoroughly; powerpc* and frv*
> >needed adjustment.
>
> Can you document why more precisely? I am a bit lost about what happens
> for frv.
It's not strictly necessary, only for the correctness tests I added to
libgcc for the transition period. t-frv builds frvbegin.o and frvend.o
for its own purposes; frv.h puts them in STARTFILE_SPEC and
ENDFILE_SPEC; linux.h removes them again; but t-linux didn't remove
them. So they are built but not used for frv-linux on trunk.
This triggers an error because libgcc notes they are not in the libgcc
configuration.
I could have added them to libgcc instead to preserve the existing
behavior, but it's useless, so I didn't. I haven't affected them for
frv-elf, of course.
--
Daniel Jacobowitz
CodeSourcery