Bug 4442

Summary: powerpc-linux 'clone.S' corrupts registers R29..R31
Product: uClibc Reporter: strauman
Component: ThreadsAssignee: unassigned
Status: RESOLVED FIXED    
Severity: blocker CC: uclibc-cvs
Priority: P5    
Version: 0.9.32   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: bugfix

Description strauman 2011-11-04 03:08:17 UTC
Created attachment 3728 [details]
bugfix

Nobody uses pthreads under powerpc-linux?

libc/sysdep/linux/powerpc/clone.S has saving/restoring of R29..R31 messed up
resulting in corrupted contents.
In my case, this caused SIGSEGV when creating threads.

The cause is a small typo...
Comment 1 Bernhard Reutner-Fischer 2011-11-04 12:05:31 UTC
Fixed in 84144d142cb9f041dd18285cb2ad9dbe6619b0a2
Thanks,