Seems that ABI mandates that we allocate space for arg0..4 even if we do pass them as registers. For some reason write_io_register<> functions write in that stack area (1 word) corrupting the s0 saved register. This seems to be a new gcc behaviour? |
||
|---|---|---|
| .. | ||
| mips_emit.h | ||
| mips_stub.S | ||