This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lib2funcs and fpbit both rely on each other
2005/9/15, Paul Brook <paul@codesourcery.com>:
> On Thursday 15 September 2005 10:59, Eric Fisher wrote:
> > Hello,
> >
> > When building Libgcc with new porting gcc, _floatdidf.o failed for
> > undefined symbol
> > _floatsidf. I've been told that _floatsidf is in fpbit.c as
> > _si_to_df.o. Then I modified the libgcc.mk and firstly build fpbit.
> > But _pack_df.o failed for undefined symbol
> > _ashldi3.o which is in libgcc2.c. It seems that they are rely on both
> > each other.
>
> Sounds like your assembler is broken. Building libgcc shouldn't require
> linking anything, so you should never get undefined symbols when building
> libgcc.a.
>
> Paul
>
Thanks a lot. Indeed, the assembler gets wrong in handling of
long jump. Your words takes me tumble to it and bring me out
of a week's puzzle.
Cheers.
Eric