lkml.org 
[lkml]   [2004]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.035 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site