This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizations on long long multiply/divide on PowerPC32 don't work
- From: mike stump <mrs at windriver dot com>
- To: minyard at acm dot org, rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 7 Dec 2001 18:13:33 -0800 (PST)
- Subject: Re: Optimizations on long long multiply/divide on PowerPC32 don't work
> Date: Fri, 7 Dec 2001 16:49:04 -0800
> From: Richard Henderson <rth@redhat.com>
> To: Corey Minyard <minyard@acm.org>
> Cc: gcc@gcc.gnu.org
> On Fri, Dec 07, 2001 at 06:09:55PM -0600, Corey Minyard wrote:
> > 1) Add __divdi3 to the linux kernel. I don't really think this is a
> > good idea, and it shouldn't be required.
> Yes it should. I've long considered it a bug that Linux
> didn't link against libgcc.
Speaking as someone that has a kernel and gcc, let me say, that of
course one wants to link against libgcc.a and libstdc++.a. In fact,
one might even want to go out of their way to include large swaths of
the libraries even though there are no references to them, just so
that dynamically loaded code can resolve against it.
This is the recommendation of the gcc folks, and if folks don't want
to follow it, that is their problem, and they will have to deal with
it by themselves, as they created it.
I've been witnessing these problems first hand for the last 4 years,
and I know it is the right solution.