patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
yann@957
     1
From: http://sourceware.org/ml/crossgcc/2008-10/msg00044.html
yann@957
     2
From: http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html
yann@957
     3
yann@957
     4
2007-06-07  Steven Munroe  <sjmunroe@us.ibm.com>
yann@957
     5
yann@957
     6
    * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
yann@957
     7
yann@957
     8
diff -urN glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile
yann@957
     9
--- glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2006-11-22 09:13:11.000000000 -0600
yann@957
    10
+++ glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2007-06-07 09:53:05.708240976 -0500
yann@957
    11
@@ -6,7 +6,7 @@
yann@957
    12
 endif
yann@957
    13
 
yann@957
    14
 ifeq ($(subdir),math)
yann@957
    15
-libm-support += fenv_const fe_nomask
yann@957
    16
+libm-support += fenv_const
yann@957
    17
 CPPFLAGS += -I../soft-fp/
yann@957
    18
 # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
yann@957
    19
 # "expand_abs wrong default code for floating point"
yann@957
    20
yann@957
    21