Bug 4442 - powerpc-linux 'clone.S' corrupts registers R29..R31
Summary: powerpc-linux 'clone.S' corrupts registers R29..R31
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Threads (show other bugs)
Version: 0.9.32
Hardware: Other Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 03:08 UTC by strauman
Modified: 2011-11-04 12:05 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
bugfix (494 bytes, patch)
2011-11-04 03:08 UTC, strauman
Details

Note You need to log in before you can comment on or make changes to this bug.
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,