Re: SP must be 8 byte aligned on entry to AAPCS-conforming functions

2006-07-03 Thread Richard Earnshaw
On Mon, 2006-07-03 at 02:10, Bridge Wu wrote: > Hello, > > When I built blob with arm-iwmmxt-linux-gnueabi toolchain, I found the > SP value before invoking number() in printf() may be 0 or 4 modulo 8. > If SP is 0 modulo 8, printf worked well, but while SP is 4 modulo 8, > printf failed. It canno

SP must be 8 byte aligned on entry to AAPCS-conforming functions

2006-07-02 Thread Bridge Wu
Hello, When I built blob with arm-iwmmxt-linux-gnueabi toolchain, I found the SP value before invoking number() in printf() may be 0 or 4 modulo 8. If SP is 0 modulo 8, printf worked well, but while SP is 4 modulo 8, printf failed. It cannot store long long type parameter into stack before invoki