Update of /cvsroot/linux-vax/toolchain/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13313
Modified Files:
uclibc-000013-libm-1.patch
Log Message:
- Directly call the final function, don't convert too often.
Index: uclibc-000013-libm-1.patch
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/patches/uclibc-000013-libm-1.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- uclibc-000013-libm-1.patch 9 Nov 2005 23:24:22 -0000 1.1
+++ uclibc-000013-libm-1.patch 16 Nov 2005 11:16:36 -0000 1.2
@@ -16,12 +16,12 @@
+++ src-uclibc-hacked/libm-vax/cosf.c 2005-11-09 23:09:38.000000000 +0100
@@ -0,0 +1,9 @@
+
-+extern double cos (double x);
++extern double cosl (long double x);
+
+float
+cosf (float x)
+{
-+ return cos (x);
++ return cosl (x);
+}
+
diff -Nupr src-uclibc-fresh/libm-vax/cosl.c src-uclibc-hacked/libm-vax/cosl.c
@@ -127,12 +127,12 @@
+++ src-uclibc-hacked/libm-vax/sinf.c 2005-11-09 23:09:38.000000000 +0100
@@ -0,0 +1,9 @@
+
-+extern double sin (double x);
++extern double sinl (long double x);
+
+float
+sinf (float x)
+{
-+ return sin (x);
++ return sinl (x);
+}
+
diff -Nupr src-uclibc-fresh/libm-vax/sinl.c src-uclibc-hacked/libm-vax/sinl.c
|