Re: [PATCH] work around duff ABIs

John Levon
2002-10-20T05:43:26Z

On Sun, Oct 20, 2002 at 05:31:47AM +0100, Matthew Wilcox wrote:

> *sigh*. i hate this kind of bullshit. please, don't anyone ever try
> to pass 64-bit args through the syscall interface again.

I was about to do exactly that ...

> + * LFS versions of truncate are only needed on 32 bit machines. PA-RISC
> + * and MIPS ABIs specify 64-bit alignment for 64-bit quantities, but glibc
> + * ignores this and passes 64-bit quantities in misaligned registers.

Isn't glibc broken ?

regards
john

--
"It's a cardboard universe ... and if you lean too hard against it, you fall
through."
- Philip K. Dick