Comment 2 for bug 446866

Revision history for this message
Marcus Comstedt (marcus-mc) wrote :

This happens to me as well.

Analyzing the problem, I found that the called function "_savegpr_30" has a non-standard calling convention; it takes its input parameter in r11. However, the call to the function goes through the PLT (a dynamic call), which clobbers r11. This looks like a GCC bug.

The following GCC patch might be relevant: http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00264.html