![jonathan](/assets/img/avatar_default.png)
Explicilty reload the mips-ABIcall GOT/$gp in cerror(). cerror() gets called from outside libc (e.g., from libposix's rename(), and if we don't load $t9, cerror() makes wild references using the libposix $gp and coredumps.
Explicilty reload the mips-ABIcall GOT/$gp in cerror(). cerror() gets called from outside libc (e.g., from libposix's rename(), and if we don't load $t9, cerror() makes wild references using the libposix $gp and coredumps.