Module Name: src Committed By: matt Date: Tue Mar 16 16:07:25 UTC 2010
Modified Files: src/lib/libc/arch/mips/sys [matt-nb5-mips64]: cerror.S Log Message: Restore GP before calling __errno() and then do a normal return (since gp is only used to obtain address of __errno and never used afterwards). Otherwise since __errno overwrites t3 we would restore a bogus gp value. Bug reported by Juli Mallett from FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.13.46.4 -r1.13.46.5 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.