David McCulloug writes: "There's a bug in the SH asm,  it calls into 'C' code without preserving all the important scratch registers.   I have been meaning to double check the changes as I think more registers need to be saved,  then I was going to send it back to uClibc.  From the sound of it this isn't your problem,  but you never know. Attached is the patch as it stands for the loader on SH."
David McCulloug writes:
"There's a bug in the SH asm,  it calls into 'C' code without preserving
all the important scratch registers.   I have been meaning to double
check the changes as I think more registers need to be saved,  then I
was going to send it back to uClibc.  From the sound of it this isn't
your problem,  but you never know.
Attached is the patch as it stands for the loader on SH."

Glibc appears to do the same.

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc