Messages in this thread | | | Date | Sat, 10 Apr 2004 21:46:33 +0400 | From | Ivan Kokshaysky <> | Subject | Re: [ALPHA] Fix unaligned stxncpy again |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |