This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: linux-mips build fix
On Thursday 12 September 2002 19:55, Jakub Jelinek wrote:
> On Thu, Sep 12, 2002 at 07:49:23PM +0200, Guido Guenther wrote:
> > On Thu, Sep 12, 2002 at 04:26:15PM +0200, Jakub Jelinek wrote:
> > > On Thu, Sep 12, 2002 at 01:25:34PM +0200, Guido Guenther wrote:
> > > > Hi,
> > > > the attached patch makes divdi3 available for mips, helping the build
> > > > of 2.2.93 a bit further.
> > >
> > > Please don't.
> > > I'll post soonish a different patch which solves it for all wordsize-32
> > > arches once.
> >
> > So why was this added in the first place. It seems the "please don't"
> > applies at least to: arm, i386, m68k, powerpc and sh?
>
> See the patch I posted today which removes it from
> arm, i386, m68k, powerpc/powerpc32, sh and s390/s390-32/
> and adds it to wordsize-32.
Hmm, I haven't checked yet, but if the Makefile in sysdeps/wordsize-32/ is
used, is it still assured that it prefers and uses
sysdeps/powerpc/powerpc32/divdi3.c on ppc32?
BTW, can't we INTDEF and hide all 4 divdi3 routines? That would be more
consistent and won't let any platform export these by accident (and would cut
down the ppc32 version to the really relevant parts).
Franz.