Subject: CVS commit: basesrc/lib/libc/arch/sparc64/softfloat
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 02/05/2002 09:53:08
Module Name:	basesrc
Committed By:	jmc
Date:		Tue Feb  5 07:53:07 UTC 2002

Added Files:
	basesrc/lib/libc/arch/sparc64/softfloat: milieu.h qp.c
	    softfloat-specialize softfloat-wrapper.c softfloat.h sparc64-gcc.h

Log Message:
Add softfloat and quad softfloat setup for sparc64 (thanks to Andrey Petrov
for most of this. I just integrated the build).

This adds proper functions for the _Qp* parts of the sparc64 ABI (which
handle quad softfloat). The routines work but need additional testing.
However if the compiler calls these currently bad things (core dumps)
will happen as gcc 2.95.3 generates bad calls for these.

Until that problem is fixed in the toolchain -msoft-quad-float cannot be
enabled as the default option for all builds (but the routines need to be
in libc as libgcc contains some references to these and anything including
it via --whole-archive will need the symbols to at least resolve).


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 basesrc/lib/libc/arch/sparc64/softfloat/milieu.h \
    basesrc/lib/libc/arch/sparc64/softfloat/qp.c \
    basesrc/lib/libc/arch/sparc64/softfloat/softfloat-specialize \
    basesrc/lib/libc/arch/sparc64/softfloat/softfloat-wrapper.c \
    basesrc/lib/libc/arch/sparc64/softfloat/softfloat.h \
    basesrc/lib/libc/arch/sparc64/softfloat/sparc64-gcc.h

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