config/arch/powerpc-powerpc64.in-common
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 02 21:58:34 2009 +0000 (2009-04-02)
changeset 1287 2a70bb65824e
permissions -rw-r--r--
Speaking of gcc-4.2.1, Ted Jordan writes on 20090401:
The generated libtool for building libstdc++ adds the -nostdlib option to the
g++ command for linking but doesn't add -lgcc. This causes a "hidden symbol"
error when linking against the libstdc++ shared object. This patch adds gcc
to the list of libraries linked against when linking libstdc++.

/trunk/patches/gcc/4.2.1/300-libstdc++-nostdlib-linking.patch | 21 21 0 0 +++++++++++++++++
1 file changed, 21 insertions(+)
     1 # powerpc and powerpc64 common options
     2 
     3 if ARCH_powerpc || ARCH_powerpc64
     4 
     5 config ARCH_POWERPC_SPE
     6     bool
     7     prompt "Enable SPE support"
     8     default n
     9     help
    10       Add support for the Signal Processing Engine.  This will set up
    11       the toolchain so that it supports the SPE ABI extensions. This
    12       mainly targets Freescale e500 processors.
    13 
    14       Setting this option will append "spe" to the end of your target
    15       tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
    16       configure/build system will know to include SPE ABI support.
    17       It will also automatically add "-mabi=spe -mspe" to your
    18       TARGET_CFLAGS, and "--enable-e500_double" to your CC_EXTRA_CONFIG,
    19       so you do not need to explicitly add them.
    20 
    21 endif # ARCH_powerpc || ARCH_powerpc64