config/arch/powerpc.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 31 11:00:35 2011 +0200 (2011-08-31)
changeset 2669 0e00e4fda2ea
parent 2467 200836977ce6
child 2675 7c288c777455
permissions -rw-r--r--
libc/uClibc: add patch to fix fork in threads with ARM EABI

uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace
is enabled. As this is not the default, provide a workaround to disable linking
with libgcc_eh.a if libubacktrace is not selected.

This will however still break if uClibc is configured to enable libubacktrace,
but it requires a fix in gcc, and we can take care of that later.

Reported-by: Grant Edwards <grant.b.edwards@gmail.com>
Reported-by: Tor Krill <tor@codeknot.com>
Tested-by: Tor Krill <tor@codeknot.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # powerpc specific configuration file
     2 
     3 config ARCH_POWERPC_SPE
     4     bool
     5     prompt "Enable SPE support"
     6     help
     7       Add support for the Signal Processing Engine.  This will set up
     8       the toolchain so that it supports the SPE ABI extensions. This
     9       mainly targets Freescale e500 processors.
    10       
    11       Setting this option will append "spe" to the end of your target
    12       tuple name (e.g., powerpc-e500v2-linux-gnuspe) so that the gcc
    13       configure/build system will know to include SPE ABI support. It
    14       will also automatically add "-mabi=spe -mspe" to your TARGET_CFLAGS,
    15       and "--enable-e500_double" to your CC_EXTRA_CONFIG_ARRAY, so you
    16       do not need to explicitly add them.