Patchwork PR44482; Add missing prototypes in soft-fp

login
register
mail settings
Submitter Jack Howarth
Date Dec. 21, 2010, 2:41 a.m.
Message ID <20101221024143.GA3651@bromo.med.uc.edu>
Download mbox | patch
Permalink /patch/76256/
State New
Headers show

Comments

Jack Howarth - Dec. 21, 2010, 2:41 a.m.
The attached patch adds the missing prototypes to the source files in
config/soft-fp so that the numerous "no previous prototype" warnings are
eliminated when -Wmissing-prototypes is used. Bootstrap and regression tested
on x86_64-apple-darwin10 (-m32/-m64). Okay for gcc trunk?
                 Jack

2010-12-20  Jack Howarth <howarth@bromo.med.uc.edu>

	PR c/44482
	* config/soft-fp/fixunstfsi.c: Add missing prototype.
	* config/soft-fp/unordsf2.c: Ditto.
	* config/soft-fp/unordtf2.c: Ditto.
	* config/soft-fp/lesf2.c: Ditto.
	* config/soft-fp/floatdisf.c: Ditto.
	* config/soft-fp/letf2.c: Ditto.
	* config/soft-fp/extendsfdf2.c: Ditto.
	* config/soft-fp/fixtfsi.c: Ditto.
	* config/soft-fp/floatunsidf.c: Ditto.
	* config/soft-fp/divdf3.c: Ditto.
	* config/soft-fp/truncdfsf2.c: Ditto.
	* config/soft-fp/trunctfdf2.c: Ditto.
	* config/soft-fp/floattisf.c: Ditto.
	* config/soft-fp/extendsftf2.c: Ditto.
	* config/soft-fp/floatunsitf.c: Ditto.
	* config/soft-fp/divsf3.c: Ditto.
	* config/soft-fp/floatundidf.c: Ditto.
	* config/soft-fp/divtf3.c: Ditto.
	* config/soft-fp/trunctfsf2.c: Ditto.
	* config/soft-fp/negdf2.c: Ditto.
	* config/soft-fp/trunctfxf2.c: Ditto.
	* config/soft-fp/floatuntidf.c: Ditto.
	* config/soft-fp/floatunditf.c: Ditto.
	* config/soft-fp/fixunssfdi.c: Ditto.
	* config/soft-fp/negsf2.c: Ditto.
	* config/soft-fp/negtf2.c: Ditto.
	* config/soft-fp/subdf3.c: Ditto.
	* config/soft-fp/gedf2.c: Ditto.
	* config/soft-fp/muldf3.c: Ditto.
	* config/soft-fp/fixsfdi.c: Ditto.
	* config/soft-fp/floatunsisf.c: Ditto.
	* config/soft-fp/floatuntitf.c: Ditto.
	* config/soft-fp/eqdf2.c: Ditto.
	* config/soft-fp/fixunssfti.c: Ditto.
	* config/soft-fp/fixunsdfdi.c: Ditto.
	* config/soft-fp/subsf3.c: Ditto.
	* config/soft-fp/gesf2.c: Ditto.
	* config/soft-fp/subtf3.c: Ditto.
	* config/soft-fp/getf2.c: Ditto.
	* config/soft-fp/mulsf3.c: Ditto.
	* config/soft-fp/multf3.c: Ditto.
	* config/soft-fp/floatsidf.c: Ditto.
	* config/soft-fp/fixsfti.c: Ditto.
	* config/soft-fp/extenddftf2.c: Ditto.
	* config/soft-fp/fixdfdi.c: Ditto.
	* config/soft-fp/floatundisf.c: Ditto.
	* config/soft-fp/eqsf2.c: Ditto.
	* config/soft-fp/eqtf2.c: Ditto.
	* config/soft-fp/fixunsdfti.c: Ditto.
	* config/soft-fp/fixunstfdi.c: Ditto.
	* config/soft-fp/adddf3.c: Ditto.
	* config/soft-fp/floatsitf.c: Ditto.
	* config/soft-fp/floatdidf.c: Ditto.
	* config/soft-fp/fixtfdi.c: Ditto.
	* config/soft-fp/fixdfti.c: Ditto.
	* config/soft-fp/floatuntisf.c: Ditto.
	* config/soft-fp/extendxftf2.c: Ditto.
	* config/soft-fp/fixunssfsi.c: Ditto.
	* config/soft-fp/fixunstfti.c: Ditto.
	* config/soft-fp/addsf3.c: Ditto.
	* config/soft-fp/addtf3.c: Ditto.
	* config/soft-fp/fixsfsi.c: Ditto.
	* config/soft-fp/floattidf.c: Ditto.
	* config/soft-fp/floatditf.c: Ditto.
	* config/soft-fp/fixtfti.c: Ditto.
	* config/soft-fp/fixunsdfsi.c: Ditto.
	* config/soft-fp/unorddf2.c: Ditto.
	* config/soft-fp/floatsisf.c: Ditto.
	* config/soft-fp/ledf2.c: Ditto.
	* config/soft-fp/floattitf.c: Ditto.
	* config/soft-fp/fixdfsi.c: Ditto.
