patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:29:35 2011 +0200 (2011-07-17)
changeset 2926 d304c8a7bfa8
permissions -rw-r--r--
binutils: split binutils to backend/frontend, a-la cc_core

Move the actual binutils code to a backend function that builds the
required combo of build/host/target as requested by a frontend.

This split is currently a no-op, but is required for the upcoming
canadian-cross rework, where we'll be needing to build two binutils,
one for build/build/target, and one for build/host/target.

This applies to the three binutils:
- GNU binutils
- elf2flt
- sstrip

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 From: http://sourceware.org/ml/crossgcc/2008-10/msg00044.html
     2 From: http://sources.redhat.com/ml/libc-ports/2007-06/msg00005.html
     3 
     4 2007-06-07  Steven Munroe  <sjmunroe@us.ibm.com>
     5 
     6     * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
     7 
     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
     9 --- glibc-2.6.orig/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2006-11-22 09:13:11.000000000 -0600
    10 +++ glibc-2.6/glibc-ports-2.6.1/sysdeps/powerpc/nofpu/Makefile	2007-06-07 09:53:05.708240976 -0500
    11 @@ -6,7 +6,7 @@
    12  endif
    13  
    14  ifeq ($(subdir),math)
    15 -libm-support += fenv_const fe_nomask
    16 +libm-support += fenv_const
    17  CPPFLAGS += -I../soft-fp/
    18  # The follow CFLAGS are a work around for GCC Bugzilla Bug 29253
    19  # "expand_abs wrong default code for floating point"
    20 
    21