This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Deal with -lgcc -lc dependencies
On Thu, Apr 04, 2002 at 01:47:38PM -0800, petrov@pacbell.net wrote:
> On Thu, Apr 04, 2002 at 01:17:50AM -0800, David S. Miller wrote:
> >
> > No PRs, I found this during one of my sparc target builds. The
> > libgcc2 --> libc reference was to .udiv which is what gcc emits on
> > sparc for divisions when the compiler is told not to assume the
> > underlying cpu has integer division instructions.
> >
> > For a sparc-*-linux target, the gcc testsuite test:
> >
> > gcc.dg/special/gcsec-1.c
> >
> > is sufficient to generate the undefined references to .udiv
> >
>
> Thanks for info. It seems that it's only glibc problem.
> Solaris has .umul/.udiv in libc so it should be fine. May be glibc
> can have those as well.
??? glibc has .umul/.udiv etc. in libc.
Jakub