diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-18 22:57:32 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-18 22:57:32 -0500 |
commit | 9565a349f217fb6f532fac06b7ef458a32c2ad2e (patch) | |
tree | 8c04bf07adcdc61315d71796331c971f281d5103 /src/math/sqrt.c | |
parent | 0004ea613ac310daaee30c167112d796db33fa70 (diff) | |
download | musl-9565a349f217fb6f532fac06b7ef458a32c2ad2e.tar.gz musl-9565a349f217fb6f532fac06b7ef458a32c2ad2e.tar.xz musl-9565a349f217fb6f532fac06b7ef458a32c2ad2e.zip |
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.
Diffstat (limited to 'src/math/sqrt.c')
0 files changed, 0 insertions, 0 deletions