Module Name: src Committed By: simonb Date: Sat Feb 6 06:58:59 UTC 2021
Modified Files: src/lib/libc/arch/mips/sys: cerror.S Log Message: For mips n32/n64 explicitly save the GP reg on the stack, and restore it _after_ the call to __errno(). Fixes sending the __errno() call off to nowhereland when this code is included in another library (eg __posix_cerror() in libposix). Failure picked up by the ATF lib/libposix/posix1/t_rename test. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/arch/mips/sys/cerror.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.