Jakub Jelinek - Dec. 21, 2010, 8:45 a.m.
On Mon, Dec 20, 2010 at 09:41:43PM -0500, Jack Howarth wrote:
>    The attached patch adds the missing prototypes to the source files in
> config/soft-fp so that the numerous "no previous prototype" warnings are
> eliminated when -Wmissing-prototypes is used. Bootstrap and regression tested
> on x86_64-apple-darwin10 (-m32/-m64). Okay for gcc trunk?

No.  soft-fp is imported from glibc, so changes need to go there first.
And such changes are very unlikely to be accepted there, prototypes right
before function definition are really useless but to silence a warning that
can be easily turned off when compiling soft-fp files.
If anything, the prototypes could be provided by a common header, if you
pick one of the GCC owned instead of soft-fp owned, you wouldn't even have
to change glibc for that.

	Jakub
Jack Howarth - Dec. 21, 2010, 4:04 p.m.
On Tue, Dec 21, 2010 at 09:45:25AM +0100, Jakub Jelinek wrote:
> On Mon, Dec 20, 2010 at 09:41:43PM -0500, Jack Howarth wrote:
> >    The attached patch adds the missing prototypes to the source files in
> > config/soft-fp so that the numerous "no previous prototype" warnings are
> > eliminated when -Wmissing-prototypes is used. Bootstrap and regression tested
> > on x86_64-apple-darwin10 (-m32/-m64). Okay for gcc trunk?
> 
> No.  soft-fp is imported from glibc, so changes need to go there first.
> And such changes are very unlikely to be accepted there, prototypes right
> before function definition are really useless but to silence a warning that
> can be easily turned off when compiling soft-fp files.
> If anything, the prototypes could be provided by a common header, if you
> pick one of the GCC owned instead of soft-fp owned, you wouldn't even have
> to change glibc for that.

Jakub,
   Looking at the preprocessed source for fixtfsi.i, it is difficult to see
where one could jam a gcc specific header into the build without either
adding a new include into the soft-fp source files or hard coding the
explicit include into the Makefile.in file itself. So it looks like disabling
-Wmissing-prototypes for soft-fp is the path of least resistance.
> 	Jakub
Jack Howarth - Dec. 21, 2010, 10:53 p.m.
On Tue, Dec 21, 2010 at 09:45:25AM +0100, Jakub Jelinek wrote:
> On Mon, Dec 20, 2010 at 09:41:43PM -0500, Jack Howarth wrote:
> >    The attached patch adds the missing prototypes to the source files in
> > config/soft-fp so that the numerous "no previous prototype" warnings are
> > eliminated when -Wmissing-prototypes is used. Bootstrap and regression tested
> > on x86_64-apple-darwin10 (-m32/-m64). Okay for gcc trunk?
> 
> No.  soft-fp is imported from glibc, so changes need to go there first.
> And such changes are very unlikely to be accepted there, prototypes right
> before function definition are really useless but to silence a warning that
> can be easily turned off when compiling soft-fp files.
> If anything, the prototypes could be provided by a common header, if you
> pick one of the GCC owned instead of soft-fp owned, you wouldn't even have
> to change glibc for that.
> 
> 	Jakub

