patches/binutils/2.17a/200-cross-gprof.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
parent 747 d3e603e7c17c
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 --- binutils-2.17/configure.old	2004-07-21 21:36:47.000000000 -0700
     2 +++ binutils-2.17/configure	2004-07-21 21:37:08.000000000 -0700
     3 @@ -1022,7 +1022,7 @@
     4  
     5  # Some tools are only suitable for building in a "native" situation.
     6  # Remove these if host!=target.  
     7 -native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
     8 +native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
     9  
    10  # Similarly, some are only suitable for cross toolchains.
    11  # Remove these if host=target.
    12 --- binutils-2.17/configure.in.old	2004-07-21 21:37:19.000000000 -0700
    13 +++ binutils-2.17/configure.in	2004-07-21 21:37:34.000000000 -0700
    14 @@ -227,7 +227,7 @@
    15  
    16  # Some tools are only suitable for building in a "native" situation.
    17  # Remove these if host!=target.  
    18 -native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff gprof target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
    19 +native_only="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
    20  
    21  # Similarly, some are only suitable for cross toolchains.
    22  # Remove these if host=target.