Re: [ALPHA] Fix unaligned stxncpy again

From: Ivan Kokshaysky
Date: Sat Apr 10 2004 - 12:50:37 EST


On Sat, Apr 10, 2004 at 09:50:40AM +1000, Herbert Xu wrote:
> Thanks. But is there any reason why we need to have code that
> is different from glibc?

The code is different anyway because the glibc routine clobbers
t7 register which must not be touched in the kernel.
Apparently the whole mess started with a typo in the register
renaming patch...
Yes, ideally glibc and kernel stxncpy code can be exactly the same,
but this assumes that the glibc variant is updated to not use the t7.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/