Commit Graph
3 Commits
Author SHA1 Message Date
Rich Felker 9565a349f2 fix powerpc asm not to store data in volatile space below stack pointer
it's essential to decrement the stack pointer before writing to new
stack space, rather than afterwards. otherwise there is a race
condition during which asynchronous code (signals) could clobber the
data being stored.

it may be possible to optimize the code further using stwu, but I
wanted to avoid making any changes to the actual stack layout in this
commit. further improvements can be made separately if desired.
2012-11-18 22:57:32 -05:00
Rich Felker d1bf452d75 fix indention with spaces in powerpc asm 2012-11-14 14:27:51 -05:00
rofl0r 1c8eb8bad7 PPC port cleaned up, static linking works well now. 2012-11-13 19:12:25 +01:00