samples/powerpc-e500v2-linux-gnuspe/reported.by
author Bryan Hundven <bryanhundven@gmail.com>
Thu Dec 09 18:55:59 2010 +0100 (2010-12-09)
changeset 2212 a2f4986779bf
parent 2139 983823b3b569
child 2290 ba82eb173bd4
permissions -rw-r--r--
cc/gcc: build bare-metal gcc statically

- add a new parameter to do_cc_core: build_statically=[yes|no]
- pass build_statically=yes in core_pass_2 when doing bare_metal
- fix handling the static / static libstdc++ / static complibs stuff
- add a commment to keep both blocks (in core and final) in sync

Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 reporter_name="Anthony Foiani <anthony.foiani@gmail.com>"
     2 reporter_url="http://sourceware.org/ml/crossgcc/2010-09/msg00100.html"
     3 reporter_comment="
     4 This is a sample config file for Freescale e500v2 processors (e.g., MPC8548,
     5 MPC8572). It uses eglibc (for e500/SPE patches) and a recent gcc (4.5.1,
     6 for e500v2 DPFP support) and will generate appropriate dual-precision
     7 floating point instructions by default.
     8 
     9 Note: If building a Linux kernel with this toolchain, you will want to make
    10 sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE ABI/instructions
    11 from getting into the kernel (which is currently unsupported). At this time,
    12 the kernel build system properly passes those two options, but older kernels
    13 were only passing -mno-spe by default."