Re: Why all glibc2 programs are FPU programs

Pavel Machek (pavel@elf.ucw.cz)
Thu, 28 May 1998 10:53:35 +0200


Hi!

> The alternative I presented yesterday is that the kernel passes up in
> the auxiliary vector (remember, we get this almost for free!) the
> value it will use. I.e., we have
>
> - almost no extra code to determine <kvalue>
>
> - always the correct value for the kernel beneath
>
> - no dependencies between kernel and libc
>
> And it is trivial to implement in the kernel (about 2 extra lines) and
> in the libc as well.

I originally thought that patch to kernel is going to be big and
heavy. If it is not (2 lines seem reasonable to me), could you please
post proposed kernel modification?

Pavel
PS: But... If kernel changes init word some time in future, all
programs (like /bin/true) will start using FPU, again. Well, so we
just will not change that word. :-)

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu