From: Scott Wood <[EMAIL PROTECTED]>
Date: Fri, 02 May 2008 17:38:21 -0500

> David Miller wrote:
> > The kernel is a special environment.  Therefore even if you start
> > linking with libgcc, it is inevitable that you will need some
> > changed local version for some of those routines in the kernel.
> 
> Such as?

When I added the software multiply and divide implemenations
to the 32-bit sparc port, I ended up using a different software
trap for signalling divide by zero in the handler so that it
was easier to detect the "from kernel" kernel case.

We're not talking about big complicated routines, we're talking about
quite simple stubs whose interfaces really are not going to change.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to