Subject: CVS commit: [nathanw_sa] basesrc/lib/libc/arch/mips/gen
To: None <source-changes@netbsd.org>
From: Wayne Knowles <wdk@netbsd.org>
List: source-changes
Date: 11/24/2001 04:11:55
Module Name:	basesrc
Committed By:	wdk
Date:		Sat Nov 24 02:11:55 UTC 2001

Modified Files:
	basesrc/lib/libc/arch/mips/gen [nathanw_sa]: _lwp.c makecontext.c

Log Message:
MIPS ABI calls require function target address to be stored in $t9
which is later used for calculating the correct $gp value for PIC
references

Therefore if we are forcing the program counter to call a function, we must
set the same address in the $t9 register


To generate a diff of this commit:
cvs rdiff -r1.1.2.1 -r1.1.2.2 basesrc/lib/libc/arch/mips/gen/_lwp.c
cvs rdiff -r1.1.2.3 -r1.1.2.4 basesrc/lib/libc/arch/mips/gen/makecontext.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.