[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patches] PowerPC soft-float patches applied



On Fri, 10 Nov 2006, Joseph S. Myers wrote:

> I've applied the PowerPC soft-float patches from Steven Munroe and Joe 
> Kerian in glibc bug 2749 (ppc-ld-nofpu-20060920.txt, 
> ports-ld-nofpu-20060830.txt, ports-ld-delta-20060920.txt) to EGLIBC trunk 
> and EGLIBC 2.5 branch.  (If the FSF glibc maintainers ever review these 
> and we end up with a different version checked in to FSF glibc, we can 
> resync with that version then.)

I've now synced the version on EGLIBC 2.5 with the version checked into 
FSF glibc ports mainline.

Index: sysdeps/powerpc/nofpu/Versions
===================================================================
--- sysdeps/powerpc/nofpu/Versions	(revision 690)
+++ sysdeps/powerpc/nofpu/Versions	(working copy)
@@ -13,5 +13,8 @@
     __floatundidf; __floatundisf;
     __floatunsidf; __floatunsisf;
     __unorddf2; __unordsf2;
+    __nedf2; __nesf2;
+    __gtdf2; __gtsf2;
+    __ltdf2; __ltsf2;
   }
 }
Index: sysdeps/powerpc/nofpu/Makefile
===================================================================
--- sysdeps/powerpc/nofpu/Makefile	(revision 690)
+++ sysdeps/powerpc/nofpu/Makefile	(working copy)
@@ -8,6 +8,12 @@
 ifeq ($(subdir),math)
 libm-support += fenv_const fe_nomask
 CPPFLAGS += -I../soft-fp/
+# The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
+# "expand_abs wrong default code for floating point"
+# As this is not a regression, a fix is not likely to go into
+# gcc-4.1.1 and may be too late for gcc-4.2.  So we need these flags
+# until the fix in a gcc release and glibc drops support for earlier
+# versions of gcc.
 CFLAGS-e_powl.c += -fno-builtin-fabsl
 CFLAGS-s_ccoshl.c += -fno-builtin-fabsl
 CFLAGS-s_csinhl.c += -fno-builtin-fabsl
Index: sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies
===================================================================
--- sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies	(revision 690)
+++ sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies	(working copy)
@@ -1 +1,2 @@
+powerpc/nofpu
 powerpc/soft-fp
Index: ChangeLog.eglibc
===================================================================
--- ChangeLog.eglibc	(revision 690)
+++ ChangeLog.eglibc	(working copy)
@@ -1,3 +1,9 @@
+2006-12-05  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/nofpu/Makefile, sysdeps/powerpc/nofpu/Versions,
+	sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Resync
+	with FSF glibc ports mainline.
+
 2006-11-14  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/powerpc/nofpu/libm-test-ulps: Add more ULPs.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx