Subject: CVS commit: basesrc/lib/csu/powerpc
To: None <>
From: Matt Thomas <>
List: source-changes
Date: 04/17/2002 16:32:43
Module Name:	basesrc
Committed By:	matt
Date:		Wed Apr 17 13:32:43 UTC 2002

Modified Files:
	basesrc/lib/csu/powerpc: crt0.c

Log Message:
Make sure to initialize GPR13/GPR2 appropriately for the Small Data Area
pointer as described in the SVR4 PPC ABI.  Though GPR2 is defined by the
SVR4 PPC ABI as system-reserved, the EABI (Embedded API) changes its use
to be the Small Data Area 2 register (const small data).  Since powerpc
under NetBSD doesn't use R2 in the kernel (yet), support it as well.

To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 basesrc/lib/csu/powerpc/crt0.c

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