Jakub,
   Actually we already are passing -Wno-missing-prototypes via libgcc/config/t-softfp
on linux...

/home/howarth/work/./gcc/xgcc -B/home/howarth/work/./gcc/ -B/home/howarth/dist/x86_64-unknown-linux-gnu/bin/ -B/home/howarth/dist/x86_64-unknown-linux-gnu/lib/ -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/include -isystem /home/howarth/dist/x86_64-unknown-linux-gnu/sys-include    -g -O2 -m32 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../../.././gcc -I../../../../gcc/libgcc -I../../../../gcc/libgcc/. -I../../../../gcc/libgcc/../gcc -I../../../../gcc/libgcc/../include -I../../../../gcc/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -Wno-missing-prototypes -Wno-type-limits -o unordtf2.o -MT unordtf2.o -MD -MP -MF unordtf2.dep -fexceptions -c ../../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c: In function ‘__unordtf2’:
../../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c:37:1: warning: variable ‘B_s’ set but not used [-Wunused-but-set-variable]
../../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c:36:1: warning: variable ‘A_s’ set but not used [-Wunused-but-set-variable]

but on darwin the usage of t-softfp appears to be lost...

/Users/howarth/darwin_objdir/./gcc/xgcc -B/Users/howarth/darwin_objdir/./gcc/ -B/Users/howarth/dist/x86_64-apple-darwin10.5.0/bin/ -B/Users/howarth/dist/x86_64-apple-darwin10.5.0/lib/ -isystem /Users/howarth/dist/x86_64-apple-darwin10.5.0/include -isystem /Users/howarth/dist/x86_64-apple-darwin10.5.0/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o unordtf2.o -MT unordtf2.o -MD -MP -MF unordtf2.dep -fexceptions -c ../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c: In function '__unordtf2':
../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c:39:1: warning: variable 'B_s' set but not used [-Wunused-but-set-variable]
../../../gcc/libgcc/../gcc/config/soft-fp/unordtf2.c:38:1: warning: variable 'A_s' set but not used [-Wunused-but-set-variable]

I'll open a target specific PR for this issue.
            Jack

Patch

