patches/binutils/2.17a/200-cross-gprof.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:46:47 2011 +0200 (2011-07-17)
changeset 2892 aa934ec4b4ee
parent 747 d3e603e7c17c
permissions -rw-r--r--
cc/gcc: add the backend/frontend infra for final gcc

Currently, we issue the bare-metal compiler from the pass_1 & pass_2
core compilers, because the final gcc breaks while doing so.

This implies we have to build some libces during the start_files step,
instead of the standard libc step. This is the case for newlib.

By adding a backend/frontend infra to the final gcc, we can abstract
what backend to call: the standard backend for non-bare-metal gcc,
and the core backend for bare-metal.

This patch is just an no-op, it just adds the final backend and
frontend without changing the way bare-metal is built, to come in a
subsequent patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@56
     1
--- binutils-2.17/configure.old	2004-07-21 21:36:47.000000000 -0700
yann@56
     2
+++ binutils-2.17/configure	2004-07-21 21:37:08.000000000 -0700
yann@56
     3
@@ -1022,7 +1022,7 @@
yann@56
     4
 
yann@56
     5
 # Some tools are only suitable for building in a "native" situation.
yann@56
     6
 # Remove these if host!=target.  
yann@56
     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"
yann@56
     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"
yann@56
     9
 
yann@56
    10
 # Similarly, some are only suitable for cross toolchains.
yann@56
    11
 # Remove these if host=target.
yann@56
    12
--- binutils-2.17/configure.in.old	2004-07-21 21:37:19.000000000 -0700
yann@56
    13
+++ binutils-2.17/configure.in	2004-07-21 21:37:34.000000000 -0700
yann@56
    14
@@ -227,7 +227,7 @@
yann@56
    15
 
yann@56
    16
 # Some tools are only suitable for building in a "native" situation.
yann@56
    17
 # Remove these if host!=target.  
yann@56
    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"
yann@56
    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"
yann@56
    20
 
yann@56
    21
 # Similarly, some are only suitable for cross toolchains.
yann@56
    22
 # Remove these if host=target.