This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: ppc completely soft patches
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com,Daniel Jacobowitz <drow at mvista dot com>
- Date: Mon, 4 Nov 2002 19:14:32 +0100
- Subject: Re: ppc completely soft patches
- References: <9BFF447A-E2EE-11D6-A887-000393750C1E@redhat.com>
On Saturday 19 October 2002 01:09, Aldy Hernandez wrote:
> >> + __adddf3; __addsf3; __divdf3; __divsf3; __eqdf2; __eqsf2;
> >> + __extendsfdf2; __fixdfdi; __fixdfsi; __fixsfdi; __fixsfsi;
> >> + __fixtfdi; __fixtfsi;
> >> + __fixunsdfdi; __fixunsdfsi; __fixunssfdi; __fixunssfsi;
> >> + __floatdidf; __floatdisf; __floatsidf; __floatsisf;
> >> + __gedf2; __gesf2; __ledf2; __lesf2; __muldf3; __mulsf3;
> >> + __negdf2; __negsf2; __sqrtdf2; __sqrtsf2; __subdf3;
> >> + __subsf3; __truncdfsf2; __trunctfsf2;
> >> +
> >> _q_add; _q_cmp; _q_cmpe; _q_div; _q_dtoq; _q_feq; _q_fge; _q_fgt;
> >> _q_fle; _q_flt; _q_fne; _q_itoq; _q_mul; _q_neg; _q_qtod;
> >> _q_qtoi;
> >> _q_qtos; _q_qtou; _q_sqrt; _q_stoq; _q_sub;
> >
> > What is this hunk good for? If they are _really_ needed for backwards
> > compatibility, do it like powerpc32/libgcc-compat.S to avoid exporting
> > them
> > as link-time references.
>
> For soft-float, gcc will emit calls to these in user space, and we want
> to use the library functions in libc, not the ones that come with
> libgcc.
Well, what's wrong with the functions in nof/libgcc.a? If gcc is used for
linking they will always be used anyway, cause the link order is -lgcc -lc
-lgcc? If the functions in libgcc.a are broken, libgcc should be fixed
instead, or?
Franz.