Index: config/soft-fp/fixunstfsi.c
===================================================================
--- config/soft-fp/fixunstfsi.c	(revision 168075)
+++ config/soft-fp/fixunstfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+USItype __fixunstfsi(TFtype);
 USItype __fixunstfsi(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/unordsf2.c
===================================================================
--- config/soft-fp/unordsf2.c	(revision 168075)
+++ config/soft-fp/unordsf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 1 iff a or b is a NaN, 0 otherwise.
-   Copyright (C) 2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joseph Myers (joseph@codesourcery.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+CMPtype __unordsf2(SFtype, SFtype);
 CMPtype __unordsf2(SFtype a, SFtype b)
 {
   FP_DECL_S(A);
Index: config/soft-fp/unordtf2.c
===================================================================
--- config/soft-fp/unordtf2.c	(revision 168075)
+++ config/soft-fp/unordtf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 1 iff a or b is a NaN, 0 otherwise.
-   Copyright (C) 2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joseph Myers (joseph@codesourcery.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+CMPtype __unordtf2(TFtype, TFtype);
 CMPtype __unordtf2(TFtype a, TFtype b)
 {
   FP_DECL_Q(A);
Index: config/soft-fp/lesf2.c
===================================================================
--- config/soft-fp/lesf2.c	(revision 168075)
+++ config/soft-fp/lesf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+CMPtype __lesf2(SFtype, SFtype);
 CMPtype __lesf2(SFtype a, SFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __ltsf2(SFtype, SFtype);
 strong_alias(__lesf2, __ltsf2);
Index: config/soft-fp/floatdisf.c
===================================================================
--- config/soft-fp/floatdisf.c	(revision 168075)
+++ config/soft-fp/floatdisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit signed integer to IEEE single
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floatdisf(DItype);
 SFtype __floatdisf(DItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/letf2.c
===================================================================
--- config/soft-fp/letf2.c	(revision 168075)
+++ config/soft-fp/letf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+CMPtype __letf2(TFtype, TFtype);
 CMPtype __letf2(TFtype a, TFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __lttf2(TFtype, TFtype);
 strong_alias(__letf2, __lttf2);
Index: config/soft-fp/extendsfdf2.c
===================================================================
--- config/soft-fp/extendsfdf2.c	(revision 168075)
+++ config/soft-fp/extendsfdf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a converted to IEEE double
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "single.h"
 #include "double.h"
 
+DFtype __extendsfdf2(SFtype);
 DFtype __extendsfdf2(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixtfsi.c
===================================================================
--- config/soft-fp/fixtfsi.c	(revision 168075)
+++ config/soft-fp/fixtfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+SItype __fixtfsi(TFtype);
 SItype __fixtfsi(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatunsidf.c
===================================================================
--- config/soft-fp/floatunsidf.c	(revision 168075)
+++ config/soft-fp/floatunsidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit unsigned integer to IEEE double
-   Copyright (C) 1997, 1999, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floatunsidf(USItype);
 DFtype __floatunsidf(USItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/divdf3.c
===================================================================
--- config/soft-fp/divdf3.c	(revision 168075)
+++ config/soft-fp/divdf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a / b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __divdf3(DFtype, DFtype);
 DFtype __divdf3(DFtype a, DFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/truncdfsf2.c
===================================================================
--- config/soft-fp/truncdfsf2.c	(revision 168075)
+++ config/soft-fp/truncdfsf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Truncate IEEE double into IEEE single
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "single.h"
 #include "double.h"
 
+SFtype __truncdfsf2(DFtype);
 SFtype __truncdfsf2(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/trunctfdf2.c
===================================================================
--- config/soft-fp/trunctfdf2.c	(revision 168075)
+++ config/soft-fp/trunctfdf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Truncate IEEE quad into IEEE double
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "double.h"
 #include "quad.h"
 
+DFtype __trunctfdf2(TFtype);
 DFtype __trunctfdf2(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floattisf.c
===================================================================
--- config/soft-fp/floattisf.c	(revision 168075)
+++ config/soft-fp/floattisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit signed integer to IEEE single
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floattisf(TItype);
 SFtype __floattisf(TItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/extendsftf2.c
===================================================================
--- config/soft-fp/extendsftf2.c	(revision 168075)
+++ config/soft-fp/extendsftf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a converted to IEEE quad
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "single.h"
 #include "quad.h"
 
+TFtype __extendsftf2(SFtype);
 TFtype __extendsftf2(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatunsitf.c
===================================================================
--- config/soft-fp/floatunsitf.c	(revision 168075)
+++ config/soft-fp/floatunsitf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit unsigned integer to IEEE quad
-   Copyright (C) 1997,1999, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,8 @@ 
 #include "quad.h"
 
 TFtype
+__floatunsitf(USItype);
+TFtype
 __floatunsitf(USItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/divsf3.c
===================================================================
--- config/soft-fp/divsf3.c	(revision 168075)
+++ config/soft-fp/divsf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a / b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __divsf3(SFtype, SFtype);
 SFtype __divsf3(SFtype a, SFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatundidf.c
===================================================================
--- config/soft-fp/floatundidf.c	(revision 168075)
+++ config/soft-fp/floatundidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit unsigned integer to IEEE double
-   Copyright (C) 1997, 1999, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floatundidf(UDItype);
 DFtype __floatundidf(UDItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/divtf3.c
===================================================================
--- config/soft-fp/divtf3.c	(revision 168075)
+++ config/soft-fp/divtf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a / b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __divtf3(TFtype, TFtype);
 TFtype __divtf3(TFtype a, TFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/trunctfsf2.c
===================================================================
--- config/soft-fp/trunctfsf2.c	(revision 168075)
+++ config/soft-fp/trunctfsf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Truncate IEEE quad into IEEE single
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "single.h"
 #include "quad.h"
 
+SFtype __trunctfsf2(TFtype);
 SFtype __trunctfsf2(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/negdf2.c
===================================================================
--- config/soft-fp/negdf2.c	(revision 168075)
+++ config/soft-fp/negdf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return -a
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __negdf2(DFtype);
 DFtype __negdf2(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/trunctfxf2.c
===================================================================
--- config/soft-fp/trunctfxf2.c	(revision 168075)
+++ config/soft-fp/trunctfxf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Truncate IEEE quad into IEEE extended
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -32,6 +33,7 @@ 
 #include "extended.h"
 #include "quad.h"
 
+XFtype __trunctfxf2(TFtype);
 XFtype __trunctfxf2(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatuntidf.c
===================================================================
--- config/soft-fp/floatuntidf.c	(revision 168075)
+++ config/soft-fp/floatuntidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit unsigned integer to IEEE double
-   Copyright (C) 1997,1999, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floatuntidf(UTItype);
 DFtype __floatuntidf(UTItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatunditf.c
===================================================================
--- config/soft-fp/floatunditf.c	(revision 168075)
+++ config/soft-fp/floatunditf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit unsigned integer to IEEE quad
-   Copyright (C) 1997,1999, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,8 @@ 
 #include "quad.h"
 
 TFtype
+__floatunditf(UDItype);
+TFtype
 __floatunditf(UDItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunssfdi.c
===================================================================
--- config/soft-fp/fixunssfdi.c	(revision 168075)
+++ config/soft-fp/fixunssfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+UDItype __fixunssfdi(SFtype);
 UDItype __fixunssfdi(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/negsf2.c
===================================================================
--- config/soft-fp/negsf2.c	(revision 168075)
+++ config/soft-fp/negsf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return -a
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __negsf2(SFtype);
 SFtype __negsf2(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/negtf2.c
===================================================================
--- config/soft-fp/negtf2.c	(revision 168075)
+++ config/soft-fp/negtf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return -a
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __negtf2(TFtype);
 TFtype __negtf2(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/subdf3.c
===================================================================
--- config/soft-fp/subdf3.c	(revision 168075)
+++ config/soft-fp/subdf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a - b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __subdf3(DFtype, DFtype);
 DFtype __subdf3(DFtype a, DFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/gedf2.c
===================================================================
--- config/soft-fp/gedf2.c	(revision 168075)
+++ config/soft-fp/gedf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+CMPtype __gedf2(DFtype, DFtype);
 CMPtype __gedf2(DFtype a, DFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __gtdf2(DFtype, DFtype);
 strong_alias(__gedf2, __gtdf2);
Index: config/soft-fp/muldf3.c
===================================================================
--- config/soft-fp/muldf3.c	(revision 168075)
+++ config/soft-fp/muldf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a * b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __muldf3(DFtype, DFtype);
 DFtype __muldf3(DFtype a, DFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixsfdi.c
===================================================================
--- config/soft-fp/fixsfdi.c	(revision 168075)
+++ config/soft-fp/fixsfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+DItype __fixsfdi(SFtype);
 DItype __fixsfdi(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatunsisf.c
===================================================================
--- config/soft-fp/floatunsisf.c	(revision 168075)
+++ config/soft-fp/floatunsisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit unsigned integer to IEEE single
-   Copyright (C) 1997, 1999, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floatunsisf(USItype);
 SFtype __floatunsisf(USItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatuntitf.c
===================================================================
--- config/soft-fp/floatuntitf.c	(revision 168075)
+++ config/soft-fp/floatuntitf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit unsigned integer to IEEE quad
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __floatuntitf(UTItype);
 TFtype __floatuntitf(UTItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/eqdf2.c
===================================================================
--- config/soft-fp/eqdf2.c	(revision 168075)
+++ config/soft-fp/eqdf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 otherwise
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+CMPtype __eqdf2(DFtype, DFtype);
 CMPtype __eqdf2(DFtype a, DFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __nedf2(DFtype, DFtype);
 strong_alias(__eqdf2, __nedf2);
Index: config/soft-fp/fixunssfti.c
===================================================================
--- config/soft-fp/fixunssfti.c	(revision 168075)
+++ config/soft-fp/fixunssfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE single to 128bit unsigned integer
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+UTItype __fixunssfti(SFtype);
 UTItype __fixunssfti(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunsdfdi.c
===================================================================
--- config/soft-fp/fixunsdfdi.c	(revision 168075)
+++ config/soft-fp/fixunsdfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+UDItype __fixunsdfdi(DFtype);
 UDItype __fixunsdfdi(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/subsf3.c
===================================================================
--- config/soft-fp/subsf3.c	(revision 168075)
+++ config/soft-fp/subsf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a - b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __subsf3(SFtype, SFtype);
 SFtype __subsf3(SFtype a, SFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/gesf2.c
===================================================================
--- config/soft-fp/gesf2.c	(revision 168075)
+++ config/soft-fp/gesf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+CMPtype __gesf2(SFtype, SFtype);
 CMPtype __gesf2(SFtype a, SFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __gtsf2(SFtype, SFtype);
 strong_alias(__gesf2, __gtsf2);
Index: config/soft-fp/subtf3.c
===================================================================
--- config/soft-fp/subtf3.c	(revision 168075)
+++ config/soft-fp/subtf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a - b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __subtf3(TFtype, TFtype);
 TFtype __subtf3(TFtype a, TFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/getf2.c
===================================================================
--- config/soft-fp/getf2.c	(revision 168075)
+++ config/soft-fp/getf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, -2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+CMPtype __getf2(TFtype, TFtype);
 CMPtype __getf2(TFtype a, TFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __gttf2(TFtype, TFtype);
 strong_alias(__getf2, __gttf2);
Index: config/soft-fp/mulsf3.c
===================================================================
--- config/soft-fp/mulsf3.c	(revision 168075)
+++ config/soft-fp/mulsf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a * b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __mulsf3(SFtype, SFtype);
 SFtype __mulsf3(SFtype a, SFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/multf3.c
===================================================================
--- config/soft-fp/multf3.c	(revision 168075)
+++ config/soft-fp/multf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a * b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __multf3(TFtype, TFtype);
 TFtype __multf3(TFtype a, TFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatsidf.c
===================================================================
--- config/soft-fp/floatsidf.c	(revision 168075)
+++ config/soft-fp/floatsidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit signed integer to IEEE double
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floatsidf(SItype);
 DFtype __floatsidf(SItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixsfti.c
===================================================================
--- config/soft-fp/fixsfti.c	(revision 168075)
+++ config/soft-fp/fixsfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE single to 128bit signed integer
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+TItype __fixsfti(SFtype);
 TItype __fixsfti(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/extenddftf2.c
===================================================================
--- config/soft-fp/extenddftf2.c	(revision 168075)
+++ config/soft-fp/extenddftf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a converted to IEEE quad
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -33,6 +34,7 @@ 
 #include "double.h"
 #include "quad.h"
 
+TFtype __extenddftf2(DFtype);
 TFtype __extenddftf2(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixdfdi.c
===================================================================
--- config/soft-fp/fixdfdi.c	(revision 168075)
+++ config/soft-fp/fixdfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DItype __fixdfdi(DFtype);
 DItype __fixdfdi(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatundisf.c
===================================================================
--- config/soft-fp/floatundisf.c	(revision 168075)
+++ config/soft-fp/floatundisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit unsigned integer to IEEE single
-   Copyright (C) 1997, 1999, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floatundisf(UDItype);
 SFtype __floatundisf(UDItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/eqsf2.c
===================================================================
--- config/soft-fp/eqsf2.c	(revision 168075)
+++ config/soft-fp/eqsf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 otherwise
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+CMPtype __eqsf2(SFtype, SFtype);
 CMPtype __eqsf2(SFtype a, SFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __nesf2(SFtype, SFtype);
 strong_alias(__eqsf2, __nesf2);
Index: config/soft-fp/eqtf2.c
===================================================================
--- config/soft-fp/eqtf2.c	(revision 168075)
+++ config/soft-fp/eqtf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 otherwise
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+CMPtype __eqtf2(TFtype, TFtype);
 CMPtype __eqtf2(TFtype a, TFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __netf2(TFtype, TFtype);
 strong_alias(__eqtf2, __netf2);
Index: config/soft-fp/fixunsdfti.c
===================================================================
--- config/soft-fp/fixunsdfti.c	(revision 168075)
+++ config/soft-fp/fixunsdfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE double to 128bit unsigned integer
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+UTItype __fixunsdfti(DFtype);
 UTItype __fixunsdfti(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunstfdi.c
===================================================================
--- config/soft-fp/fixunstfdi.c	(revision 168075)
+++ config/soft-fp/fixunstfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+UDItype __fixunstfdi(TFtype);
 UDItype __fixunstfdi(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/adddf3.c
===================================================================
--- config/soft-fp/adddf3.c	(revision 168075)
+++ config/soft-fp/adddf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a + b
-   Copyright (C) 1997,1999, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __adddf3(DFtype, DFtype);
 DFtype __adddf3(DFtype a, DFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatsitf.c
===================================================================
--- config/soft-fp/floatsitf.c	(revision 168075)
+++ config/soft-fp/floatsitf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit signed integer to IEEE quad
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __floatsitf(SItype);
 TFtype __floatsitf(SItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatdidf.c
===================================================================
--- config/soft-fp/floatdidf.c	(revision 168075)
+++ config/soft-fp/floatdidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit signed integer to IEEE double
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floatdidf(DItype);
 DFtype __floatdidf(DItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixtfdi.c
===================================================================
--- config/soft-fp/fixtfdi.c	(revision 168075)
+++ config/soft-fp/fixtfdi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 64bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+DItype __fixtfdi(TFtype);
 DItype __fixtfdi(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixdfti.c
===================================================================
--- config/soft-fp/fixdfti.c	(revision 168075)
+++ config/soft-fp/fixdfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE double to 128bit signed integer
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2008, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+TItype __fixdfti(DFtype);
 TItype __fixdfti(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatuntisf.c
===================================================================
--- config/soft-fp/floatuntisf.c	(revision 168075)
+++ config/soft-fp/floatuntisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit unsigned integer to IEEE single
-   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2008, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floatuntisf(UTItype);
 SFtype __floatuntisf(UTItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/extendxftf2.c
===================================================================
--- config/soft-fp/extendxftf2.c	(revision 168075)
+++ config/soft-fp/extendxftf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a converted to IEEE quad
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -32,6 +33,7 @@ 
 #include "extended.h"
 #include "quad.h"
 
+TFtype __extendxftf2(XFtype);
 TFtype __extendxftf2(XFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunssfsi.c
===================================================================
--- config/soft-fp/fixunssfsi.c	(revision 168075)
+++ config/soft-fp/fixunssfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+USItype __fixunssfsi(SFtype);
 USItype __fixunssfsi(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunstfti.c
===================================================================
--- config/soft-fp/fixunstfti.c	(revision 168075)
+++ config/soft-fp/fixunstfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE quad to 128bit unsigned integer
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+UTItype __fixunstfti(TFtype);
 UTItype __fixunstfti(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/addsf3.c
===================================================================
--- config/soft-fp/addsf3.c	(revision 168075)
+++ config/soft-fp/addsf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a + b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __addsf3(SFtype, SFtype);
 SFtype __addsf3(SFtype a, SFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/addtf3.c
===================================================================
--- config/soft-fp/addtf3.c	(revision 168075)
+++ config/soft-fp/addtf3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return a + b
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __addtf3(TFtype, TFtype);
 TFtype __addtf3(TFtype a, TFtype b)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixsfsi.c
===================================================================
--- config/soft-fp/fixsfsi.c	(revision 168075)
+++ config/soft-fp/fixsfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 201
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SItype __fixsfsi(SFtype);
 SItype __fixsfsi(SFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/floattidf.c
===================================================================
--- config/soft-fp/floattidf.c	(revision 168075)
+++ config/soft-fp/floattidf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit signed integer to IEEE double
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+DFtype __floattidf(TItype);
 DFtype __floattidf(TItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/floatditf.c
===================================================================
--- config/soft-fp/floatditf.c	(revision 168075)
+++ config/soft-fp/floatditf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 64bit signed integer to IEEE quad
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __floatditf(DItype);
 TFtype __floatditf(DItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixtfti.c
===================================================================
--- config/soft-fp/fixtfti.c	(revision 168075)
+++ config/soft-fp/fixtfti.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert IEEE quad to 128bit signed integer
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TItype __fixtfti(TFtype);
 TItype __fixtfti(TFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixunsdfsi.c
===================================================================
--- config/soft-fp/fixunsdfsi.c	(revision 168075)
+++ config/soft-fp/fixunsdfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit unsigned integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+USItype __fixunsdfsi(DFtype);
 USItype __fixunsdfsi(DFtype a)
 {
   FP_DECL_EX;
Index: config/soft-fp/unorddf2.c
===================================================================
--- config/soft-fp/unorddf2.c	(revision 168075)
+++ config/soft-fp/unorddf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 1 iff a or b is a NaN, 0 otherwise.
-   Copyright (C) 2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Joseph Myers (joseph@codesourcery.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+CMPtype __unorddf2(DFtype, DFtype);
 CMPtype __unorddf2(DFtype a, DFtype b)
 {
   FP_DECL_D(A); FP_DECL_D(B);
Index: config/soft-fp/floatsisf.c
===================================================================
--- config/soft-fp/floatsisf.c	(revision 168075)
+++ config/soft-fp/floatsisf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 32bit signed integer to IEEE single
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "single.h"
 
+SFtype __floatsisf(SItype);
 SFtype __floatsisf(SItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/ledf2.c
===================================================================
--- config/soft-fp/ledf2.c	(revision 168075)
+++ config/soft-fp/ledf2.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Return 0 iff a == b, 1 iff a > b, 2 iff a ? b, -1 iff a < b
-   Copyright (C) 1997,1999,2006,2007 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+CMPtype __ledf2(DFtype, DFtype);
 CMPtype __ledf2(DFtype a, DFtype b)
 {
   FP_DECL_EX;
@@ -48,4 +50,5 @@ 
   return r;
 }
 
+CMPtype __ltdf2(DFtype, DFtype);
 strong_alias(__ledf2, __ltdf2);
Index: config/soft-fp/floattitf.c
===================================================================
--- config/soft-fp/floattitf.c	(revision 168075)
+++ config/soft-fp/floattitf.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a 128bit signed integer to IEEE quad
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Uros Bizjak (ubizjak@gmail.com).
 
@@ -31,6 +32,7 @@ 
 #include "soft-fp.h"
 #include "quad.h"
 
+TFtype __floattitf(TItype);
 TFtype __floattitf(TItype i)
 {
   FP_DECL_EX;
Index: config/soft-fp/fixdfsi.c
===================================================================
--- config/soft-fp/fixdfsi.c	(revision 168075)
+++ config/soft-fp/fixdfsi.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Software floating-point emulation.
    Convert a to 32bit signed integer
-   Copyright (C) 1997,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2006, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com) and
 		  Jakub Jelinek (jj@ultra.linux.cz).
@@ -32,6 +33,7 @@ 
 #include "soft-fp.h"
 #include "double.h"
 
+SItype __fixdfsi(DFtype);
 SItype __fixdfsi(DFtype a)
 {
   FP_DECL_EX;