Subject: CVS commit: basesrc/libexec/ld.elf_so/arch/powerpc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/26/2001 07:06:44
Module Name:	basesrc
Committed By:	mycroft
Date:		Wed Sep 26 04:06:44 UTC 2001

Modified Files:
	basesrc/libexec/ld.elf_so/arch/powerpc: rtld_start.S

Log Message:
In the `I can't believe it's been broken all this time' department:
_rtld_bind_start must save and restore the condition codes.  Varargs functions
(like, say, printf()) depend on the state of cr1 to determine whether they need
to store floating point registers in the save area.  Without this, the first
call to any particular varargs function will fail if floating point values were
passed.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ld.elf_so/arch/powerpc/rtld_start.S

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