[uClibc] ldso 0.9.21, libstdc++ crashes on PowerPC GCC 3.3.1
joakim.tjernlund at lumentis.se
Mon Oct 6 08:07:27 UTC 2003
> On Mon Oct 06, 2003 at 09:20:09AM +0200, Joakim Tjernlund wrote:
> > I browsed the uClib WWW CVS to find memcpy and friends and I did not find them.
I found a Wmemcpy. I suppose this is what you ment. It is very slow.
> > I suspect these are impl. in C somewhere. Is there a reason why these aren't in
> > assembler? It would be easy to rip these from the kernel.
> The kernel is GPL while uClibc is LGPL. So while we can borrow
> code from things like glibc, we cannot borrow kernel code.
Ahh, I see.
Maybe this memcpy will do, which is inspired by the kernel memcpy but I wrote
it myself as a test.
bne- 3f /* word align destination */
1: lwz r7,4(r4)
2: or. r5,r5,r5
3: mtxer r0
More information about the uClibc